Interface StockNode

All Superinterfaces:
Containable, Identifiable, OsidNode

public interface StockNode 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 StockHierarchySession .

  • Method Details

    • getStock

      Stock getStock()
      Gets the Stock at this node.
      Returns:
      the stock represented by this node
      Compliance:
      mandatory - This method must be implemented.
    • getParentStockNodes

      StockNodeList getParentStockNodes()
      Gets the parents of this stock.
      Returns:
      the parents of this stock
      Compliance:
      mandatory - This method must be implemented.
    • getChildStockNodes

      StockNodeList getChildStockNodes()
      Gets the children of this stock.
      Returns:
      the children of this stock
      Compliance:
      mandatory - This method must be implemented.