Interface Node

All Superinterfaces:
Containable, Identifiable, OsidNode

public interface Node 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 hierarchy traversal session.

  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the children of this node.
    Gets the parents of this node.

    Methods inherited from interface Containable

    isSequestered
    Modifier and Type
    Method
    Description
    boolean
    Tests if this Containable is sequestered in that it should not appear outside of its aggregated composition.

    Methods inherited from interface Identifiable

    getId, isCurrent
    Modifier and Type
    Method
    Description
    Gets the Id associated with this instance of this OSID object.
    boolean
    Tests to see if the last method invoked retrieved up-to-date data.

    Methods inherited from interface OsidNode

    getChildIds, getParentIds, hasChildren, hasParents, isLeaf, isRoot
    Modifier and Type
    Method
    Description
    Gets the children of this node.
    Gets the parents of this node.
    boolean
    Tests if any children are available in this node structure.
    boolean
    Tests if any parents are available in this node structure.
    boolean
    Tests if this node is a leaf in the hierarchy (has no children).
    boolean
    Tests if this node is a root in the hierarchy (has no parents).
  • Method Details

    • getParents

      NodeList getParents()
      Gets the parents of this node.
      Returns:
      the parents of this node
      Compliance:
      mandatory - This method must be implemented.
    • getChildren

      NodeList getChildren()
      Gets the children of this node.
      Returns:
      the children of this node
      Compliance:
      mandatory - This method must be implemented.