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>
| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
isFlags |
protected List<Object> |
memberOrAnnotation |
protected String |
name |
protected List<String> |
underlyingType |
| Constructor and Description |
|---|
TEnumType() |
| Modifier and Type | Method and Description |
|---|---|
List<Object> |
getMemberOrAnnotation()
Gets the value of the memberOrAnnotation property.
|
String |
getName()
Gets the value of the name property.
|
List<String> |
getUnderlyingType()
Gets the value of the underlyingType property.
|
Boolean |
isIsFlags()
Gets the value of the isFlags property.
|
void |
setIsFlags(Boolean value)
Sets the value of the isFlags property.
|
void |
setName(String value)
Sets the value of the name property.
|
public List<Object> getMemberOrAnnotation()
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 set method 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
TEnumTypeMember
Annotation
public Boolean isIsFlags()
Booleanpublic void setIsFlags(Boolean value)
value - allowed object is
Booleanpublic List<String> getUnderlyingType()
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 set method 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
public String getName()
StringCopyright © 2018–2020. All rights reserved.