Class TEnumType
- java.lang.Object
-
- org.oasisopen.odata.csdl.v4.TEnumType
-
public class TEnumType extends Object
Java class for TEnumType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="TEnumType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <choice maxOccurs="unbounded"> <element name="Member" type="{http://docs.oasis-open.org/odata/ns/edm}TEnumTypeMember"/> <element ref="{http://docs.oasis-open.org/odata/ns/edm}Annotation"/> </choice> <attGroup ref="{http://docs.oasis-open.org/odata/ns/edm}TTypeAttributes"/> <attribute name="IsFlags" type="{http://www.w3.org/2001/XMLSchema}boolean" /> <attribute name="UnderlyingType" type="{http://docs.oasis-open.org/odata/ns/edm}TTypeName" /> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected BooleanisFlagsprotected List<Object>memberOrAnnotationprotected Stringnameprotected List<String>underlyingType
-
Constructor Summary
Constructors Constructor Description TEnumType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Object>getMemberOrAnnotation()Gets the value of the memberOrAnnotation property.StringgetName()Gets the value of the name property.List<String>getUnderlyingType()Gets the value of the underlyingType property.BooleanisIsFlags()Gets the value of the isFlags property.voidsetIsFlags(Boolean value)Sets the value of the isFlags property.voidsetName(String value)Sets the value of the name property.
-
-
-
Method Detail
-
getMemberOrAnnotation
public List<Object> getMemberOrAnnotation()
Gets the value of the memberOrAnnotation 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 memberOrAnnotation property.For example, to add a new item, do as follows:
getMemberOrAnnotation().add(newItem);Objects of the following type(s) are allowed in the list
TEnumTypeMemberAnnotation
-
isIsFlags
public Boolean isIsFlags()
Gets the value of the isFlags property.- Returns:
- possible object is
Boolean
-
setIsFlags
public void setIsFlags(Boolean value)
Sets the value of the isFlags property.- Parameters:
value- allowed object isBoolean
-
getUnderlyingType
public List<String> getUnderlyingType()
Gets the value of the underlyingType 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 underlyingType property.For example, to add a new item, do as follows:
getUnderlyingType().add(newItem);Objects of the following type(s) are allowed in the list
String
-
getName
public String getName()
Gets the value of the name property.- Returns:
- possible object is
String
-
-