java.lang.Object
com.tccc.kos.ext.dispense.pipeline.beverage.graph.Availability

public class Availability extends Object
Availability information for a given node in the beverage graph.

This exposes the following information:

  • visible : True if the entity is visible, false if not visible.
  • available : True if the entity is available. In the case of a beverage this indicates the beverage is available to pour. In the case of a brand or group this indicates the brand or group contains at least one available beverage.
Since:
1.0
Version:
2023-02-07
  • Constructor Details

    • Availability

      public Availability(GraphNode node)
  • Method Details

    • getId

      public String getId()
      Returns the node's ID.
    • getAltId

      public String getAltId()
      Returns the node's altId.
    • isVisible

      public boolean isVisible()
      Returns the node's visibility.
    • isAvailable

      public boolean isAvailable()
      Returns the node's availability.
    • getTaggedIds

      public List<String> getTaggedIds()
      Return the list of tagged id's for this node. These are id's that are somehow related to this node.
    • getNote

      public String getNote()
      Bubble up node note field
    • getClientData

      public com.tccc.kos.commons.util.json.JsonViewWrapper getClientData()
      Returns the node's client data.
    • getNode

      public GraphNode getNode()
      Returns the underlying node.