public class EnumerationLiteral extends NamedElement
Java class for EnumerationLiteral complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="EnumerationLiteral">
<complexContent>
<extension base="{http://plasma.org/metamodel}NamedElement">
<sequence>
<element ref="{http://plasma.org/metamodel}Documentation" maxOccurs="unbounded"/>
</sequence>
<attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<Documentation> |
documentations |
protected String |
value |
alias, derivation, name| Constructor and Description |
|---|
EnumerationLiteral() |
| Modifier and Type | Method and Description |
|---|---|
List<Documentation> |
getDocumentations()
Gets the value of the documentations property.
|
String |
getValue()
Gets the value of the value property.
|
void |
setValue(String value)
Sets the value of the value property.
|
getAlias, getDerivation, getName, setAlias, setDerivation, setNameprotected List<Documentation> documentations
protected String value
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 String getValue()
StringCopyright © 2019. All rights reserved.