Package com.appiancorp.suiteapi.common
Class TreeNode
java.lang.Object
com.appiancorp.suiteapi.common.TreeNode
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
Tree
Represents a node in tree without relationships to other nodes.
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
_id
-
_name
-
_data
-
-
Constructor Details
-
TreeNode
public TreeNode()
-
-
Method Details
-
getId
Get the local id for this node.- Returns:
- gets the id
-
setId
Set the local id for this node.- Parameters:
p_
- the id to set
-
getName
Get the name for this node.- Returns:
- the name for this node
-
setName
Set the name for this node.- Parameters:
p_
- the name to set
-
getData
Get any data associated with this node.- Returns:
- the data assocaited with the node
-
setData
Set any data associated with this node.- Parameters:
data_
- the data to set
-