net.sourceforge.ccxjc.it.model.priv.collections.valueclass.persistence.orm
Class PersistenceUnitMetadata

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.priv.collections.valueclass.persistence.orm.PersistenceUnitMetadata
All Implemented Interfaces:
Serializable, Cloneable

public class PersistenceUnitMetadata
extends Object
implements Serializable, 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>
 

See Also:
Serialized Form

Field Summary
protected  PersistenceUnitDefaults persistenceUnitDefaults
           
protected  EmptyType xmlMappingMetadataComplete
           
 
Constructor Summary
PersistenceUnitMetadata()
          Creates a new net.sourceforge.ccxjc.it.model.priv.collections.valueclass.persistence.orm.PersistenceUnitMetadata instance.
PersistenceUnitMetadata(PersistenceUnitMetadata o)
          Creates a new net.sourceforge.ccxjc.it.model.priv.collections.valueclass.persistence.orm.PersistenceUnitMetadata instance by copying a given instance.
 
Method Summary
 PersistenceUnitMetadata clone()
          Creates and returns a 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

protected EmptyType xmlMappingMetadataComplete

persistenceUnitDefaults

protected PersistenceUnitDefaults persistenceUnitDefaults
Constructor Detail

PersistenceUnitMetadata

public PersistenceUnitMetadata()
Creates a new net.sourceforge.ccxjc.it.model.priv.collections.valueclass.persistence.orm.PersistenceUnitMetadata instance.


PersistenceUnitMetadata

public PersistenceUnitMetadata(PersistenceUnitMetadata o)
Creates a new net.sourceforge.ccxjc.it.model.priv.collections.valueclass.persistence.orm.PersistenceUnitMetadata instance by copying a given instance.

Parameters:
o - The instance to copy or null.
Method Detail

getXmlMappingMetadataComplete

public EmptyType getXmlMappingMetadataComplete()
Gets the value of the xmlMappingMetadataComplete property.

Returns:
possible object is EmptyType

setXmlMappingMetadataComplete

public void setXmlMappingMetadataComplete(EmptyType value)
Sets the value of the xmlMappingMetadataComplete property.

Parameters:
value - allowed object is EmptyType

getPersistenceUnitDefaults

public PersistenceUnitDefaults getPersistenceUnitDefaults()
Gets the value of the persistenceUnitDefaults property.

Returns:
possible object is PersistenceUnitDefaults

setPersistenceUnitDefaults

public void setPersistenceUnitDefaults(PersistenceUnitDefaults value)
Sets the value of the persistenceUnitDefaults property.

Parameters:
value - allowed object is PersistenceUnitDefaults

clone

public PersistenceUnitMetadata clone()
Creates and returns a copy of this object.

Overrides:
clone in class Object
Returns:
A clone of this instance.


Copyright © 2009 The CC-XJC Community. All Rights Reserved.