Class XmlElementRefs
java.lang.Object
org.eclipse.persistence.jaxb.xmlmodel.JavaAttribute
org.eclipse.persistence.jaxb.xmlmodel.XmlElementRefs
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">
<element ref="{http://www.eclipse.org/eclipselink/xsds/persistence/oxm}xml-java-type-adapter" 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
FieldsModifier and TypeFieldDescriptionprotected Booleanprotected Booleanprotected XmlAccessMethodsprotected List<XmlElementRef>protected XmlElementWrapperprotected XmlJavaTypeAdapterprotected Booleanprotected XmlPropertiesFields inherited from class org.eclipse.persistence.jaxb.xmlmodel.JavaAttribute
javaAttribute, xmlAccessorType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the xmlAccessMethods property.Gets the value of the xmlElementRef property.Gets the value of the xmlElementWrapper property.Gets the value of the xmlJavaTypeAdapter property.Gets the value of the xmlProperties property.booleanGets the value of the readOnly property.booleanIndicates if the readOnly property has been set, i.e.booleanIndicates if the writeOnly property has been set, i.e.booleanIndicates if the mixed flag has been set, i.e.booleanGets the value of the writeOnly property.booleanGets the value of the xmlMixed property.voidsetReadOnly(Boolean value) Sets the value of the readOnly property.voidsetWriteOnly(Boolean value) Sets the value of the writeOnly property.voidSets the value of the xmlAccessMethods property.voidSets the value of the xmlElementWrapper property.voidSets the value of the xmlJavaTypeAdapter property.voidsetXmlMixed(Boolean value) Sets the value of the xmlMixed property.voidsetXmlProperties(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
-
xmlElementRef
-
xmlElementWrapper
-
xmlProperties
-
xmlJavaTypeAdapter
-
xmlMixed
-
readOnly
-
writeOnly
-
-
Constructor Details
-
XmlElementRefs
public XmlElementRefs()
-
-
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
-
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
setmethod 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
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
-
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
-
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
-
isXmlMixed
public boolean isXmlMixed()Gets the value of the xmlMixed property.- Returns:
- possible object is
Boolean
-
setXmlMixed
Sets the value of the xmlMixed property.- Parameters:
value- allowed object isBoolean
-
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
Sets the value of the readOnly property.- Parameters:
value- allowed object isBoolean
-
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
Sets the value of the writeOnly property.- Parameters:
value- allowed object isBoolean
-
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
-