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 aCsdlAnnotationPath
expressionasApply()
Casts the expression to aCsdlApply
expressionasCast()
Casts the expression to aCsdlCast
expressionCasts the expression to aCollection
expressionasIf()
Casts the expression to aCsdlIf
expressionasIsOf()
Casts the expression to aCsdlIsOf
expressionCasts the expression to aCsdlLabeledElement
expressionCasts the expression to aCsdlLabeledElementReference
expressionCasts the expression to aCsdlLogicalOrComparisonExpression
expressionCasts the expression to aCsdlNavigationPropertyPath
expressionasNull()
Casts the expression to aCsdlNull
expressionasPath()
Casts the expression to aCsdlPath
expressionCasts the expression to aCsdlPropertyPath
expressionasRecord()
Casts the expression to aCsdlRecord
expressionasUrlRef()
Casts the expression to aCsdlUrlRef
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
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
Returns true if the expression is a logical expressionboolean
Returns true if the expression is a edm:NavigationPropertyPath expressionboolean
isNull()
Returns true if the expression is a edm:Null expressionboolean
isPath()
Returns true if the expression is a edm:Path expressionboolean
Returns true if the expression is a edm:PropertyPath 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 class org.apache.olingo.commons.api.edm.provider.annotation.CsdlExpression
asConstant, asDynamic, isConstant, isDynamic
Methods 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 aCsdlLogicalOrComparisonExpression
expression- 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 aCsdlAnnotationPath
expression- 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 aCsdlApply
expression- 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 aCsdlCast
expression- 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 aCollection
expression- 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 aCsdlIf
expression- 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 aCsdlIsOf
expression- 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 aCsdlLabeledElement
expression- 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 aCsdlLabeledElementReference
expression- 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 aCsdlNull
expression- 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 aCsdlPath
expression- 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 aCsdlPropertyPath
expression- 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 aCsdlRecord
expression- 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 aCsdlUrlRef
expression- Returns:
- UrlRef expression
-