Interface ContentQueryItem<VALUE,​ACTION>

    • Method Detail

      • getValue

        VALUE getValue()
        Returns the value of the item, or null if there is no value. If the item has multiple values, this function will throw an exception.
        Returns:
        the value of the item
      • getValues

        List<VALUE> getValues()
        Returns a list of values of the item. If the item has no value, an empty list will be returned.
        Returns:
        a list of values of the item
      • getAction

        ACTION getAction()
        Returns the action of the item, or null if there is no action. If the item has multiple values, this function will throw an exception.
        Returns:
        the action of the item
      • getActions

        List<ACTION> getActions()
        Returns a list of actions of the item. If the item has no action, an empty list will be returned.
        Returns:
        a list of actions of the item
      • getAsString

        String getAsString()
        Returns a string representation of the item, suitable for showing to the end user.
        Returns:
        a string representation of the item