|
EclipseLink 2.0.0, build 'v20091127-r5931' API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.persistence.jaxb.xmlmodel.XmlEnum
public class XmlEnum
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" /> </restriction> </complexContent> </complexType>
Field Summary | |
---|---|
protected java.lang.String |
javaEnum
|
protected java.util.List<XmlEnumValue> |
xmlEnumValue
|
Constructor Summary | |
---|---|
XmlEnum()
|
Method Summary | |
---|---|
java.lang.String |
getJavaEnum()
Gets the value of the javaEnum property. |
java.util.List<XmlEnumValue> |
getXmlEnumValue()
Gets the value of the xmlEnumValue property. |
void |
setJavaEnum(java.lang.String value)
Sets the value of the javaEnum property. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.util.List<XmlEnumValue> xmlEnumValue
protected java.lang.String javaEnum
Constructor Detail |
---|
public XmlEnum()
Method Detail |
---|
public java.util.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 java.lang.String getJavaEnum()
String
public void setJavaEnum(java.lang.String value)
value
- allowed object is
String
|
EclipseLink 2.0.0, build 'v20091127-r5931' API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |