org.eclipse.persistence.jaxb.xmlmodel
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>
Constructor and Description |
---|
XmlElements() |
Modifier and Type | Method and Description |
---|---|
XmlAccessMethods |
getXmlAccessMethods()
Gets the value of the xmlAccessMethods property.
|
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.
|
boolean |
isSetWriteOnly()
Indicates if writeOnly has been set, i.e.
|
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(Boolean value)
Sets the value of the readOnly property.
|
void |
setWriteOnly(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(Boolean value)
Sets the value of the xmlIdref property.
|
void |
setXmlList(Boolean value)
Sets the value of the xmlList property.
|
getJavaAttribute, setJavaAttribute
public XmlAccessMethods getXmlAccessMethods()
XmlAccessMethods
public void setXmlAccessMethods(XmlAccessMethods value)
value
- allowed object is
XmlAccessMethods
public List<XmlElement> getXmlElement()
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
public XmlElementWrapper getXmlElementWrapper()
XmlElementWrapper
public void setXmlElementWrapper(XmlElementWrapper value)
value
- allowed object is
XmlElementWrapper
public boolean isXmlIdref()
Boolean
public void setXmlIdref(Boolean value)
value
- allowed object is
Boolean
public boolean isXmlList()
Boolean
public void setXmlList(Boolean value)
value
- allowed object is
Boolean
public boolean isReadOnly()
Boolean
public void setReadOnly(Boolean value)
value
- allowed object is
Boolean
public boolean isSetReadOnly()
public boolean isWriteOnly()
Boolean
public void setWriteOnly(Boolean value)
value
- allowed object is
Boolean
public boolean isSetWriteOnly()