public class CsdlEnumMember extends CsdlAbstractEdmItem implements CsdlNamed, CsdlAnnotatable
Constructor and Description |
---|
CsdlEnumMember() |
Modifier and Type | Method and Description |
---|---|
List<CsdlAnnotation> |
getAnnotations()
Returns a list of annotations
|
String |
getName()
Gets name.
|
String |
getValue()
Gets value.
|
CsdlEnumMember |
setAnnotations(List<CsdlAnnotation> annotations)
Sets a list of annotations
|
CsdlEnumMember |
setName(String name)
Sets name.
|
CsdlEnumMember |
setValue(String value)
Sets value.
|
getAllByName, getOneByName
public CsdlEnumMember setName(String name)
name
- the namepublic String getValue()
public CsdlEnumMember setValue(String value)
value
- the valuepublic List<CsdlAnnotation> getAnnotations()
CsdlAnnotatable
getAnnotations
in interface CsdlAnnotatable
public CsdlEnumMember setAnnotations(List<CsdlAnnotation> annotations)
annotations
- list of annotationsCopyright © 2013–2018 The Apache Software Foundation. All rights reserved.