Class AbstractEdmExpression
java.lang.Object
org.apache.olingo.commons.core.edm.annotation.AbstractEdmExpression
- All Implemented Interfaces:
EdmExpression
- Direct Known Subclasses:
AbstractEdmDynamicExpression,EdmConstantExpressionImpl
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.olingo.commons.api.edm.annotation.EdmExpression
EdmExpression.EdmExpressionType -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCasts the expression toEdmConstantExpressionCast the expression toEdmDynamicExpressionstatic EdmExpressiongetExpression(Edm edm, CsdlExpression exp) Will return the name of the expression e.g.booleanReturn true if the expression is constantbooleanReturn true if the expression is dynamicMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.olingo.commons.api.edm.annotation.EdmExpression
getExpressionType
-
Field Details
-
edm
-
-
Constructor Details
-
AbstractEdmExpression
-
-
Method Details
-
getExpressionName
Description copied from interface:EdmExpressionWill return the name of the expression e.g. Apply or Cast.- Specified by:
getExpressionNamein interfaceEdmExpression- Returns:
- the name of the expression
-
isConstant
public boolean isConstant()Description copied from interface:EdmExpressionReturn true if the expression is constant- Specified by:
isConstantin interfaceEdmExpression- Returns:
- true if the expression is constant
-
asConstant
Description copied from interface:EdmExpressionCasts the expression toEdmConstantExpression- Specified by:
asConstantin interfaceEdmExpression- Returns:
- Constant Expression
-
isDynamic
public boolean isDynamic()Description copied from interface:EdmExpressionReturn true if the expression is dynamic- Specified by:
isDynamicin interfaceEdmExpression- Returns:
- true if the expression is dynamic
-
asDynamic
Description copied from interface:EdmExpressionCast the expression toEdmDynamicExpression- Specified by:
asDynamicin interfaceEdmExpression- Returns:
- Dynamic Expression
-
getExpression
-