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

public class XmlProperties extends 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>
 
  • Field Details

  • Constructor Details

    • XmlProperties

      public XmlProperties()
  • Method Details

    • getXmlProperty

      public 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