Class CsdlAnnotations
java.lang.Object
org.apache.olingo.commons.api.edm.provider.CsdlAbstractEdmItem
org.apache.olingo.commons.api.edm.provider.CsdlAnnotations
- All Implemented Interfaces:
CsdlAnnotatable
The type Csdl annotations.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAnnotation
(String term) Gets annotation.Returns a list of annotationsGets qualifier.Gets target.setAnnotations
(List<CsdlAnnotation> annotations) Sets a list of annotationssetQualifier
(String qualifier) Sets qualifier.Sets target.Methods inherited from class org.apache.olingo.commons.api.edm.provider.CsdlAbstractEdmItem
getAllByName, getOneByName
-
Constructor Details
-
CsdlAnnotations
public CsdlAnnotations()
-
-
Method Details
-
getTarget
Gets target.- Returns:
- the target
-
setTarget
Sets target.- Parameters:
target
- the target- Returns:
- the target
-
getQualifier
Gets qualifier.- Returns:
- the qualifier
-
setQualifier
Sets qualifier.- Parameters:
qualifier
- the qualifier- Returns:
- the qualifier
-
getAnnotations
Description copied from interface:CsdlAnnotatable
Returns a list of annotations- Specified by:
getAnnotations
in interfaceCsdlAnnotatable
- Returns:
- list of annotations
-
setAnnotations
Sets a list of annotations- Parameters:
annotations
- list of annotations- Returns:
- this instance
-
getAnnotation
Gets annotation.- Parameters:
term
- the term- Returns:
- the annotation
-