net.sourceforge.jpaxjc.ns.persistence.orm
Class PersistenceUnitMetadata

java.lang.Object
  extended by net.sourceforge.jpaxjc.ns.persistence.orm.PersistenceUnitMetadata
All Implemented Interfaces:
Cloneable

@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 class PersistenceUnitMetadata
extends Object
implements Cloneable

Metadata that applies to the persistence unit and not just to the mapping file in which it is contained. If the xml-mapping-metadata-complete element is specified then the complete set of mapping metadata for the persistence unit is contained in the XML mapping files for the persistence unit.

Java class for persistence-unit-metadata complex type.

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

 <complexType name="persistence-unit-metadata">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="xml-mapping-metadata-complete" type="{http://java.sun.com/xml/ns/persistence/orm}emptyType" minOccurs="0"/>
         <element name="persistence-unit-defaults" type="{http://java.sun.com/xml/ns/persistence/orm}persistence-unit-defaults" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  PersistenceUnitDefaults persistenceUnitDefaults
           
protected  EmptyType xmlMappingMetadataComplete
           
 
Constructor Summary
PersistenceUnitMetadata()
          Creates a new PersistenceUnitMetadata instance.
PersistenceUnitMetadata(PersistenceUnitMetadata o)
          Creates a new PersistenceUnitMetadata instance by deeply copying a given PersistenceUnitMetadata instance.
 
Method Summary
 PersistenceUnitMetadata clone()
          Creates and returns a deep copy of this object.
 PersistenceUnitDefaults getPersistenceUnitDefaults()
          Gets the value of the persistenceUnitDefaults property.
 EmptyType getXmlMappingMetadataComplete()
          Gets the value of the xmlMappingMetadataComplete property.
 void setPersistenceUnitDefaults(PersistenceUnitDefaults value)
          Sets the value of the persistenceUnitDefaults property.
 void setXmlMappingMetadataComplete(EmptyType value)
          Sets the value of the xmlMappingMetadataComplete property.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

xmlMappingMetadataComplete

@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 EmptyType xmlMappingMetadataComplete

persistenceUnitDefaults

@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 PersistenceUnitDefaults persistenceUnitDefaults
Constructor Detail

PersistenceUnitMetadata

public PersistenceUnitMetadata()
Creates a new PersistenceUnitMetadata instance.


PersistenceUnitMetadata

public PersistenceUnitMetadata(PersistenceUnitMetadata o)
Creates a new PersistenceUnitMetadata instance by deeply copying a given PersistenceUnitMetadata instance.

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

getXmlMappingMetadataComplete

@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 EmptyType getXmlMappingMetadataComplete()
Gets the value of the xmlMappingMetadataComplete property.

Returns:
possible object is EmptyType

setXmlMappingMetadataComplete

@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 void setXmlMappingMetadataComplete(EmptyType value)
Sets the value of the xmlMappingMetadataComplete property.

Parameters:
value - allowed object is EmptyType

getPersistenceUnitDefaults

@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 PersistenceUnitDefaults getPersistenceUnitDefaults()
Gets the value of the persistenceUnitDefaults property.

Returns:
possible object is PersistenceUnitDefaults

setPersistenceUnitDefaults

@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 void setPersistenceUnitDefaults(PersistenceUnitDefaults value)
Sets the value of the persistenceUnitDefaults property.

Parameters:
value - allowed object is PersistenceUnitDefaults

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 PersistenceUnitMetadata 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.