public class TypedOperand extends VisitorOperand
oData, primBoolean, primByte, primDate, primDateTimeOffset, primDecimal, primDouble, primDuration, primInt16, primInt32, primInt64, primNull, primSByte, primSingle, primString, primTimeOfDay, value| Constructor and Description |
|---|
TypedOperand(Object value,
EdmType type) |
TypedOperand(Object value,
EdmType type,
EdmProperty edmProperty) |
| Modifier and Type | Method and Description |
|---|---|
TypedOperand |
asTypedOperand() |
TypedOperand |
asTypedOperand(EdmPrimitiveType... asTypes) |
TypedOperand |
castToCommonType(VisitorOperand otherOperand) |
EdmProperty |
getEdmProperty() |
EdmType |
getType() |
<T> T |
getTypedValue(Class<T> clazz) |
boolean |
is(EdmPrimitiveType... types) |
boolean |
isDecimalType() |
boolean |
isIntegerType() |
boolean |
isNull() |
castTo, getDefaultType, getValue, tryCastpublic TypedOperand(Object value, EdmType type, EdmProperty edmProperty)
public TypedOperand asTypedOperand() throws ODataApplicationException
asTypedOperand in class VisitorOperandODataApplicationExceptionpublic TypedOperand asTypedOperand(EdmPrimitiveType... asTypes) throws ODataApplicationException
asTypedOperand in class VisitorOperandODataApplicationExceptionpublic TypedOperand castToCommonType(VisitorOperand otherOperand) throws ODataApplicationException
ODataApplicationExceptionpublic EdmType getType()
public <T> T getTypedValue(Class<T> clazz)
public boolean isNull()
public boolean isIntegerType()
public boolean isDecimalType()
public boolean is(EdmPrimitiveType... types)
public EdmProperty getEdmProperty()
getEdmProperty in class VisitorOperandCopyright © 2013–2015 The Apache Software Foundation. All rights reserved.