Class Availability
java.lang.Object
com.tccc.kos.ext.dispense.pipeline.beverage.graph.Availability
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAltId()
Returns the node's altId.com.tccc.kos.commons.util.json.JsonViewWrapper
Returns the node's client data.getId()
Returns the node's ID.getNode()
Returns the underlying node.getNote()
Bubble up node note fieldReturn the list of tagged id's for this node.boolean
Returns the node's availability.boolean
Returns the node's visibility.
-
Constructor Details
-
Availability
-
-
Method Details
-
getId
Returns the node's ID. -
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
Return the list of tagged id's for this node. These are id's that are somehow related to this node. -
getNote
Bubble up node note field -
getClientData
public com.tccc.kos.commons.util.json.JsonViewWrapper getClientData()Returns the node's client data. -
getNode
Returns the underlying node.
-