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, tryCast
public 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 VisitorOperand
org.apache.olingo.server.api.ODataApplicationException
public TypedOperand asTypedOperand(org.apache.olingo.commons.api.edm.EdmPrimitiveType... asTypes) throws org.apache.olingo.server.api.ODataApplicationException
asTypedOperand
in class VisitorOperand
org.apache.olingo.server.api.ODataApplicationException
public TypedOperand castToCommonType(VisitorOperand otherOperand) throws org.apache.olingo.server.api.ODataApplicationException
org.apache.olingo.server.api.ODataApplicationException
public 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 VisitorOperand
Copyright © 2019 WSO2. All rights reserved.