public interface ClientPrimitiveValue extends ClientValue
| Modifier and Type | Interface and Description |
|---|---|
static interface |
ClientPrimitiveValue.Builder |
| Modifier and Type | Method and Description |
|---|---|
EdmPrimitiveType |
getType() |
EdmPrimitiveTypeKind |
getTypeKind() |
<T> T |
toCastValue(Class<T> reference)
Returns the current value casted to the given type.
|
String |
toString()
Serialize the current value as String.
|
Object |
toValue()
Returns the current value as generic Object.
|
asCollection, asComplex, asEnum, asPrimitive, getTypeName, isCollection, isComplex, isEnum, isPrimitiveEdmPrimitiveTypeKind getTypeKind()
EdmPrimitiveType getType()
Object toValue()
<T> T toCastValue(Class<T> reference) throws EdmPrimitiveTypeException
T - cast typereference - class referenceEdmPrimitiveTypeException - if the object is not assignable to the type T.Copyright © 2013–2018 The Apache Software Foundation. All rights reserved.