Interface OntologyNode

All Superinterfaces:
Containable, Identifiable, OsidNode

public interface OntologyNode extends 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 Details

    • getOntology

      Ontology getOntology()
      Gets the Ontology at 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.