- All Implemented Interfaces:
- Disposable, java.io.Serializable
- Direct Known Subclasses:
- TestTree, TreeNodes.GlobalTree, WholeModel.GlobalWholeTree
- Enclosing class:
- public static class TreeNodes.Tree
- extends Relationship
A relationship whose relations are tree nodes.
- See Also:
- Serialized Form
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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
protected void checkRelation(Relation relation)
- Description copied from class:
- 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
relation - The relation. Never null.