Class CsdlEnumMember
java.lang.Object
org.apache.olingo.commons.api.edm.provider.CsdlAbstractEdmItem
org.apache.olingo.commons.api.edm.provider.CsdlEnumMember
- All Implemented Interfaces:
CsdlAnnotatable
,CsdlNamed
The type Csdl enum member.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns a list of annotationsgetName()
Gets name.getValue()
Gets value.setAnnotations
(List<CsdlAnnotation> annotations) Sets a list of annotationsSets name.Sets value.Methods inherited from class org.apache.olingo.commons.api.edm.provider.CsdlAbstractEdmItem
getAllByName, getOneByName
-
Constructor Details
-
CsdlEnumMember
public CsdlEnumMember()
-
-
Method Details
-
getName
Description copied from interface:CsdlNamed
Gets name. -
setName
Sets name.- Parameters:
name
- the name- Returns:
- the name
-
getValue
Gets value.- Returns:
- the value
-
setValue
Sets value.- Parameters:
value
- the value- Returns:
- the value
-
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
-