Class CsdlAnnotation
java.lang.Object
org.apache.olingo.commons.api.edm.provider.CsdlAbstractEdmItem
org.apache.olingo.commons.api.edm.provider.CsdlAnnotation
- All Implemented Interfaces:
CsdlAnnotatable
Represents a CSDL annotation
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns a list of annotationsReturns the annotated expressionReturns the annotated qualifiergetTerm()
Returns the annotated termint
hashCode()
setAnnotations
(List<CsdlAnnotation> annotations) Sets a list of annotationssetExpression
(CsdlExpression annotationExpression) Sets the annotated expressionsetQualifier
(String qualifier) Sets the annotated qualifierSets the annotated expressionMethods inherited from class org.apache.olingo.commons.api.edm.provider.CsdlAbstractEdmItem
getAllByName, getOneByName
-
Constructor Details
-
CsdlAnnotation
public CsdlAnnotation()
-
-
Method Details
-
getExpression
Returns the annotated expression- Returns:
- expression annotated expression
-
setExpression
Sets the annotated expression- Parameters:
annotationExpression
- annotated expression
-
getTerm
Returns the annotated term- Returns:
- Term term
-
setTerm
Sets the annotated expression- Parameters:
term
- term- Returns:
- this instance
-
getQualifier
Returns the annotated qualifier- Returns:
- annotated qualifier
-
setQualifier
Sets the annotated qualifier- Parameters:
qualifier
- annotated qualifier- Returns:
- this instance
-
setAnnotations
Sets a list of annotations- Parameters:
annotations
- list of annotations- Returns:
- this instance
-
getAnnotations
Description copied from interface:CsdlAnnotatable
Returns a list of annotations- Specified by:
getAnnotations
in interfaceCsdlAnnotatable
- Returns:
- list of annotations
-
equals
-
hashCode
public int hashCode()
-