Class CsdlDynamicExpression
java.lang.Object
org.apache.olingo.commons.api.edm.provider.CsdlAbstractEdmItem
org.apache.olingo.commons.api.edm.provider.annotation.CsdlExpression
org.apache.olingo.commons.api.edm.provider.annotation.CsdlDynamicExpression
- Direct Known Subclasses:
CsdlAnnotationPath,CsdlApply,CsdlCast,CsdlCollection,CsdlIf,CsdlIsOf,CsdlLabeledElement,CsdlLabeledElementReference,CsdlLogicalOrComparisonExpression,CsdlNavigationPropertyPath,CsdlNull,CsdlPath,CsdlPropertyPath,CsdlRecord,CsdlUrlRef
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCasts the expression to aCsdlAnnotationPathexpressionasApply()Casts the expression to aCsdlApplyexpressionasCast()Casts the expression to aCsdlCastexpressionCasts the expression to aCollectionexpressionasIf()Casts the expression to aCsdlIfexpressionasIsOf()Casts the expression to aCsdlIsOfexpressionCasts the expression to aCsdlLabeledElementexpressionCasts the expression to aCsdlLabeledElementReferenceexpressionCasts the expression to aCsdlLogicalOrComparisonExpressionexpressionCasts the expression to aCsdlNavigationPropertyPathexpressionasNull()Casts the expression to aCsdlNullexpressionasPath()Casts the expression to aCsdlPathexpressionCasts the expression to aCsdlPropertyPathexpressionasRecord()Casts the expression to aCsdlRecordexpressionasUrlRef()Casts the expression to aCsdlUrlRefexpressionbooleanReturns true if the expression is a edm:AnnotationPath expressionbooleanisApply()Returns true if the expression is a edm:Apply expressionbooleanisCast()Returns true if the expression is a edm:Cast expressionbooleanReturns true if the expression is a edm:Collection expressionbooleanisIf()Returns true if the expression is a edm:If expressionbooleanisIsOf()Returns true if the expression is a edm:IsOf expressionbooleanReturns true if the expression is a edm:LabeledElement expressionbooleanReturns true if the expression is a edm:LabeledElementReference expressionbooleanReturns true if the expression is a logical expressionbooleanReturns true if the expression is a edm:NavigationPropertyPath expressionbooleanisNull()Returns true if the expression is a edm:Null expressionbooleanisPath()Returns true if the expression is a edm:Path expressionbooleanReturns true if the expression is a edm:PropertyPath expressionbooleanisRecord()Returns true if the expression is a edm:Record expressionbooleanisUrlRef()Returns true if the expression is a edm:UrlRef expressionMethods inherited from class org.apache.olingo.commons.api.edm.provider.annotation.CsdlExpression
asConstant, asDynamic, isConstant, isDynamicMethods inherited from class org.apache.olingo.commons.api.edm.provider.CsdlAbstractEdmItem
getAllByName, getOneByName
-
Constructor Details
-
CsdlDynamicExpression
public CsdlDynamicExpression()
-
-
Method Details
-
isLogicalOrComparison
public boolean isLogicalOrComparison()Returns true if the expression is a logical expression- Returns:
- true if the expression is a logical expression
-
asLogicalOrComparison
Casts the expression to aCsdlLogicalOrComparisonExpressionexpression- Returns:
- CsdlLogicalExpression expression
-
isAnnotationPath
public boolean isAnnotationPath()Returns true if the expression is a edm:AnnotationPath expression- Returns:
- true if the expression is a edm:AnnotationPath expression
-
asAnnotationPath
Casts the expression to aCsdlAnnotationPathexpression- Returns:
- AnnotationPath expression
-
isApply
public boolean isApply()Returns true if the expression is a edm:Apply expression- Returns:
- true if the expression is a edm:Apply expression
-
asApply
Casts the expression to aCsdlApplyexpression- Returns:
- Apply expression
-
isCast
public boolean isCast()Returns true if the expression is a edm:Cast expression- Returns:
- true if the expression is a edm:Cast expression
-
asCast
Casts the expression to aCsdlCastexpression- Returns:
- Cast expression
-
isCollection
public boolean isCollection()Returns true if the expression is a edm:Collection expression- Returns:
- true if the expression is a edm:Collection expression
-
asCollection
Casts the expression to aCollectionexpression- Returns:
- Collection expression
-
isIf
public boolean isIf()Returns true if the expression is a edm:If expression- Returns:
- true if the expression is a edm:If expression
-
asIf
Casts the expression to aCsdlIfexpression- Returns:
- If expression
-
isIsOf
public boolean isIsOf()Returns true if the expression is a edm:IsOf expression- Returns:
- true if the expression is a edm:IsOf expression
-
asIsOf
Casts the expression to aCsdlIsOfexpression- Returns:
- IsOf expression
-
isLabeledElement
public boolean isLabeledElement()Returns true if the expression is a edm:LabeledElement expression- Returns:
- true if the expression is a edm:LabeledElement expression
-
asLabeledElement
Casts the expression to aCsdlLabeledElementexpression- Returns:
- LabeledElement expression
-
isLabeledElementReference
public boolean isLabeledElementReference()Returns true if the expression is a edm:LabeledElementReference expression- Returns:
- true if the expression is a edm:LabeledElementReference expression
-
asLabeledElementReference
Casts the expression to aCsdlLabeledElementReferenceexpression- Returns:
- LabeledElementReference expression
-
isNull
public boolean isNull()Returns true if the expression is a edm:Null expression- Returns:
- true if the expression is a edm:Null expression
-
asNull
Casts the expression to aCsdlNullexpression- Returns:
- Null expression
-
isPath
public boolean isPath()Returns true if the expression is a edm:Path expression- Returns:
- true if the expression is a edm:Path expression
-
asPath
Casts the expression to aCsdlPathexpression- Returns:
- Path expression
-
isPropertyPath
public boolean isPropertyPath()Returns true if the expression is a edm:PropertyPath expression- Returns:
- true if the expression is a edm:PropertyPath expression
-
asPropertyPath
Casts the expression to aCsdlPropertyPathexpression- Returns:
- PropertyPath expression
-
isRecord
public boolean isRecord()Returns true if the expression is a edm:Record expression- Returns:
- true if the expression is a edm:Record expression
-
asRecord
Casts the expression to aCsdlRecordexpression- Returns:
- Record expression
-
isUrlRef
public boolean isUrlRef()Returns true if the expression is a edm:UrlRef expression- Returns:
- true if the expression is a edm:UrlRef expression
-
asUrlRef
Casts the expression to aCsdlUrlRefexpression- Returns:
- UrlRef expression
-