EclipseLink 2.2.0, build 'v20110202-r8913' API Reference

org.eclipse.persistence.jaxb.xmlmodel
Class XmlBindings.XmlEnums

java.lang.Object
  extended by org.eclipse.persistence.jaxb.xmlmodel.XmlBindings.XmlEnums
Enclosing class:
XmlBindings

public static class XmlBindings.XmlEnums
extends java.lang.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" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  java.util.List<XmlEnum> xmlEnum
           
 
Constructor Summary
XmlBindings.XmlEnums()
           
 
Method Summary
 java.util.List<XmlEnum> getXmlEnum()
          Gets the value of the xmlEnum property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

xmlEnum

protected java.util.List<XmlEnum> xmlEnum
Constructor Detail

XmlBindings.XmlEnums

public XmlBindings.XmlEnums()
Method Detail

getXmlEnum

public java.util.List<XmlEnum> getXmlEnum()
Gets the value of the xmlEnum property.

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 xmlEnum property.

For example, to add a new item, do as follows:

    getXmlEnum().add(newItem);
 

Objects of the following type(s) are allowed in the list XmlEnum


EclipseLink 2.2.0, build 'v20110202-r8913' API Reference