Interface ResourceNode

All Superinterfaces:
Containable, Identifiable, OsidNode

public interface ResourceNode 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 BinHierarchySession .

  • Method Details

    • getResource

      Resource getResource()
      Gets the Resource at this node.
      Returns:
      the resource represented by this node
      Compliance:
      mandatory - This method must be implemented.
    • getParentResourceNodes

      ResourceNodeList getParentResourceNodes()
      Gets the parents of this resource.
      Returns:
      the parents of the resource
      Compliance:
      mandatory - This method must be implemented.
    • getChildResourceNodes

      ResourceNodeList getChildResourceNodes()
      Gets the children of this resource.
      Returns:
      the children of this resource
      Compliance:
      mandatory - This method must be implemented.