Interface EdmDynamicExpression
- All Superinterfaces:
EdmExpression
- All Known Subinterfaces:
EdmAnd
,EdmAnnotationPath
,EdmApply
,EdmCast
,EdmCollection
,EdmEq
,EdmGe
,EdmGt
,EdmIf
,EdmIsOf
,EdmLabeledElement
,EdmLabeledElementReference
,EdmLe
,EdmLogicalOrComparisonExpression
,EdmLt
,EdmNavigationPropertyPath
,EdmNe
,EdmNot
,EdmNull
,EdmOr
,EdmPath
,EdmPropertyPath
,EdmRecord
,EdmUrlRef
Represents a dynamic expression
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.olingo.commons.api.edm.annotation.EdmExpression
EdmExpression.EdmExpressionType
-
Method Summary
Modifier and TypeMethodDescriptionasAnd()
Casts the expression to aEdmAnd
expressionCasts the expression to aEdmAnnotationPath
expressionasApply()
Casts the expression to aEdmApply
expressionasCast()
Casts the expression to aEdmCast
expressionCasts the expression to aEdmCollection
expressionasEq()
Casts the expression to aEdmEq
expressionasGe()
Casts the expression to aEdmGe
expressionasGt()
Casts the expression to aEdmGt
expressionasIf()
Casts the expression to aEdmIf
expressionasIsOf()
Casts the expression to aEdmIsOf
expressionCasts the expression to aEdmLabeledElement
expressionCasts the expression to aEdmLabeledElementReference
expressionasLe()
Casts the expression to aEdmLe
expressionasLt()
Casts the expression to aEdmLt
expressionCasts the expression to aEdmNavigationPropertyPath
expressionasNe()
Casts the expression to aEdmNe
expressionasNot()
Casts the expression to aEdmNot
expressionasNull()
Casts the expression to aEdmNull
expressionasOr()
Casts the expression to aEdmOr
expressionasPath()
Casts the expression to aEdmPath
expressionCasts the expression to aEdmPropertyPath
expressionCasts the expression to aEdmPropertyValue
expressionasRecord()
Casts the expression to aEdmRecord
expressionasUrlRef()
Casts the expression to aEdmUrlRef
expressionboolean
isAnd()
Returns true if the expression is a logical edm:And expressionboolean
Returns true if the expression is a edm:AnnotationPath expressionboolean
isApply()
Returns true if the expression is a edm:Apply expressionboolean
isCast()
Returns true if the expression is a edm:Cast expressionboolean
Returns true if the expression is a edm:Collection expressionboolean
isEq()
Returns true if the expression is a edm:Eq expressionboolean
isGe()
Returns true if the expression is a edm:Ge expressionboolean
isGt()
Returns true if the expression is a edm:Gt expressionboolean
isIf()
Returns true if the expression is a edm:If expressionboolean
isIsOf()
Returns true if the expression is a edm:IsOf expressionboolean
Returns true if the expression is a edm:LabeledElement expressionboolean
Returns true if the expression is a edm:LabeledElementReference expressionboolean
isLe()
Returns true if the expression is a edm:Le expressionboolean
isLt()
Returns true if the expression is a edm:Lt expressionboolean
Returns true if the expression is a edm:NavigationPropertyPath expressionboolean
isNe()
Returns true if the expression is a edm:Ne expressionboolean
isNot()
Returns true if the expression is a logical edm:Not expressionboolean
isNull()
Returns true if the expression is a edm:Null expressionboolean
isOr()
Returns true if the expression is a logical edm:Or expressionboolean
isPath()
Returns true if the expression is a edm:Path expressionboolean
Returns true if the expression is a edm:PropertyPath expressionboolean
Returns true if the expression is a edm:PropertyValue expressionboolean
isRecord()
Returns true if the expression is a edm:Record expressionboolean
isUrlRef()
Returns true if the expression is a edm:UrlRef expressionMethods inherited from interface org.apache.olingo.commons.api.edm.annotation.EdmExpression
asConstant, asDynamic, getExpressionName, getExpressionType, isConstant, isDynamic
-
Method Details
-
isNot
boolean isNot()Returns true if the expression is a logical edm:Not expression- Returns:
- true if the expression is a logical edm:Not expression
-
asNot
EdmNot asNot()Casts the expression to aEdmNot
expression- Returns:
- EdmNot expression
-
isAnd
boolean isAnd()Returns true if the expression is a logical edm:And expression- Returns:
- true if the expression is a logical edm:And expression
-
asAnd
EdmAnd asAnd()Casts the expression to aEdmAnd
expression- Returns:
- EdmAnd expression
-
isOr
boolean isOr()Returns true if the expression is a logical edm:Or expression- Returns:
- true if the expression is a logical edm:Or expression
-
asOr
EdmOr asOr()Casts the expression to aEdmOr
expression- Returns:
- EdmOr expression
-
isEq
boolean isEq()Returns true if the expression is a edm:Eq expression- Returns:
- true if the expression is a edm:Eq expression
-
asEq
EdmEq asEq()Casts the expression to aEdmEq
expression- Returns:
- EdmEq expression
-
isNe
boolean isNe()Returns true if the expression is a edm:Ne expression- Returns:
- true if the expression is a edm:Ne expression
-
asNe
EdmNe asNe()Casts the expression to aEdmNe
expression- Returns:
- EdmNe expression
-
isGt
boolean isGt()Returns true if the expression is a edm:Gt expression- Returns:
- true if the expression is a edm:Gt expression
-
asGt
EdmGt asGt()Casts the expression to aEdmGt
expression- Returns:
- EdmGt expression
-
isGe
boolean isGe()Returns true if the expression is a edm:Ge expression- Returns:
- true if the expression is a edm:Ge expression
-
asGe
EdmGe asGe()Casts the expression to aEdmGe
expression- Returns:
- EdmGe expression
-
isLt
boolean isLt()Returns true if the expression is a edm:Lt expression- Returns:
- true if the expression is a edm:Lt expression
-
asLt
EdmLt asLt()Casts the expression to aEdmLt
expression- Returns:
- EdmLt expression
-
isLe
boolean isLe()Returns true if the expression is a edm:Le expression- Returns:
- true if the expression is a edm:Le expression
-
asLe
EdmLe asLe()Casts the expression to aEdmLe
expression- Returns:
- EdmLe expression
-
isAnnotationPath
boolean isAnnotationPath()Returns true if the expression is a edm:AnnotationPath expression- Returns:
- true if the expression is a edm:AnnotationPath expression
-
asAnnotationPath
EdmAnnotationPath asAnnotationPath()Casts the expression to aEdmAnnotationPath
expression- Returns:
- EdmAnnotationPath expression
-
isApply
boolean isApply()Returns true if the expression is a edm:Apply expression- Returns:
- true if the expression is a edm:Apply expression
-
asApply
EdmApply asApply()Casts the expression to aEdmApply
expression- Returns:
- EdmApply expression
-
isCast
boolean isCast()Returns true if the expression is a edm:Cast expression- Returns:
- true if the expression is a edm:Cast expression
-
asCast
EdmCast asCast()Casts the expression to aEdmCast
expression- Returns:
- EdmCast expression
-
isCollection
boolean isCollection()Returns true if the expression is a edm:Collection expression- Returns:
- true if the expression is a edm:Collection expression
-
asCollection
EdmCollection asCollection()Casts the expression to aEdmCollection
expression- Returns:
- EdmCollection expression
-
isIf
boolean isIf()Returns true if the expression is a edm:If expression- Returns:
- true if the expression is a edm:If expression
-
asIf
EdmIf asIf()Casts the expression to aEdmIf
expression- Returns:
- EdmIf expression
-
isIsOf
boolean isIsOf()Returns true if the expression is a edm:IsOf expression- Returns:
- true if the expression is a edm:IsOf expression
-
asIsOf
EdmIsOf asIsOf()Casts the expression to aEdmIsOf
expression- Returns:
- EdmIsOf expression
-
isLabeledElement
boolean isLabeledElement()Returns true if the expression is a edm:LabeledElement expression- Returns:
- true if the expression is a edm:LabeledElement expression
-
asLabeledElement
EdmLabeledElement asLabeledElement()Casts the expression to aEdmLabeledElement
expression- Returns:
- EdmLabeledElement expression
-
isLabeledElementReference
boolean isLabeledElementReference()Returns true if the expression is a edm:LabeledElementReference expression- Returns:
- true if the expression is a edm:LabeledElementReference expression
-
asLabeledElementReference
EdmLabeledElementReference asLabeledElementReference()Casts the expression to aEdmLabeledElementReference
expression- Returns:
- EdmLabeledElementReference expression
-
isNull
boolean isNull()Returns true if the expression is a edm:Null expression- Returns:
- true if the expression is a edm:Null expression
-
asNull
EdmNull asNull()Casts the expression to aEdmNull
expression- Returns:
- EdmNull expression
-
isPath
boolean isPath()Returns true if the expression is a edm:Path expression- Returns:
- true if the expression is a edm:Path expression
-
asPath
EdmPath asPath()Casts the expression to aEdmPath
expression- Returns:
- EdmPath expression
-
isPropertyPath
boolean isPropertyPath()Returns true if the expression is a edm:PropertyPath expression- Returns:
- true if the expression is a edm:PropertyPath expression
-
asPropertyPath
EdmPropertyPath asPropertyPath()Casts the expression to aEdmPropertyPath
expression- Returns:
- EdmPropertyPath expression
-
isPropertyValue
boolean isPropertyValue()Returns true if the expression is a edm:PropertyValue expression- Returns:
- true if the expression is a edm:PropertyValue expression
-
asPropertyValue
EdmPropertyValue asPropertyValue()Casts the expression to aEdmPropertyValue
expression- Returns:
- EdmPropertyValue expression
-
isRecord
boolean isRecord()Returns true if the expression is a edm:Record expression- Returns:
- true if the expression is a edm:Record expression
-
asRecord
EdmRecord asRecord()Casts the expression to aEdmRecord
expression- Returns:
- EdmRecord expression
-
isUrlRef
boolean isUrlRef()Returns true if the expression is a edm:UrlRef expression- Returns:
- true if the expression is a edm:UrlRef expression
-
asUrlRef
EdmUrlRef asUrlRef()Casts the expression to aEdmUrlRef
expression- Returns:
- EdmUrlRef expression
-