Package org.oasisopen.odata.csdl.v4
Class TEnumTypeMember
- java.lang.Object
-
- org.oasisopen.odata.csdl.v4.TEnumTypeMember
-
public class TEnumTypeMember extends Object
Java class for TEnumTypeMember complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="TEnumTypeMember"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element ref="{http://docs.oasis-open.org/odata/ns/edm}Annotation" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="Name" use="required" type="{http://docs.oasis-open.org/odata/ns/edm}TSimpleIdentifier" /> <attribute name="Value" type="{http://www.w3.org/2001/XMLSchema}long" /> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected List<Annotation>annotationprotected Stringnameprotected Longvalue
-
Constructor Summary
Constructors Constructor Description TEnumTypeMember()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Annotation>getAnnotation()Gets the value of the annotation property.StringgetName()Gets the value of the name property.LonggetValue()Gets the value of the value property.voidsetName(String value)Sets the value of the name property.voidsetValue(Long value)Sets the value of the value property.
-
-
-
Field Detail
-
annotation
protected List<Annotation> annotation
-
name
protected String name
-
value
protected Long value
-
-
Method Detail
-
getAnnotation
public List<Annotation> getAnnotation()
Gets the value of the annotation property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the annotation property.For example, to add a new item, do as follows:
getAnnotation().add(newItem);Objects of the following type(s) are allowed in the list
Annotation
-
getName
public String getName()
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
public void setName(String value)
Sets the value of the name property.- Parameters:
value- allowed object isString
-
getValue
public Long getValue()
Gets the value of the value property.- Returns:
- possible object is
Long
-
-