Package jadex.rules.tools.stateviewer
Class OAVTreeModel.ObjectNode
- java.lang.Object
- 
- jadex.rules.tools.stateviewer.OAVTreeModel.ObjectNode
 
- 
- Enclosing class:
- OAVTreeModel
 
 public class OAVTreeModel.ObjectNode extends java.lang.ObjectA node representing an object.
- 
- 
Field SummaryFields Modifier and Type Field Description protected java.util.ListchildrenThe children.protected intnodeUUIDA unique id for this nodeprotected java.lang.ObjectobjectThe object.protected java.lang.ObjectparentThe parent node (attribute or root node).protected java.lang.Object[]pathThe path from the root node to this node.
 - 
Constructor SummaryConstructors Constructor Description ObjectNode(java.lang.Object parent, java.lang.Object object)Create a new object node.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddrop()Unregister a node and its subnodes.booleanequals(java.lang.Object obj)protected booleanequals(java.lang.Object obj, boolean checkUUID)This method can be used to do a sematically equals check.java.util.ListgetChildren()Get the children of this node.java.lang.Object[]getPath()Get the path of this node (inclusive) starting from the root node.inthashCode()java.lang.StringtoString()Create a string representation of the attribute node.
 
- 
- 
- 
Field Detail- 
objectprotected java.lang.Object object The object.
 - 
parentprotected java.lang.Object parent The parent node (attribute or root node).
 - 
childrenprotected java.util.List children The children.
 - 
pathprotected java.lang.Object[] path The path from the root node to this node.
 - 
nodeUUIDprotected int nodeUUID A unique id for this node
 
- 
 - 
Method Detail- 
getChildrenpublic java.util.List getChildren() Get the children of this node.
 - 
getPathpublic java.lang.Object[] getPath() Get the path of this node (inclusive) starting from the root node.
 - 
droppublic void drop() Unregister a node and its subnodes.
 - 
toStringpublic java.lang.String toString() Create a string representation of the attribute node.- Overrides:
- toStringin class- java.lang.Object
- Returns:
- A string representation of the attribute node.
 
 - 
equalsprotected boolean equals(java.lang.Object obj, boolean checkUUID)This method can be used to do a sematically equals check. E.g. check only the fields, not the unique identifier.- Parameters:
- obj- Object to test for equals
- checkUUID- flag to check the unique Identifier for the node.
 true=do a compete equals check
 false=do a sematically equals check
 
 - 
equalspublic boolean equals(java.lang.Object obj) - Overrides:
- equalsin class- java.lang.Object
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- java.lang.Object
 
 
- 
 
-