-
-
Field Summary
Fields inherited from interface com.gooddata.sdk.model.executeafm.result.Data
NULL
-
Constructor Summary
Constructors
Creates new instance of given list of data
-
Method Summary
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, equals, forEach, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
Methods inherited from interface com.gooddata.sdk.model.executeafm.result.Data
isNull
-
Constructor Details
-
DataList
Creates new instance of given list of data
- Parameters:
values - list to use as values, can't be null
-
Method Details
-
isList
public boolean isList()
- Specified by:
isList in interface Data
- Returns:
- true if this instance is of kind list, false otherwise
-
isValue
public boolean isValue()
- Specified by:
isValue in interface Data
- Returns:
- true if this instance is of kind value, false otherwise
-
textValue
- Specified by:
textValue in interface Data
- Returns:
- text data value, throws exception for data which can't be represented as text
-
asList
- Specified by:
asList in interface Data
- Returns:
- this instance cast to List, may throw exception if this instance is not of kind list.
-