EclipseLink 2.0.0, build 'v20091127-r5931' API Reference

org.eclipse.persistence.jaxb.xmlmodel
Class XmlElements

java.lang.Object
  extended by org.eclipse.persistence.jaxb.xmlmodel.JavaAttribute
      extended by org.eclipse.persistence.jaxb.xmlmodel.XmlElements

public class XmlElements
extends JavaAttribute

Java class for anonymous complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType>
   <complexContent>
     <extension base="{http://www.eclipse.org/eclipselink/xsds/persistence/oxm}java-attribute">
       <sequence>
         <element ref="{http://www.eclipse.org/eclipselink/xsds/persistence/oxm}xml-element" maxOccurs="unbounded"/>
         <element ref="{http://www.eclipse.org/eclipselink/xsds/persistence/oxm}xml-element-wrapper" minOccurs="0"/>
       </sequence>
       <attribute name="xml-idref" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="xml-list" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
     </extension>
   </complexContent>
 </complexType>
 


Field Summary
protected  java.util.List<XmlElement> xmlElement
           
protected  XmlElementWrapper xmlElementWrapper
           
protected  java.lang.Boolean xmlIdref
           
protected  java.lang.Boolean xmlList
           
 
Fields inherited from class org.eclipse.persistence.jaxb.xmlmodel.JavaAttribute
javaAttribute
 
Constructor Summary
XmlElements()
           
 
Method Summary
 java.util.List<XmlElement> getXmlElement()
          Gets the value of the xmlElement property.
 XmlElementWrapper getXmlElementWrapper()
          Gets the value of the xmlElementWrapper property.
 boolean isXmlIdref()
          Gets the value of the xmlIdref property.
 boolean isXmlList()
          Gets the value of the xmlList property.
 void setXmlElementWrapper(XmlElementWrapper value)
          Sets the value of the xmlElementWrapper property.
 void setXmlIdref(java.lang.Boolean value)
          Sets the value of the xmlIdref property.
 void setXmlList(java.lang.Boolean value)
          Sets the value of the xmlList property.
 
Methods inherited from class org.eclipse.persistence.jaxb.xmlmodel.JavaAttribute
getJavaAttribute, setJavaAttribute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

xmlElement

protected java.util.List<XmlElement> xmlElement

xmlElementWrapper

protected XmlElementWrapper xmlElementWrapper

xmlIdref

protected java.lang.Boolean xmlIdref

xmlList

protected java.lang.Boolean xmlList
Constructor Detail

XmlElements

public XmlElements()
Method Detail

getXmlElement

public java.util.List<XmlElement> getXmlElement()
Gets the value of the xmlElement 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 xmlElement property.

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

    getXmlElement().add(newItem);
 

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


getXmlElementWrapper

public XmlElementWrapper getXmlElementWrapper()
Gets the value of the xmlElementWrapper property.

Returns:
possible object is XmlElementWrapper

setXmlElementWrapper

public void setXmlElementWrapper(XmlElementWrapper value)
Sets the value of the xmlElementWrapper property.

Parameters:
value - allowed object is XmlElementWrapper

isXmlIdref

public boolean isXmlIdref()
Gets the value of the xmlIdref property.

Returns:
possible object is Boolean

setXmlIdref

public void setXmlIdref(java.lang.Boolean value)
Sets the value of the xmlIdref property.

Parameters:
value - allowed object is Boolean

isXmlList

public boolean isXmlList()
Gets the value of the xmlList property.

Returns:
possible object is Boolean

setXmlList

public void setXmlList(java.lang.Boolean value)
Sets the value of the xmlList property.

Parameters:
value - allowed object is Boolean

EclipseLink 2.0.0, build 'v20091127-r5931' API Reference