public class TypedOperand extends VisitorOperand
value| Constructor and Description |
|---|
TypedOperand(Object value,
org.apache.olingo.commons.api.edm.EdmType type) |
TypedOperand(Object value,
org.apache.olingo.commons.api.edm.EdmType type,
org.apache.olingo.commons.api.edm.EdmProperty edmProperty) |
| Modifier and Type | Method and Description |
|---|---|
TypedOperand |
asTypedOperand() |
TypedOperand |
asTypedOperand(org.apache.olingo.commons.api.edm.EdmPrimitiveType... asTypes) |
TypedOperand |
castToCommonType(VisitorOperand otherOperand) |
org.apache.olingo.commons.api.edm.EdmProperty |
getEdmProperty() |
org.apache.olingo.commons.api.edm.EdmType |
getType() |
<T> T |
getTypedValue(Class<T> clazz) |
boolean |
is(org.apache.olingo.commons.api.edm.EdmPrimitiveType... types) |
boolean |
isDecimalType() |
boolean |
isIntegerType() |
boolean |
isNull() |
castTo, getDefaultType, getValue, tryCastpublic TypedOperand(Object value, org.apache.olingo.commons.api.edm.EdmType type)
public TypedOperand(Object value, org.apache.olingo.commons.api.edm.EdmType type, org.apache.olingo.commons.api.edm.EdmProperty edmProperty)
public TypedOperand asTypedOperand() throws org.apache.olingo.server.api.ODataApplicationException
asTypedOperand in class VisitorOperandorg.apache.olingo.server.api.ODataApplicationExceptionpublic TypedOperand asTypedOperand(org.apache.olingo.commons.api.edm.EdmPrimitiveType... asTypes) throws org.apache.olingo.server.api.ODataApplicationException
asTypedOperand in class VisitorOperandorg.apache.olingo.server.api.ODataApplicationExceptionpublic TypedOperand castToCommonType(VisitorOperand otherOperand) throws org.apache.olingo.server.api.ODataApplicationException
org.apache.olingo.server.api.ODataApplicationExceptionpublic org.apache.olingo.commons.api.edm.EdmType getType()
public <T> T getTypedValue(Class<T> clazz)
public boolean isNull()
public boolean isIntegerType()
public boolean isDecimalType()
public boolean is(org.apache.olingo.commons.api.edm.EdmPrimitiveType... types)
public org.apache.olingo.commons.api.edm.EdmProperty getEdmProperty()
getEdmProperty in class VisitorOperandCopyright © 2018 WSO2. All rights reserved.