oracle.jdeveloper.jot
Interface JotNameable
- All Known Subinterfaces:
- JotAnonymousClass, JotClass, JotConstructor, JotField, JotInnerClass, JotLocalClass, JotLocalVariable, JotMethod, JotParameter, JotVariable
- public interface JotNameable
The JotNameable interface represents JOT objects that can have names.
Method Summary |
java.lang.String |
getName()
Retrieves the name of this member. |
void |
setName(java.lang.String name)
Sets the name of this member. |
getName
public java.lang.String getName()
throws JotInvalidElementException
- Retrieves the name of this member.
-
- Returns:
- a string representing a Java name.
- Throws:
JotInvalidElementException
setName
public void setName(java.lang.String name)
throws JotInvalidElementException,
JotException
- Sets the name of this member.
-
- Parameters:
name
- the new name of this member.
- Throws:
JotInvalidElementException
JotException
Copyright © 1997, 2004, Oracle. All rights reserved.