public class EnumeratedType extends AtomicType
Java class for EnumeratedType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="EnumeratedType"> <complexContent> <extension base="{http://www.miuml.org/metamodel}AtomicType"> <sequence> <element name="DefaultValue" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="Value" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/> </sequence> </extension> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected String |
defaultValue |
protected List<String> |
value |
element, localName
Constructor and Description |
---|
EnumeratedType() |
Modifier and Type | Method and Description |
---|---|
String |
getDefaultValue()
Gets the value of the defaultValue property.
|
List<String> |
getValue()
Gets the value of the value property.
|
void |
setDefaultValue(String value)
Sets the value of the defaultValue property.
|
getElement, getLocalName, setElement, setLocalName
public String getDefaultValue()
String
public void setDefaultValue(String value)
value
- allowed object is
String
public List<String> getValue()
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 Jakarta XML Binding object.
This is why there is not a set
method for the value property.
For example, to add a new item, do as follows:
getValue().add(newItem);
Objects of the following type(s) are allowed in the list
String
Copyright © 2012–2022. All rights reserved.