|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.jpaxjc.ns.persistence.orm.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")
public class PersistenceUnitDefaultsThese defaults are applied to the persistence unit as a whole unless they are overridden by local annotation or XML element settings. schema - Used as the schema for all tables or secondary tables that apply to the persistence unit catalog - Used as the catalog for all tables or secondary tables that apply to the persistence unit access - Used as the access type for all managed classes in the persistence unit cascade-persist - Adds cascade-persist to the set of cascade options in entity relationships of the persistence unit entity-listeners - List of default entity listeners to be invoked on each entity in the persistence unit.
Java class for persistence-unit-defaults complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="persistence-unit-defaults">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="schema" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="catalog" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="access" type="{http://java.sun.com/xml/ns/persistence/orm}access-type" minOccurs="0"/>
<element name="cascade-persist" type="{http://java.sun.com/xml/ns/persistence/orm}emptyType" minOccurs="0"/>
<element name="entity-listeners" type="{http://java.sun.com/xml/ns/persistence/orm}entity-listeners" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Field Summary | |
|---|---|
protected AccessType |
access
|
protected EmptyType |
cascadePersist
|
protected String |
catalog
|
protected EntityListeners |
entityListeners
|
protected String |
schema
|
| Constructor Summary | |
|---|---|
PersistenceUnitDefaults()
Creates a new PersistenceUnitDefaults instance. |
|
PersistenceUnitDefaults(PersistenceUnitDefaults o)
Creates a new PersistenceUnitDefaults instance by deeply copying a given PersistenceUnitDefaults instance. |
|
| Method Summary | |
|---|---|
PersistenceUnitDefaults |
clone()
Creates and returns a deep copy of this object. |
AccessType |
getAccess()
Gets the value of the access property. |
EmptyType |
getCascadePersist()
Gets the value of the cascadePersist property. |
String |
getCatalog()
Gets the value of the catalog property. |
EntityListeners |
getEntityListeners()
Gets the value of the entityListeners property. |
String |
getSchema()
Gets the value of the schema property. |
void |
setAccess(AccessType value)
Sets the value of the access property. |
void |
setCascadePersist(EmptyType value)
Sets the value of the cascadePersist property. |
void |
setCatalog(String value)
Sets the value of the catalog property. |
void |
setEntityListeners(EntityListeners value)
Sets the value of the entityListeners property. |
void |
setSchema(String value)
Sets the value of the schema property. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
@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 String schema
@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 String catalog
@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 AccessType access
@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 cascadePersist
@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 EntityListeners entityListeners
| Constructor Detail |
|---|
public PersistenceUnitDefaults()
PersistenceUnitDefaults instance.
public PersistenceUnitDefaults(PersistenceUnitDefaults o)
PersistenceUnitDefaults instance by deeply copying a given PersistenceUnitDefaults instance.
o - The instance to copy.
NullPointerException - if o is null.| Method Detail |
|---|
@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 String getSchema()
String
@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 setSchema(String value)
value - allowed object is
String
@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 String getCatalog()
String
@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 setCatalog(String value)
value - allowed object is
String
@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 AccessType getAccess()
AccessType
@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 setAccess(AccessType value)
value - allowed object is
AccessType
@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 getCascadePersist()
EmptyType
@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 setCascadePersist(EmptyType value)
value - allowed object is
EmptyType
@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 EntityListeners getEntityListeners()
EntityListeners
@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 setEntityListeners(EntityListeners value)
value - allowed object is
EntityListeners
@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 clone()
clone in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||