public abstract class VisitorOperand extends Object
Modifier and Type | Field and Description |
---|---|
protected static OData |
oData |
protected static EdmPrimitiveType |
primBoolean |
protected static EdmPrimitiveType |
primByte |
protected static EdmPrimitiveType |
primDate |
protected static EdmPrimitiveType |
primDateTimeOffset |
protected static EdmPrimitiveType |
primDecimal |
protected static EdmPrimitiveType |
primDouble |
protected static EdmPrimitiveType |
primDuration |
protected static EdmPrimitiveType |
primInt16 |
protected static EdmPrimitiveType |
primInt32 |
protected static EdmPrimitiveType |
primInt64 |
protected static EdmPrimitiveType |
primNull |
protected static EdmPrimitiveType |
primSByte |
protected static EdmPrimitiveType |
primSingle |
protected static EdmPrimitiveType |
primString |
protected static EdmPrimitiveType |
primTimeOfDay |
protected Object |
value |
Constructor and Description |
---|
VisitorOperand(Object value) |
Modifier and Type | Method and Description |
---|---|
abstract TypedOperand |
asTypedOperand() |
abstract TypedOperand |
asTypedOperand(EdmPrimitiveType... types) |
protected Object |
castTo(String value,
EdmPrimitiveType type) |
protected Class<?> |
getDefaultType(EdmPrimitiveType type) |
abstract EdmProperty |
getEdmProperty() |
Object |
getValue() |
protected Object |
tryCast(String literal,
EdmPrimitiveType type) |
protected Object value
protected static final OData oData
protected static final EdmPrimitiveType primNull
protected static final EdmPrimitiveType primString
protected static final EdmPrimitiveType primBoolean
protected static final EdmPrimitiveType primDateTimeOffset
protected static final EdmPrimitiveType primDate
protected static final EdmPrimitiveType primTimeOfDay
protected static final EdmPrimitiveType primDuration
protected static final EdmPrimitiveType primSByte
protected static final EdmPrimitiveType primByte
protected static final EdmPrimitiveType primInt16
protected static final EdmPrimitiveType primInt32
protected static final EdmPrimitiveType primInt64
protected static final EdmPrimitiveType primDecimal
protected static final EdmPrimitiveType primSingle
protected static final EdmPrimitiveType primDouble
public VisitorOperand(Object value)
public abstract TypedOperand asTypedOperand() throws ODataApplicationException
ODataApplicationException
public abstract TypedOperand asTypedOperand(EdmPrimitiveType... types) throws ODataApplicationException
ODataApplicationException
public abstract EdmProperty getEdmProperty()
public Object getValue()
protected Object castTo(String value, EdmPrimitiveType type) throws EdmPrimitiveTypeException
EdmPrimitiveTypeException
protected Class<?> getDefaultType(EdmPrimitiveType type)
protected Object tryCast(String literal, EdmPrimitiveType type)
Copyright © 2013–2015 The Apache Software Foundation. All rights reserved.