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

Nested Class Summary
 
Nested classes inherited from class gumbo.util.relation.AbstractTreeNode
AbstractTreeNode.Auto, AbstractTreeNode.Global
 
Nested classes inherited from class gumbo.util.AbstractDelegatable
AbstractDelegatable.Serial
 
Constructor Summary
TestTreeNode(java.lang.String id, Relationship relationship)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getId()
           
 int hashCode()
           
 java.lang.String toString()
           
 
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 gumbo.util.relation.AbstractRelation
canFindRelation, checkClearedRelationship, checkRelation, checkSettingRelationship, findRelation, getAddedConnectionOut, getRelationship, getRemovingConnectionOut, initedDelegator, setRelationship
 
Methods inherited from class gumbo.util.AbstractDelegatable
getDelegator, initDelegator, initingDelegator, isDelegatorInited
 
Methods inherited from class gumbo.util.AbstractDisposable
dispose, isDisposed
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface gumbo.util.relation.Relation
canFindRelation, findRelation, getAddedConnectionOut, getRelationship, getRemovingConnectionOut, setRelationship
 
Methods inherited from interface gumbo.util.Disposable
dispose, isDisposed
 
Methods inherited from interface gumbo.util.Delegatable
getDelegator, initDelegator, isDelegatorInited
 

Constructor Detail

TestTreeNode

public TestTreeNode(java.lang.String id,
                    Relationship relationship)
Method Detail

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