org.eclipse.persistence.jaxb.xmlmodel
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 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"/> </sequence> </extension> </complexContent> </complexType>
Constructor and Description |
---|
XmlElementRefs() |
Modifier and Type | Method and Description |
---|---|
List<XmlElementRef> |
getXmlElementRef()
Gets the value of the xmlElementRef property.
|
XmlElementWrapper |
getXmlElementWrapper()
Gets the value of the xmlElementWrapper property.
|
void |
setXmlElementWrapper(XmlElementWrapper value)
Sets the value of the xmlElementWrapper property.
|
getJavaAttribute, setJavaAttribute
public List<XmlElementRef> getXmlElementRef()
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
public XmlElementWrapper getXmlElementWrapper()
XmlElementWrapper
public void setXmlElementWrapper(XmlElementWrapper value)
value
- allowed object is
XmlElementWrapper