Class XmlElements
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-java-type-adapter" 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
Modifier and TypeFieldDescriptionprotected String
protected Boolean
protected Boolean
protected XmlAccessMethods
protected List<XmlElement>
protected XmlElementWrapper
protected Boolean
protected XmlJavaTypeAdapter
protected List<XmlJoinNodes>
protected Boolean
protected XmlProperties
Fields inherited from class org.eclipse.persistence.jaxb.xmlmodel.JavaAttribute
javaAttribute, xmlAccessorType
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the value of the containerType property.Gets the value of the xmlAccessMethods property.Gets the value of the xmlElement property.Gets the value of the xmlElementWrapper property.Gets the value of the xmlJavaTypeAdapter property.Gets the value of the xmlJoinNodes property.Gets the value of the xmlProperties property.boolean
Indicates if xmlJoinNodes has been set, i.e.boolean
Gets the value of the readOnly property.boolean
Indicates if readOnly has been set, i.e.boolean
Indicates if writeOnly has been set, i.e.boolean
Gets the value of the writeOnly property.boolean
Gets the value of the xmlIdref property.boolean
Gets the value of the xmlList property.void
setContainerType
(String value) Sets the value of the containerType property.void
setReadOnly
(Boolean value) Sets the value of the readOnly property.void
setWriteOnly
(Boolean value) Sets the value of the writeOnly property.void
Sets the value of the xmlAccessMethods property.void
Sets the value of the xmlElementWrapper property.void
setXmlIdref
(Boolean value) Sets the value of the xmlIdref property.void
Sets the value of the xmlJavaTypeAdapter property.void
setXmlList
(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, getXmlAccessorType, setJavaAttribute, setXmlAccessorType
-
Field Details
-
xmlAccessMethods
-
xmlElement
-
xmlElementWrapper
-
xmlJavaTypeAdapter
-
xmlProperties
-
xmlJoinNodes
-
xmlIdref
-
xmlList
-
readOnly
-
writeOnly
-
containerType
-
-
Constructor Details
-
XmlElements
public XmlElements()
-
-
Method Details
-
getXmlAccessMethods
Gets the value of the xmlAccessMethods property.- Returns:
- possible object is
XmlAccessMethods
-
setXmlAccessMethods
Sets the value of the xmlAccessMethods property.- Parameters:
value
- allowed object isXmlAccessMethods
-
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
Gets the value of the xmlElementWrapper property.- Returns:
- possible object is
XmlElementWrapper
-
setXmlElementWrapper
Sets the value of the xmlElementWrapper property.- Parameters:
value
- allowed object isXmlElementWrapper
-
getXmlJavaTypeAdapter
Gets the value of the xmlJavaTypeAdapter property.- Returns:
- possible object is
XmlJavaTypeAdapter
-
setXmlJavaTypeAdapter
Sets the value of the xmlJavaTypeAdapter property.- Parameters:
value
- allowed object isXmlJavaTypeAdapter
-
getXmlProperties
Gets the value of the xmlProperties property.- Returns:
- possible object is
XmlProperties
-
setXmlProperties
Sets the value of the xmlProperties property.- Parameters:
value
- allowed object isXmlProperties
-
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
Sets the value of the xmlIdref property.- Parameters:
value
- allowed object isBoolean
-
isXmlList
public boolean isXmlList()Gets the value of the xmlList property.- Returns:
- possible object is
Boolean
-
setXmlList
Sets the value of the xmlList property.- Parameters:
value
- allowed object isBoolean
-
isReadOnly
public boolean isReadOnly()Gets the value of the readOnly property.- Returns:
- possible object is
Boolean
-
setReadOnly
Sets the value of the readOnly property.- Parameters:
value
- allowed object isBoolean
-
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
Sets the value of the writeOnly property.- Parameters:
value
- allowed object isBoolean
-
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
Gets the value of the containerType property.- Returns:
- possible object is
String
-
setContainerType
Sets the value of the containerType property.- Parameters:
value
- allowed object isString
-