EclipseLink 2.3.2, build 'v20111125-r10461' API Reference

org.eclipse.persistence.jaxb.xmlmodel
Class XmlProperties

java.lang.Object
  extended by org.eclipse.persistence.jaxb.xmlmodel.XmlProperties

public class XmlProperties
extends java.lang.Object

Java class for xml-properties complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="xml-properties">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="xml-property" maxOccurs="unbounded" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
                 <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
                 <attribute name="value-type" type="{http://www.w3.org/2001/XMLSchema}string" default="java.lang.String" />
               </restriction>
             </complexContent>
           </complexType>
         </element>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Nested Class Summary
static class XmlProperties.XmlProperty
          Java class for anonymous complex type.
 
Field Summary
protected  java.util.List<XmlProperties.XmlProperty> xmlProperty
           
 
Constructor Summary
XmlProperties()
           
 
Method Summary
 java.util.List<XmlProperties.XmlProperty> getXmlProperty()
          Gets the value of the xmlProperty property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

xmlProperty

protected java.util.List<XmlProperties.XmlProperty> xmlProperty
Constructor Detail

XmlProperties

public XmlProperties()
Method Detail

getXmlProperty

public java.util.List<XmlProperties.XmlProperty> getXmlProperty()
Gets the value of the xmlProperty 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 xmlProperty property.

For example, to add a new item, do as follows:

    getXmlProperty().add(newItem);
 

Objects of the following type(s) are allowed in the list XmlProperties.XmlProperty


EclipseLink 2.3.2, build 'v20111125-r10461' API Reference