|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TreeNode
This interface represents a single entry on a hierarchical system.
Method Summary | |
---|---|
int |
compareTo(java.lang.Object par1)
Compares this object to another. |
boolean |
equals(java.lang.Object par1)
Returns true if the specified object is semantically equal to this instance. |
boolean |
exists()
Return whether this TreeNode represents an existing resource. |
java.lang.String |
getFullName()
Obtain the full name of the TreeNode which is unique within the TreeView. |
java.lang.String |
getName()
Obtain the name of this TreeNode. |
java.lang.String |
getNamespace()
Obtain the namespace to which this tree node belongs. |
java.lang.String |
getSeparator()
Obtain the character (as a String) that is used to separate names in a path sequence for the abstract path. |
char |
getSeparatorChar()
Obtain the character that is used to separate names in a path sequence for the abstract path. |
ObjectDefinition |
getType()
Get this type for this tree node. |
boolean |
isModified()
Return whether this node has undergone changes. |
java.lang.String |
toString()
Return the string form of this TreeNode. |
Method Detail |
---|
boolean exists()
java.lang.String getName()
java.lang.String getFullName()
java.lang.String getNamespace()
ObjectDefinition getType()
char getSeparatorChar()
java.lang.String getSeparator()
boolean isModified()
int compareTo(java.lang.Object par1)
Note: this method is consistent with
equals()
, meaning that
(compare(x, y)==0) == (x.equals(y))
.
compareTo
in interface java.lang.Comparable
obj
- the object that this instance is to be compared to.
java.lang.IllegalArgumentException
- if the specified object reference is null
java.lang.ClassCastException
- if the specified object's type prevents it
from being compared to this instance.boolean equals(java.lang.Object par1)
compareTo()
.
equals
in class java.lang.Object
obj
- the object that this instance is to be compared to.
java.lang.String toString()
toString
in class java.lang.Object
getPath
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |