Interface OntologyNode
- All Superinterfaces:
Containable, Identifiable, OsidNode
This interface is a container for a partial hierarchy retrieval. The
number of hierarchy levels traversable through this interface depend on
the number of levels requested in the OntologyHierarchySession .
-
Method Summary
Modifier and TypeMethodDescriptionGets the children of this ontology.Gets theOntologyat this node.Gets the parents of this ontology.Methods inherited from interface Containable
isSequesteredModifier and TypeMethodDescriptionbooleanTests if thisContainableis sequestered in that it should not appear outside of its aggregated composition.Methods inherited from interface Identifiable
getId, isCurrentMethods inherited from interface OsidNode
getChildIds, getParentIds, hasChildren, hasParents, isLeaf, isRootModifier and TypeMethodDescriptionGets the children of this node.Gets the parents of this node.booleanTests if any children are available in this node structure.booleanTests if any parents are available in this node structure.booleanisLeaf()Tests if this node is a leaf in the hierarchy (has no children).booleanisRoot()Tests if this node is a root in the hierarchy (has no parents).
-
Method Details
-
getOntology
Ontology getOntology()Gets theOntologyat this node.- Returns:
- the ontology represented by this node
- Compliance:
mandatory- This method must be implemented.
-
getParentOntologyNodes
OntologyNodeList getParentOntologyNodes()Gets the parents of this ontology.- Returns:
- the parents of the
id - Compliance:
mandatory- This method must be implemented.
-
getChildOntologyNodes
OntologyNodeList getChildOntologyNodes()Gets the children of this ontology.- Returns:
- the children of this ontology
- Compliance:
mandatory- This method must be implemented.
-