EclipseLink 2.2.0, build 'v20110202-r8913' 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"/>
         <element ref="{http://www.eclipse.org/eclipselink/xsds/persistence/oxm}xml-properties" minOccurs="0"/>
         <element ref="{http://www.eclipse.org/eclipselink/xsds/persistence/oxm}xml-join-nodes" maxOccurs="unbounded" 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" />
       <attribute name="container-type" type="{http://www.w3.org/2001/XMLSchema}string" default="##default" />
     </extension>
   </complexContent>
 </complexType>
 


Field Summary
protected  java.lang.String containerType
           
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.util.List<XmlJoinNodes> xmlJoinNodes
           
protected  java.lang.Boolean xmlList
           
protected  XmlProperties xmlProperties
           
 
Fields inherited from class org.eclipse.persistence.jaxb.xmlmodel.JavaAttribute
javaAttribute
 
Constructor Summary
XmlElements()
           
 
Method Summary
 java.lang.String getContainerType()
          Gets the value of the containerType property.
 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.
 java.util.List<XmlJoinNodes> getXmlJoinNodes()
          Gets the value of the xmlJoinNodes property.
 XmlProperties getXmlProperties()
          Gets the value of the xmlProperties property.
 boolean hasXmlJoinNodes()
          Indicates if xmlJoinNodes has been set, i.e. has non-zero size.
 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 setContainerType(java.lang.String value)
          Sets the value of the containerType 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.
 void setXmlProperties(XmlProperties value)
          Sets the value of the xmlProperties 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

xmlProperties

protected XmlProperties xmlProperties

xmlJoinNodes

protected java.util.List<XmlJoinNodes> xmlJoinNodes

xmlIdref

protected java.lang.Boolean xmlIdref

xmlList

protected java.lang.Boolean xmlList

readOnly

protected java.lang.Boolean readOnly

writeOnly

protected java.lang.Boolean writeOnly

containerType

protected java.lang.String containerType
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

getXmlProperties

public XmlProperties getXmlProperties()
Gets the value of the xmlProperties property.

Returns:
possible object is XmlProperties

setXmlProperties

public void setXmlProperties(XmlProperties value)
Sets the value of the xmlProperties property.

Parameters:
value - allowed object is XmlProperties

getXmlJoinNodes

public java.util.List<XmlJoinNodes> getXmlJoinNodes()
Gets the value of the xmlJoinNodes 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 xmlJoinNodes property.

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

    getXmlJoinNodes().add(newItem);
 

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


hasXmlJoinNodes

public boolean hasXmlJoinNodes()
Indicates if xmlJoinNodes has been set, i.e. has non-zero size.

Returns:
true if xmlJoinNodes has been set, i.e. there are one or more entries, false otherwise

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

getContainerType

public java.lang.String getContainerType()
Gets the value of the containerType property.

Returns:
possible object is String

setContainerType

public void setContainerType(java.lang.String value)
Sets the value of the containerType property.

Parameters:
value - allowed object is String

EclipseLink 2.2.0, build 'v20110202-r8913' API Reference