EclipseLink 2.1.2, build 'v20101206-r8635' 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-access-methods" minOccurs="0"/>
         <element ref="{http://www.eclipse.org/eclipselink/xsds/persistence/oxm}xml-element" maxOccurs="unbounded" minOccurs="0"/>
         <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" />
       <attribute name="read-only" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="write-only" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
     </extension>
   </complexContent>
 </complexType>
 


Field Summary
protected  java.lang.Boolean readOnly
           
protected  java.lang.Boolean writeOnly
           
protected  XmlAccessMethods xmlAccessMethods
           
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
 XmlAccessMethods getXmlAccessMethods()
          Gets the value of the xmlAccessMethods property.
 java.util.List<XmlElement> getXmlElement()
          Gets the value of the xmlElement property.
 XmlElementWrapper getXmlElementWrapper()
          Gets the value of the xmlElementWrapper property.
 boolean isReadOnly()
          Gets the value of the readOnly property.
 boolean isSetReadOnly()
          Indicates if readOnly has been set, i.e. is non-null.
 boolean isSetWriteOnly()
          Indicates if writeOnly has been set, i.e. is non-null.
 boolean isWriteOnly()
          Gets the value of the writeOnly property.
 boolean isXmlIdref()
          Gets the value of the xmlIdref property.
 boolean isXmlList()
          Gets the value of the xmlList property.
 void setReadOnly(java.lang.Boolean value)
          Sets the value of the readOnly property.
 void setWriteOnly(java.lang.Boolean value)
          Sets the value of the writeOnly property.
 void setXmlAccessMethods(XmlAccessMethods value)
          Sets the value of the xmlAccessMethods 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

xmlAccessMethods

protected XmlAccessMethods xmlAccessMethods

xmlElement

protected java.util.List<XmlElement> xmlElement

xmlElementWrapper

protected XmlElementWrapper xmlElementWrapper

xmlIdref

protected java.lang.Boolean xmlIdref

xmlList

protected java.lang.Boolean xmlList

readOnly

protected java.lang.Boolean readOnly

writeOnly

protected java.lang.Boolean writeOnly
Constructor Detail

XmlElements

public XmlElements()
Method Detail

getXmlAccessMethods

public XmlAccessMethods getXmlAccessMethods()
Gets the value of the xmlAccessMethods property.

Returns:
possible object is XmlAccessMethods

setXmlAccessMethods

public void setXmlAccessMethods(XmlAccessMethods value)
Sets the value of the xmlAccessMethods property.

Parameters:
value - allowed object is XmlAccessMethods

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

isReadOnly

public boolean isReadOnly()
Gets the value of the readOnly property.

Returns:
possible object is Boolean

setReadOnly

public void setReadOnly(java.lang.Boolean value)
Sets the value of the readOnly property.

Parameters:
value - allowed object is Boolean

isSetReadOnly

public boolean isSetReadOnly()
Indicates if readOnly has been set, i.e. is non-null.

Returns:
true if readOnly has been set, i.e. is non-null, false otherwise

isWriteOnly

public boolean isWriteOnly()
Gets the value of the writeOnly property.

Returns:
possible object is Boolean

setWriteOnly

public void setWriteOnly(java.lang.Boolean value)
Sets the value of the writeOnly property.

Parameters:
value - allowed object is Boolean

isSetWriteOnly

public boolean isSetWriteOnly()
Indicates if writeOnly has been set, i.e. is non-null.

Returns:
true if writeOnly has been set, i.e. is non-null, false otherwise

EclipseLink 2.1.2, build 'v20101206-r8635' API Reference