public abstract class AbstractClientValue extends Object implements ClientValue
Constructor and Description |
---|
AbstractClientValue(String typeName) |
Modifier and Type | Method and Description |
---|---|
<OV extends ClientValue> |
asCollection()
Casts to collection value.
|
ClientComplexValue |
asComplex()
Casts to complex value.
|
ClientPrimitiveValue |
asPrimitive()
Casts to primitive value.
|
boolean |
equals(Object obj) |
String |
getTypeName()
Gets value type name.
|
int |
hashCode() |
boolean |
isCollection()
Check is is a collection value.
|
boolean |
isComplex()
Check is is a complex value.
|
boolean |
isPrimitive()
Check is is a primitive value.
|
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
asEnum, isEnum
public AbstractClientValue(String typeName)
public String getTypeName()
ClientValue
getTypeName
in interface ClientValue
public boolean isPrimitive()
isPrimitive
in interface ClientValue
public ClientPrimitiveValue asPrimitive()
asPrimitive
in interface ClientValue
public boolean isComplex()
isComplex
in interface ClientValue
public ClientComplexValue asComplex()
asComplex
in interface ClientValue
public boolean isCollection()
isCollection
in interface ClientValue
public <OV extends ClientValue> ClientCollectionValue<OV> asCollection()
asCollection
in interface ClientValue
OV
- The actual ODataValue interface.Copyright © 2013–2018 The Apache Software Foundation. All rights reserved.