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.booleanGets value type name.inthashCode()booleanCheck is is a collection value.booleanCheck is is a complex value.booleanCheck is is a primitive value.toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.olingo.client.api.domain.ClientValue
asEnum, isEnum
-
Constructor Details
-
AbstractClientValue
-
-
Method Details
-
getTypeName
Description copied from interface:ClientValueGets value type name.- Specified by:
getTypeNamein interfaceClientValue- Returns:
- value type name.
-
isPrimitive
public boolean isPrimitive()Check is is a primitive value.- Specified by:
isPrimitivein interfaceClientValue- Returns:
- 'TRUE' if primitive; 'FALSE' otherwise.
-
asPrimitive
Casts to primitive value.- Specified by:
asPrimitivein interfaceClientValue- Returns:
- primitive value.
-
isComplex
public boolean isComplex()Check is is a complex value.- Specified by:
isComplexin interfaceClientValue- Returns:
- 'TRUE' if complex; 'FALSE' otherwise.
-
asComplex
Casts to complex value.- Specified by:
asComplexin interfaceClientValue- Returns:
- complex value.
-
isCollection
public boolean isCollection()Check is is a collection value.- Specified by:
isCollectionin interfaceClientValue- Returns:
- 'TRUE' if collection; 'FALSE' otherwise.
-
asCollection
Casts to collection value.- Specified by:
asCollectionin interfaceClientValue- Type Parameters:
OV- The actual ODataValue interface.- Returns:
- collection value.
-
equals
-
hashCode
public int hashCode() -
toString
-