Interface EdmIf
- All Superinterfaces:
EdmAnnotatable
,EdmDynamicExpression
,EdmExpression
Represents a edm:If expression
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.olingo.commons.api.edm.annotation.EdmExpression
EdmExpression.EdmExpressionType
-
Method Summary
Methods inherited from interface org.apache.olingo.commons.api.edm.EdmAnnotatable
getAnnotation, getAnnotations
Methods inherited from interface org.apache.olingo.commons.api.edm.annotation.EdmDynamicExpression
asAnd, asAnnotationPath, asApply, asCast, asCollection, asEq, asGe, asGt, asIf, asIsOf, asLabeledElement, asLabeledElementReference, asLe, asLt, asNavigationPropertyPath, asNe, asNot, asNull, asOr, asPath, asPropertyPath, asPropertyValue, asRecord, asUrlRef, isAnd, isAnnotationPath, isApply, isCast, isCollection, isEq, isGe, isGt, isIf, isIsOf, isLabeledElement, isLabeledElementReference, isLe, isLt, isNavigationPropertyPath, isNe, isNot, isNull, isOr, isPath, isPropertyPath, isPropertyValue, isRecord, isUrlRef
Methods inherited from interface org.apache.olingo.commons.api.edm.annotation.EdmExpression
asConstant, asDynamic, getExpressionName, getExpressionType, isConstant, isDynamic
-
Method Details
-
getGuard
EdmExpression getGuard()Returns the first expression of the edm:If expression. This expression represents the condition of the if expression- Returns:
- First expression of the if expression
-
getThen
EdmExpression getThen()Return the second expression of the edm:If expression. If the condition of the condition is evaluated to true, this expression as to be executed.- Returns:
- Second Expression of the edm:If expression
-
getElse
EdmExpression getElse()Return the third expression of the edm:If expression. If the condition of the condition is evaluated to false, this expression as to be executed.- Returns:
- Third Expression of the edm:If expression
-