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
|
AnnotationExpression |
getExpression()
Returns the annotated expression
|
String |
getQualifier()
Returns the annotated qualifier
|
String |
getTerm()
Returns the annotated term
|
CsdlAnnotation |
setAnnotations(List<CsdlAnnotation> annotation)
Sets a list of annotations
|
void |
setExpression(AnnotationExpression annotationExpression)
Sets the annotated expression
|
CsdlAnnotation |
setQualifier(String qualifier)
Sets the annotated qualifier
|
CsdlAnnotation |
setTerm(String term)
Sets the annotated expression
|
equals, getAllByName, getOneByName, hashCode, toString
public AnnotationExpression getExpression()
public void setExpression(AnnotationExpression 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> annotation)
annotation
- list of annotationspublic List<CsdlAnnotation> getAnnotations()
CsdlAnnotatable
getAnnotations
in interface CsdlAnnotatable
Copyright © 2013–2015 The Apache Software Foundation. All rights reserved.