|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.hibernate.internal.jaxb.mapping.orm.JaxbPersistenceUnitDefaults
public class JaxbPersistenceUnitDefaults
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 JaxbAccessType |
access
|
protected JaxbEmptyType |
cascadePersist
|
protected String |
catalog
|
protected JaxbEmptyType |
delimitedIdentifiers
|
protected String |
description
|
protected JaxbEntityListeners |
entityListeners
|
protected String |
schema
|
Constructor Summary | |
---|---|
JaxbPersistenceUnitDefaults()
|
Method Summary | |
---|---|
JaxbAccessType |
getAccess()
Gets the value of the access property. |
JaxbEmptyType |
getCascadePersist()
Gets the value of the cascadePersist property. |
String |
getCatalog()
Gets the value of the catalog property. |
JaxbEmptyType |
getDelimitedIdentifiers()
Gets the value of the delimitedIdentifiers property. |
String |
getDescription()
Gets the value of the description property. |
JaxbEntityListeners |
getEntityListeners()
Gets the value of the entityListeners property. |
String |
getSchema()
Gets the value of the schema property. |
void |
setAccess(JaxbAccessType value)
Sets the value of the access property. |
void |
setCascadePersist(JaxbEmptyType value)
Sets the value of the cascadePersist property. |
void |
setCatalog(String value)
Sets the value of the catalog property. |
void |
setDelimitedIdentifiers(JaxbEmptyType value)
Sets the value of the delimitedIdentifiers property. |
void |
setDescription(String value)
Sets the value of the description property. |
void |
setEntityListeners(JaxbEntityListeners 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 |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected String description
protected String schema
protected String catalog
protected JaxbEmptyType delimitedIdentifiers
protected JaxbAccessType access
protected JaxbEmptyType cascadePersist
protected JaxbEntityListeners entityListeners
Constructor Detail |
---|
public JaxbPersistenceUnitDefaults()
Method Detail |
---|
public String getDescription()
String
public void setDescription(String value)
value
- allowed object is
String
public String getSchema()
String
public void setSchema(String value)
value
- allowed object is
String
public String getCatalog()
String
public void setCatalog(String value)
value
- allowed object is
String
public JaxbEmptyType getDelimitedIdentifiers()
JaxbEmptyType
public void setDelimitedIdentifiers(JaxbEmptyType value)
value
- allowed object is
JaxbEmptyType
public JaxbAccessType getAccess()
JaxbAccessType
public void setAccess(JaxbAccessType value)
value
- allowed object is
JaxbAccessType
public JaxbEmptyType getCascadePersist()
JaxbEmptyType
public void setCascadePersist(JaxbEmptyType value)
value
- allowed object is
JaxbEmptyType
public JaxbEntityListeners getEntityListeners()
JaxbEntityListeners
public void setEntityListeners(JaxbEntityListeners value)
value
- allowed object is
JaxbEntityListeners
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |