public class XmlEnum extends Object
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element ref="{http://www.eclipse.org/eclipselink/xsds/persistence/oxm}xml-enum-value" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="java-enum" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" default="java.lang.String" /> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected String |
javaEnum |
protected String |
value |
protected List<XmlEnumValue> |
xmlEnumValue |
Constructor and Description |
---|
XmlEnum() |
Modifier and Type | Method and Description |
---|---|
String |
getJavaEnum()
Gets the value of the javaEnum property.
|
String |
getValue()
Gets the value of the value property.
|
List<XmlEnumValue> |
getXmlEnumValue()
Gets the value of the xmlEnumValue property.
|
void |
setJavaEnum(String value)
Sets the value of the javaEnum property.
|
void |
setValue(String value)
Sets the value of the value property.
|
protected List<XmlEnumValue> xmlEnumValue
protected String javaEnum
protected String value
public List<XmlEnumValue> getXmlEnumValue()
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 xmlEnumValue property.
For example, to add a new item, do as follows:
getXmlEnumValue().add(newItem);
Objects of the following type(s) are allowed in the list
XmlEnumValue
public String getJavaEnum()
String
public void setJavaEnum(String value)
value
- allowed object is
String
public String getValue()
String
Copyright © 2007–2021 Eclipse.org - EclipseLink Project. All rights reserved.