Interface ContentQueryItem<VALUE,ACTION>
-
- All Known Subinterfaces:
ContentQueryItemAction
,ContentQueryItemActionCico
,ContentQueryItemDate
,ContentQueryItemDocumentReference
,ContentQueryItemFile
,ContentQueryItemNumber
,ContentQueryItemObject<T>
,ContentQueryItemObjectReference
,ContentQueryItemString
,ContentQueryItemUserReference
,ContentQueryItemXml
public interface ContentQueryItem<VALUE,ACTION>
An item returned from a ContentQuery select-statement.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ACTION
getAction()
Returns the action of the item, or null if there is no action.List<ACTION>
getActions()
Returns a list of actions of the item.String
getAsString()
Returns a string representation of the item, suitable for showing to the end user.VALUE
getValue()
Returns the value of the item, or null if there is no value.List<VALUE>
getValues()
Returns a list of values of the item.
-
-
-
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
-
-