Interface ClientCollectionValue<T extends ClientValue>
- Type Parameters:
T- The actual ODataValue interface.
- All Superinterfaces:
ClientValue,Iterable<T>
OData collection property value.
-
Method Summary
Modifier and TypeMethodDescriptionadd(ClientValue value) Adds a value to the collection.Converts this instance as POJO collection.booleanisEmpty()Checks if collection is empty.intsize()Gets collection size.Methods inherited from interface org.apache.olingo.client.api.domain.ClientValue
asCollection, asComplex, asEnum, asPrimitive, getTypeName, isCollection, isComplex, isEnum, isPrimitiveMethods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
Method Details
-
add
Adds a value to the collection.- Parameters:
value- value to be added.
-
isEmpty
boolean isEmpty()Checks if collection is empty.- Returns:
- 'TRUE' if empty; 'FALSE' otherwise.
-
size
int size()Gets collection size.- Returns:
- collection size.
-
asJavaCollection
Collection<Object> asJavaCollection()Converts this instance as POJO collection.- Returns:
- this instance as POJO collection
-