net.sourceforge.jpaxjc.ns.persistence
Class Persistence.PersistenceUnit.Properties

java.lang.Object
  extended by net.sourceforge.jpaxjc.ns.persistence.Persistence.PersistenceUnit.Properties
All Implemented Interfaces:
Cloneable
Enclosing class:
Persistence.PersistenceUnit

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public static class Persistence.PersistenceUnit.Properties
extends Object
implements Cloneable

Java class for anonymous complex type.

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

 <complexType>
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="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" />
               </restriction>
             </complexContent>
           </complexType>
         </element>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Nested Class Summary
static class Persistence.PersistenceUnit.Properties.Property
          Java class for anonymous complex type.
 
Field Summary
protected  List<Persistence.PersistenceUnit.Properties.Property> property
           
 
Constructor Summary
Persistence.PersistenceUnit.Properties()
          Creates a new Properties instance.
Persistence.PersistenceUnit.Properties(Persistence.PersistenceUnit.Properties o)
          Creates a new Properties instance by deeply copying a given Properties instance.
 
Method Summary
 Persistence.PersistenceUnit.Properties clone()
          Creates and returns a deep copy of this object.
 List<Persistence.PersistenceUnit.Properties.Property> getProperty()
          Gets the value of the property property.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

property

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
protected List<Persistence.PersistenceUnit.Properties.Property> property
Constructor Detail

Persistence.PersistenceUnit.Properties

public Persistence.PersistenceUnit.Properties()
Creates a new Properties instance.


Persistence.PersistenceUnit.Properties

public Persistence.PersistenceUnit.Properties(Persistence.PersistenceUnit.Properties o)
Creates a new Properties instance by deeply copying a given Properties instance.

Parameters:
o - The instance to copy.
Throws:
NullPointerException - if o is null.
Method Detail

getProperty

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public List<Persistence.PersistenceUnit.Properties.Property> getProperty()
Gets the value of the property 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 property property.

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

    getProperty().add(newItem);
 

Objects of the following type(s) are allowed in the list Persistence.PersistenceUnit.Properties.Property


clone

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public Persistence.PersistenceUnit.Properties clone()
Creates and returns a deep copy of this object.

Overrides:
clone in class Object
Returns:
A deep copy of this object.


Copyright © 2009-2010 The JPA-XJC Community. All Rights Reserved.