public class CsdlIf extends CsdlDynamicExpression implements CsdlAnnotatable
Constructor and Description |
---|
CsdlIf() |
Modifier and Type | Method and Description |
---|---|
List<CsdlAnnotation> |
getAnnotations()
Returns a list of annotations
|
CsdlExpression |
getElse()
Return the third expression of the edm:If expression.
|
CsdlExpression |
getGuard()
Returns the first expression of the edm:If expression.
|
CsdlExpression |
getThen()
Return the second expression of the edm:If expression.
|
CsdlIf |
setAnnotations(List<CsdlAnnotation> annotations) |
CsdlIf |
setElse(CsdlExpression _else) |
CsdlIf |
setGuard(CsdlExpression guard) |
CsdlIf |
setThen(CsdlExpression _then) |
asAnnotationPath, asApply, asCast, asCollection, asIf, asIsOf, asLabeledElement, asLabeledElementReference, asLogicalOrComparison, asNavigationPropertyPath, asNull, asPath, asPropertyPath, asRecord, asUrlRef, isAnnotationPath, isApply, isCast, isCollection, isIf, isIsOf, isLabeledElement, isLabeledElementReference, isLogicalOrComparison, isNavigationPropertyPath, isNull, isPath, isPropertyPath, isRecord, isUrlRef
asConstant, asDynamic, isConstant, isDynamic
getAllByName, getOneByName
public List<CsdlAnnotation> getAnnotations()
CsdlAnnotatable
getAnnotations
in interface CsdlAnnotatable
public CsdlIf setAnnotations(List<CsdlAnnotation> annotations)
public CsdlExpression getGuard()
public CsdlIf setGuard(CsdlExpression guard)
public CsdlExpression getThen()
public CsdlIf setThen(CsdlExpression _then)
public CsdlExpression getElse()
public CsdlIf setElse(CsdlExpression _else)
Copyright © 2013–2018 The Apache Software Foundation. All rights reserved.