gumbo.util.relation
Class TreeNodes.Tree

java.lang.Object
  |
  +--gumbo.util.AbstractDisposable
        |
        +--gumbo.util.relation.Relationship
              |
              +--gumbo.util.relation.TreeNodes.Tree
All Implemented Interfaces:
Disposable, java.io.Serializable
Direct Known Subclasses:
TestTree, TreeNodes.GlobalTree, WholeModel.GlobalWholeTree
Enclosing class:
TreeNodes

public static class TreeNodes.Tree
extends Relationship

A relationship whose relations are tree nodes.

See Also:
Serialized Form

Constructor Summary
TreeNodes.Tree()
           
 
Method Summary
protected  void checkRelation(Relation relation)
          Called by the system to check added relations and their delegators for compatibility with this relationship.
 
Methods inherited from class gumbo.util.relation.Relationship
getAddedConnectionOut, getAddedRelationOut, getRelations, getRemovingConnectionOut, getRemovingRelationOut, implAddedConnection, implAddRelation, implDispose, implRemoveRelation, implRemovingConnection, toString
 
Methods inherited from class gumbo.util.AbstractDisposable
dispose, isDisposed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TreeNodes.Tree

public TreeNodes.Tree()
Method Detail

checkRelation

protected void checkRelation(Relation relation)
Description copied from class: Relationship
Called by the system to check added relations and their delegators for compatibility with this relationship. Typically, all relations in a relationship are the same basic type (such as IntersectionTreeNode). Implementors should throw an exception if the relation or its delegator is incompatible. Implementors can assume that null relation or delegator, duplication of relation or delegator, and the relation's relationship have already been checked.

Specified by:
checkRelation in class Relationship
Parameters:
relation - The relation. Never null.