Extension SDK 9.0.5

oracle.jdeveloper.jot
Interface JotParameter

All Superinterfaces:
JotCodeElement, JotElement, JotHasModifiers, JotNameable

public interface JotParameter
extends JotHasModifiers, JotNameable, JotCodeElement

The JotParameter represents a method or catch clause parameter. A parameter has a type and a name. Paramters may also have the final modifier.

Since:
5.0

Method Summary
 JotType getType()
          Retrieves the type of this parameter.
 void setType(java.lang.String newType)
          Sets the base type of this parameter.
 
Methods inherited from interface oracle.jdeveloper.jot.JotHasModifiers
getModifiers, getModifierText, setModifiers, setModifierText
 
Methods inherited from interface oracle.jdeveloper.jot.JotNameable
getName, setName
 
Methods inherited from interface oracle.jdeveloper.jot.JotCodeElement
addPrecedingComment, childrenContainErrors, delete, getContainingJotFile, getLeftWhitespace, getLength, getRightWhitespace, isInError, isSource, setLeftWhitespace, setRightWhitespace
 
Methods inherited from interface oracle.jdeveloper.jot.JotElement
getChildren, getContainedElements, getElementName, getElementType, getEndOffset, getID, getJotWorkArea, getParent, getStartOffset, isExistent, isReadOnly, isStructureKnown, setParent
 

Method Detail

getType

public JotType getType()
                throws JotInvalidElementException
Retrieves the type of this parameter.

Returns:
the JOT representation of a java type.
Throws:
JotInvalidElementException

setType

public void setType(java.lang.String newType)
             throws JotInvalidElementException,
                    JotException
Sets the base type of this parameter.

Parameters:
newType - the new type for this paramter.
Throws:
JotException - if this parameter's type cannot be modified.
JotInvalidElementException

Extension SDK

 

Copyright © 1997, 2004, Oracle. All rights reserved.