EclipseLink 2.2.0, build 'v20110202-r8913' 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 name="xml-access-methods" type="{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-ref" 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"/>
       </sequence>
       <attribute name="xml-mixed" 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<XmlElementRef> xmlElementRef
           
protected  XmlElementWrapper xmlElementWrapper
           
protected  java.lang.Boolean xmlMixed
           
protected  XmlProperties xmlProperties
           
 
Fields inherited from class org.eclipse.persistence.jaxb.xmlmodel.JavaAttribute
javaAttribute
 
Constructor Summary
XmlElementRefs()
           
 
Method Summary
 XmlAccessMethods getXmlAccessMethods()
          Gets the value of the xmlAccessMethods property.
 java.util.List<XmlElementRef> getXmlElementRef()
          Gets the value of the xmlElementRef property.
 XmlElementWrapper getXmlElementWrapper()
          Gets the value of the xmlElementWrapper property.
 XmlProperties getXmlProperties()
          Gets the value of the xmlProperties property.
 boolean isReadOnly()
          Gets the value of the readOnly property.
 boolean isSetReadOnly()
          Indicates if the readOnly property has been set, i.e.
 boolean isSetWriteOnly()
          Indicates if the writeOnly property has been set, i.e.
 boolean isSetXmlMixed()
          Indicates if the mixed flag has been set, i.e. is non-null.
 boolean isWriteOnly()
          Gets the value of the writeOnly property.
 boolean isXmlMixed()
          Gets the value of the xmlMixed 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 setXmlMixed(java.lang.Boolean value)
          Sets the value of the xmlMixed 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

xmlElementRef

protected java.util.List<XmlElementRef> xmlElementRef

xmlElementWrapper

protected XmlElementWrapper xmlElementWrapper

xmlProperties

protected XmlProperties xmlProperties

xmlMixed

protected java.lang.Boolean xmlMixed

readOnly

protected java.lang.Boolean readOnly

writeOnly

protected java.lang.Boolean writeOnly
Constructor Detail

XmlElementRefs

public XmlElementRefs()
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

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

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

isXmlMixed

public boolean isXmlMixed()
Gets the value of the xmlMixed property.

Returns:
possible object is Boolean

setXmlMixed

public void setXmlMixed(java.lang.Boolean value)
Sets the value of the xmlMixed property.

Parameters:
value - allowed object is Boolean

isSetXmlMixed

public boolean isSetXmlMixed()
Indicates if the mixed flag has been set, i.e. is non-null.


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 the readOnly property has been set, i.e. is non-null.

Returns:
true if readOnly is non-null, otherwise false

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 the writeOnly property has been set, i.e. is non-null.

Returns:
true if writeOnly is non-null, otherwise false

EclipseLink 2.2.0, build 'v20110202-r8913' API Reference