public class OAVTreeModel.AttributeNode
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected jadex.rules.state.OAVAttributeType |
attribute
The attribute.
|
protected java.util.List |
children
The children.
|
protected int |
nodeUUID
A unique id for this node
|
protected OAVTreeModel.ObjectNode |
parent
The object node.
|
protected java.lang.Object[] |
path
The path from the root node to this node.
|
Constructor and Description |
---|
AttributeNode(OAVTreeModel.ObjectNode parent,
jadex.rules.state.OAVAttributeType attribute)
Create a new attribute node.
|
Modifier and Type | Method and Description |
---|---|
void |
drop()
Unregister a node and its subnodes.
|
boolean |
equals(java.lang.Object obj) |
protected boolean |
equals(java.lang.Object obj,
boolean checkUUID) |
java.util.List |
getChildren()
Get the children of this node.
|
java.lang.Object[] |
getPath()
Get the path of this node (inclusive) starting from the root node.
|
int |
hashCode() |
java.lang.String |
toString()
Create a string representation of the attribute node.
|
protected jadex.rules.state.OAVAttributeType attribute
protected OAVTreeModel.ObjectNode parent
protected java.util.List children
protected java.lang.Object[] path
protected int nodeUUID
public AttributeNode(OAVTreeModel.ObjectNode parent, jadex.rules.state.OAVAttributeType attribute)
parent
- The parent.attribute
- The attribute.public java.util.List getChildren()
public java.lang.Object[] getPath()
public void drop()
public java.lang.String toString()
toString
in class java.lang.Object
protected boolean equals(java.lang.Object obj, boolean checkUUID)
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object