oracle.jdeveloper.jot
Interface JotParameter
- All Superinterfaces:
- JotElement, JotHasModifiers, JotNameable
- public interface JotParameter
- extends JotHasModifiers, JotNameable, JotElement
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.JotElement |
getElementName, getElementType, getEndOffset, getID, getJotWorkArea, getParent, getStartOffset, isExistent, isReadOnly, isStructureKnown, setParent |
getType
public JotType getType()
- Retrieves the type of this parameter.
- Returns:
- the JOT representation of a java type.
setType
public void setType(java.lang.String newType)
throws 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.