EclipseLink 2.0.0, build 'v20091127-r5931' API Reference

org.eclipse.persistence.jaxb.xmlmodel
Class XmlElementRefs

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

public class XmlElementRefs
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-ref" maxOccurs="unbounded"/>
         <element ref="{http://www.eclipse.org/eclipselink/xsds/persistence/oxm}xml-element-wrapper" minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 


Field Summary
protected  java.util.List<XmlElementRef> xmlElementRef
           
protected  XmlElementWrapper xmlElementWrapper
           
 
Fields inherited from class org.eclipse.persistence.jaxb.xmlmodel.JavaAttribute
javaAttribute
 
Constructor Summary
XmlElementRefs()
           
 
Method Summary
 java.util.List<XmlElementRef> getXmlElementRef()
          Gets the value of the xmlElementRef property.
 XmlElementWrapper getXmlElementWrapper()
          Gets the value of the xmlElementWrapper property.
 void setXmlElementWrapper(XmlElementWrapper value)
          Sets the value of the xmlElementWrapper 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

xmlElementRef

protected java.util.List<XmlElementRef> xmlElementRef

xmlElementWrapper

protected XmlElementWrapper xmlElementWrapper
Constructor Detail

XmlElementRefs

public XmlElementRefs()
Method Detail

getXmlElementRef

public java.util.List<XmlElementRef> getXmlElementRef()
Gets the value of the xmlElementRef 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 xmlElementRef property.

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

    getXmlElementRef().add(newItem);
 

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


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

EclipseLink 2.0.0, build 'v20091127-r5931' API Reference