public class CsdlAnnotation extends CsdlAbstractEdmItem implements CsdlAnnotatable
Constructor and Description |
---|
CsdlAnnotation() |
Modifier and Type | Method and Description |
---|---|
List<CsdlAnnotation> |
getAnnotations()
Returns a list of annotations
|
CsdlExpression |
getExpression()
Returns the annotated expression
|
String |
getQualifier()
Returns the annotated qualifier
|
String |
getTerm()
Returns the annotated term
|
CsdlAnnotation |
setAnnotations(List<CsdlAnnotation> annotations)
Sets a list of annotations
|
CsdlAnnotation |
setExpression(CsdlExpression annotationExpression)
Sets the annotated expression
|
CsdlAnnotation |
setQualifier(String qualifier)
Sets the annotated qualifier
|
CsdlAnnotation |
setTerm(String term)
Sets the annotated expression
|
getAllByName, getOneByName
public CsdlExpression getExpression()
public CsdlAnnotation setExpression(CsdlExpression annotationExpression)
annotationExpression
- annotated expressionpublic String getTerm()
public CsdlAnnotation setTerm(String term)
term
- termpublic String getQualifier()
public CsdlAnnotation setQualifier(String qualifier)
qualifier
- annotated qualifierpublic CsdlAnnotation setAnnotations(List<CsdlAnnotation> annotations)
annotations
- list of annotationspublic List<CsdlAnnotation> getAnnotations()
CsdlAnnotatable
getAnnotations
in interface CsdlAnnotatable
Copyright © 2013–2018 The Apache Software Foundation. All rights reserved.