Interface ClientComplexValue
- All Superinterfaces:
ClientAnnotatable
,ClientLinked
,ClientValue
,Iterable<ClientProperty>
public interface ClientComplexValue
extends ClientValue, ClientLinked, ClientAnnotatable, Iterable<ClientProperty>
OData complex property value.
-
Method Summary
Modifier and TypeMethodDescriptionadd
(ClientProperty field) Adds field to the complex type.Converts this instance as POJO collection.Gets field.int
size()
Gets number of fields.Methods inherited from interface org.apache.olingo.client.api.domain.ClientAnnotatable
getAnnotations
Methods inherited from interface org.apache.olingo.client.api.domain.ClientLinked
addLink, getAssociationLink, getAssociationLinks, getNavigationLink, getNavigationLinks, removeLink
Methods inherited from interface org.apache.olingo.client.api.domain.ClientValue
asCollection, asComplex, asEnum, asPrimitive, getTypeName, isCollection, isComplex, isEnum, isPrimitive
Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
Method Details
-
add
Adds field to the complex type.- Parameters:
field
- field to be added.- Returns:
- this (for fluent-style calls)
-
get
Gets field.- Parameters:
name
- name of the field to be retrieved.- Returns:
- requested field.
-
size
int size()Gets number of fields.- Returns:
- number of fields.
-
asJavaMap
Converts this instance as POJO collection.- Returns:
- this instance as POJO collection
-