T - the type of objects in this nodeI - the type of instances of this nodepublic class OrphanTypeNode<T extends ElkObject,I extends ElkObject> extends OrphanNode<T> implements TypeNode<T,I>
OrphanNode with instances| Constructor and Description |
|---|
OrphanTypeNode(Set<T> types,
T canonicalType,
int estimatedInstanceNodes) |
| Modifier and Type | Method and Description |
|---|---|
void |
addInstanceNode(OrphanInstanceNode<T,I> instaneNode) |
Set<? extends OrphanInstanceNode<T,I>> |
getAllInstanceNodes()
Get an unmodifiable set of
InstanceNodes that are (possibly
indirect) instances of this TypeNode. |
Set<? extends TypeNode<T,I>> |
getAllSubNodes()
Computes an unmodifiable set of nodes for ElkObjects that are (possibly
indirect) sub-objects of members of this Node.
|
Set<? extends TypeNode<T,I>> |
getAllSuperNodes()
Computes an unmodifiable set of nodes for ElkObjects that are (possibly
indirect) super-objects of members of this Node.
|
Set<? extends OrphanInstanceNode<T,I>> |
getDirectInstanceNodes()
Get an unmodifiable set of
InstanceNodes that are direct
instances of this TypeNode. |
Set<? extends TypeNode<T,I>> |
getDirectSubNodes()
Get an unmodifiable set of nodes for ElkObjects that are direct
sub-objects of this Node.
|
Set<? extends TypeNode<T,I>> |
getDirectSuperNodes()
Get an unmodifiable set of nodes for ElkObjects that are direct
super-objects of this Node.
|
getCanonicalMember, getMembersclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCanonicalMember, getMemberspublic void addInstanceNode(OrphanInstanceNode<T,I> instaneNode)
public Set<? extends TypeNode<T,I>> getDirectSuperNodes()
TaxonomyNodegetDirectSuperNodes in interface TaxonomyNode<T extends ElkObject>getDirectSuperNodes in interface TypeNode<T extends ElkObject,I extends ElkObject>getDirectSuperNodes in class OrphanNode<T extends ElkObject>public Set<? extends TypeNode<T,I>> getAllSuperNodes()
TaxonomyNodegetAllSuperNodes in interface TaxonomyNode<T extends ElkObject>getAllSuperNodes in interface TypeNode<T extends ElkObject,I extends ElkObject>getAllSuperNodes in class OrphanNode<T extends ElkObject>public Set<? extends TypeNode<T,I>> getDirectSubNodes()
TaxonomyNodegetDirectSubNodes in interface TaxonomyNode<T extends ElkObject>getDirectSubNodes in interface TypeNode<T extends ElkObject,I extends ElkObject>getDirectSubNodes in class OrphanNode<T extends ElkObject>public Set<? extends TypeNode<T,I>> getAllSubNodes()
TaxonomyNodegetAllSubNodes in interface TaxonomyNode<T extends ElkObject>getAllSubNodes in interface TypeNode<T extends ElkObject,I extends ElkObject>getAllSubNodes in class OrphanNode<T extends ElkObject>public Set<? extends OrphanInstanceNode<T,I>> getDirectInstanceNodes()
TypeNodeInstanceNodes that are direct
instances of this TypeNode. An InstanceNode is a direct
instance of a TypeNode if it is an instance of the
TypeNode and not an instance of any sub-node of a
TypeNode.public Set<? extends OrphanInstanceNode<T,I>> getAllInstanceNodes()
TypeNodeInstanceNodes that are (possibly
indirect) instances of this TypeNode.Copyright © 2011-2015 Department of Computer Science, University of Oxford. All Rights Reserved.