public class EdmConstantExpressionImpl extends AbstractEdmExpression implements EdmConstantExpression
EdmExpression.EdmExpressionTypeedm| Constructor and Description |
|---|
EdmConstantExpressionImpl(Edm edm,
CsdlConstantExpression constExprConstruct) |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
asEnumMembers()
A list of enum members or empty list if this expression is of type primitive or geospatial.
|
Geospatial |
asGeospatial()
Return the geospatial object or null if this expression is of type primitive or enum.
|
Object |
asPrimitive()
The value object of this expression or null if it is of type enum or geospatial.
|
String |
getEnumTypeName()
Return the Enum type name or null if this expression is of type primitive or geospatial.
|
EdmExpression.EdmExpressionType |
getExpressionType()
See
EdmExpression.EdmExpressionType for details. |
String |
getValueAsString()
Returns the value of the expression as String.
|
asConstant, asDynamic, getExpression, getExpressionName, isConstant, isDynamicclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitasConstant, asDynamic, getExpressionName, isConstant, isDynamicpublic EdmConstantExpressionImpl(Edm edm, CsdlConstantExpression constExprConstruct)
public String getValueAsString()
EdmConstantExpressiongetValueAsString in interface EdmConstantExpressionpublic EdmExpression.EdmExpressionType getExpressionType()
EdmExpressionEdmExpression.EdmExpressionType for details.getExpressionType in interface EdmExpressionpublic Object asPrimitive()
EdmConstantExpressionasPrimitive in interface EdmConstantExpressionpublic List<String> asEnumMembers()
EdmConstantExpressionasEnumMembers in interface EdmConstantExpressionpublic String getEnumTypeName()
EdmConstantExpressiongetEnumTypeName in interface EdmConstantExpressionpublic Geospatial asGeospatial()
EdmConstantExpressionasGeospatial in interface EdmConstantExpressionCopyright © 2023. All rights reserved.