|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.java.xml.ns.persistence.orm.PersistenceUnitDefaults
public class PersistenceUnitDefaults
These 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, secondary tables, join tables, collection tables, sequence generators, and table generators that apply to the persistence unit catalog - Used as the catalog for all tables, secondary tables, join tables, collection tables, sequence generators, and table generators that apply to the persistence unit delimited-identifiers - Used to treat database identifiers as delimited identifiers. 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 all 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="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<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="delimited-identifiers" type="{http://java.sun.com/xml/ns/persistence/orm}emptyType" 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 String |
access
|
protected EmptyType |
cascadePersist
|
protected String |
catalog
|
protected EmptyType |
delimitedIdentifiers
|
protected String |
description
|
protected EntityListeners |
entityListeners
|
protected String |
schema
|
| Constructor Summary | |
|---|---|
PersistenceUnitDefaults()
|
|
| Method Summary | |
|---|---|
Object |
clone()
|
Object |
copyTo(Object target)
|
Object |
copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
Object target,
org.jvnet.jaxb2_commons.lang.CopyStrategy strategy)
|
Object |
createNewInstance()
|
boolean |
equals(Object object)
|
boolean |
equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
|
String |
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. |
EmptyType |
getDelimitedIdentifiers()
Gets the value of the delimitedIdentifiers property. |
String |
getDescription()
Gets the value of the description property. |
EntityListeners |
getEntityListeners()
Gets the value of the entityListeners property. |
String |
getSchema()
Gets the value of the schema property. |
int |
hashCode()
|
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
|
void |
mergeFrom(org.jvnet.jaxb2_commons.locator.ObjectLocator leftLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator rightLocator,
Object left,
Object right,
org.jvnet.jaxb2_commons.lang.MergeStrategy strategy)
|
void |
mergeFrom(Object left,
Object right)
|
void |
setAccess(String 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 |
setDelimitedIdentifiers(EmptyType value)
Sets the value of the delimitedIdentifiers property. |
void |
setDescription(String value)
Sets the value of the description 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 |
|---|
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String description
protected String schema
protected String catalog
protected EmptyType delimitedIdentifiers
protected String access
protected EmptyType cascadePersist
protected EntityListeners entityListeners
| Constructor Detail |
|---|
public PersistenceUnitDefaults()
| Method Detail |
|---|
public String getDescription()
Stringpublic void setDescription(String value)
value - allowed object is
Stringpublic String getSchema()
Stringpublic void setSchema(String value)
value - allowed object is
Stringpublic String getCatalog()
Stringpublic void setCatalog(String value)
value - allowed object is
Stringpublic EmptyType getDelimitedIdentifiers()
EmptyTypepublic void setDelimitedIdentifiers(EmptyType value)
value - allowed object is
EmptyTypepublic String getAccess()
Stringpublic void setAccess(String value)
value - allowed object is
Stringpublic EmptyType getCascadePersist()
EmptyTypepublic void setCascadePersist(EmptyType value)
value - allowed object is
EmptyTypepublic EntityListeners getEntityListeners()
EntityListenerspublic void setEntityListeners(EntityListeners value)
value - allowed object is
EntityListeners
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
equals in interface org.jvnet.jaxb2_commons.lang.Equalspublic boolean equals(Object object)
equals in class Object
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCodepublic int hashCode()
hashCode in class Objectpublic Object clone()
clone in class Objectpublic Object copyTo(Object target)
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTo
public Object copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
Object target,
org.jvnet.jaxb2_commons.lang.CopyStrategy strategy)
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTopublic Object createNewInstance()
createNewInstance in interface org.jvnet.jaxb2_commons.lang.CopyTocreateNewInstance in interface org.jvnet.jaxb2_commons.lang.MergeFrom
public void mergeFrom(Object left,
Object right)
mergeFrom in interface org.jvnet.jaxb2_commons.lang.MergeFrom
public void mergeFrom(org.jvnet.jaxb2_commons.locator.ObjectLocator leftLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator rightLocator,
Object left,
Object right,
org.jvnet.jaxb2_commons.lang.MergeStrategy strategy)
mergeFrom in interface org.jvnet.jaxb2_commons.lang.MergeFrom
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||