public class CsdlAnnotations extends CsdlAbstractEdmItem implements CsdlAnnotatable
Constructor and Description |
---|
CsdlAnnotations() |
Modifier and Type | Method and Description |
---|---|
CsdlAnnotation |
getAnnotation(String term)
Gets annotation.
|
List<CsdlAnnotation> |
getAnnotations()
Returns a list of annotations
|
String |
getQualifier()
Gets qualifier.
|
String |
getTarget()
Gets target.
|
CsdlAnnotations |
setAnnotations(List<CsdlAnnotation> annotations)
Sets a list of annotations
|
CsdlAnnotations |
setQualifier(String qualifier)
Sets qualifier.
|
CsdlAnnotations |
setTarget(String target)
Sets target.
|
getAllByName, getOneByName
public String getTarget()
public CsdlAnnotations setTarget(String target)
target
- the targetpublic String getQualifier()
public CsdlAnnotations setQualifier(String qualifier)
qualifier
- the qualifierpublic List<CsdlAnnotation> getAnnotations()
CsdlAnnotatable
getAnnotations
in interface CsdlAnnotatable
public CsdlAnnotations setAnnotations(List<CsdlAnnotation> annotations)
annotations
- list of annotationspublic CsdlAnnotation getAnnotation(String term)
term
- the termCopyright © 2013–2018 The Apache Software Foundation. All rights reserved.