gumbo.util.relation
Class TestTreeNode
java.lang.Object
|
+--gumbo.util.AbstractDisposable
|
+--gumbo.util.AbstractDelegatable
|
+--gumbo.util.AbstractDelegatable.Serial
|
+--gumbo.util.relation.AbstractRelation
|
+--gumbo.util.relation.AbstractTreeNode
|
+--gumbo.util.relation.TestTreeNode
- All Implemented Interfaces:
- Delegatable, Disposable, Relation, java.io.Serializable, TreeNode
- public class TestTreeNode
- extends AbstractTreeNode
Serializable object intended as a tree node. Identity is
that of an ID string so that relation equivalence can be determined even
after serialization.
- Version:
- $Revision: 1.1 $
- Author:
- Jon Barrilleaux (jonb@jmbaai.com) of JMB and Associates Inc.
- See Also:
- Serialized Form
Methods inherited from class gumbo.util.relation.AbstractTreeNode |
addChild, addChild, checkAddChild, checkChild, checkParent, checkRemoveChild, checkSetParent, findTreeNode, getChildren, getChildrenGroup, getParent, getTreeNode, hasChildren, implDispose, implReadConnections, implSetParent, implWriteConnections, newChildrenStore, removeChild |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
TestTreeNode
public TestTreeNode(java.lang.String id,
Relationship relationship)
getId
public java.lang.String getId()
toString
public java.lang.String toString()
- Overrides:
toString
in class AbstractTreeNode
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object