Class AbstractClientValue
java.lang.Object
org.apache.olingo.client.api.domain.AbstractClientValue
- All Implemented Interfaces:
ClientValue
Abstract representation of an OData entity property value.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<OV extends ClientValue>
ClientCollectionValue<OV>Casts to collection value.Casts to complex value.Casts to primitive value.boolean
Gets value type name.int
hashCode()
boolean
Check is is a collection value.boolean
Check is is a complex value.boolean
Check is is a primitive value.toString()
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.apache.olingo.client.api.domain.ClientValue
asEnum, isEnum
-
Constructor Details
-
AbstractClientValue
-
-
Method Details
-
getTypeName
Description copied from interface:ClientValue
Gets value type name.- Specified by:
getTypeName
in interfaceClientValue
- Returns:
- value type name.
-
isPrimitive
public boolean isPrimitive()Check is is a primitive value.- Specified by:
isPrimitive
in interfaceClientValue
- Returns:
- 'TRUE' if primitive; 'FALSE' otherwise.
-
asPrimitive
Casts to primitive value.- Specified by:
asPrimitive
in interfaceClientValue
- Returns:
- primitive value.
-
isComplex
public boolean isComplex()Check is is a complex value.- Specified by:
isComplex
in interfaceClientValue
- Returns:
- 'TRUE' if complex; 'FALSE' otherwise.
-
asComplex
Casts to complex value.- Specified by:
asComplex
in interfaceClientValue
- Returns:
- complex value.
-
isCollection
public boolean isCollection()Check is is a collection value.- Specified by:
isCollection
in interfaceClientValue
- Returns:
- 'TRUE' if collection; 'FALSE' otherwise.
-
asCollection
Casts to collection value.- Specified by:
asCollection
in interfaceClientValue
- Type Parameters:
OV
- The actual ODataValue interface.- Returns:
- collection value.
-
equals
-
hashCode
public int hashCode() -
toString
-