public class Enumeration extends Type
Java class for Enumeration complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Enumeration">
<complexContent>
<extension base="{http://plasma.org/metamodel}Type">
<sequence>
<element ref="{http://plasma.org/metamodel}Documentation" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{http://plasma.org/metamodel}EnumerationLiteral" maxOccurs="unbounded"/>
</sequence>
<attribute name="uri" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<Documentation> |
documentations |
protected List<EnumerationLiteral> |
enumerationLiterals |
protected String |
uri |
alias, derivation, name| Constructor and Description |
|---|
Enumeration() |
| Modifier and Type | Method and Description |
|---|---|
List<Documentation> |
getDocumentations()
Gets the value of the documentations property.
|
List<EnumerationLiteral> |
getEnumerationLiterals()
Gets the value of the enumerationLiterals property.
|
String |
getUri()
Gets the value of the uri property.
|
void |
setUri(String value)
Sets the value of the uri property.
|
getAlias, getDerivation, getName, setAlias, setDerivation, setNameprotected List<Documentation> documentations
protected List<EnumerationLiteral> enumerationLiterals
protected String uri
public List<Documentation> getDocumentations()
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 documentations property.
For example, to add a new item, do as follows:
getDocumentations().add(newItem);
Objects of the following type(s) are allowed in the list
Documentation
public List<EnumerationLiteral> getEnumerationLiterals()
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 enumerationLiterals property.
For example, to add a new item, do as follows:
getEnumerationLiterals().add(newItem);
Objects of the following type(s) are allowed in the list
EnumerationLiteral
public String getUri()
StringCopyright © 2017. All rights reserved.