Interface RepositoryNode

All Superinterfaces:
Containable, Identifiable, OsidNode

public interface RepositoryNode 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 RepositoryHierarchySession .

  • Method Details

    • getRepository

      Repository getRepository()
      Gets the Repository at this node.
      Returns:
      the repository represented by this node
      Compliance:
      mandatory - This method must be implemented.
    • getParentRepositoryNodes

      RepositoryNodeList getParentRepositoryNodes()
      Gets the parents of this repository.
      Returns:
      the parents of the id
      Compliance:
      mandatory - This method must be implemented.
    • getChildRepositoryNodes

      RepositoryNodeList getChildRepositoryNodes()
      Gets the children of this repository.
      Returns:
      the children of this repository
      Compliance:
      mandatory - This method must be implemented.