Class JaxbPersistenceUnitDefaultsImpl
java.lang.Object
org.hibernate.boot.jaxb.mapping.spi.JaxbPersistenceUnitDefaultsImpl
- All Implemented Interfaces:
Serializable
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.
<p>Java class for persistence-unit-defaults complex type</p>.
<p>The following schema fragment specifies the expected content contained within this class.</p>
<pre>{@code
<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://www.hibernate.org/xsd/orm/mapping}emptyType" minOccurs="0"/>
<choice minOccurs="0">
<element name="access" type="{http://www.hibernate.org/xsd/orm/mapping}access-type"/>
<element name="default-access" type="{http://www.w3.org/2001/XMLSchema}string"/>
</choice>
<choice minOccurs="0">
<element name="cascade-persist" type="{http://www.hibernate.org/xsd/orm/mapping}emptyType" minOccurs="0"/>
<element name="default-cascade" type="{http://www.w3.org/2001/XMLSchema}string"/>
</choice>
<element name="auto-import" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="default-lazy" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="entity-listeners" type="{http://www.hibernate.org/xsd/orm/mapping}entity-listeners" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
}</pre>
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected AccessTypeprotected Booleanprotected JaxbEmptyTypeImplprotected Stringprotected Stringprotected Stringprotected Booleanprotected JaxbEmptyTypeImplprotected Stringprotected JaxbEntityListenerContainerImplprotected String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the access property.Gets the value of the cascadePersist property.Gets the value of the catalog property.Gets the value of the defaultAccess property.Gets the value of the defaultCascade property.Gets the value of the delimitedIdentifiers property.Gets the value of the description property.Gets the value of the entityListenerContainer property.Gets the value of the schema property.Gets the value of the autoImport property.Gets the value of the defaultLazy property.voidsetAccess(AccessType value) Sets the value of the access property.voidsetAutoImport(Boolean value) Sets the value of the autoImport property.voidSets the value of the cascadePersist property.voidsetCatalog(String value) Sets the value of the catalog property.voidsetDefaultAccess(String value) Sets the value of the defaultAccess property.voidsetDefaultCascade(String value) Sets the value of the defaultCascade property.voidsetDefaultLazy(Boolean value) Sets the value of the defaultLazy property.voidSets the value of the delimitedIdentifiers property.voidsetDescription(String value) Sets the value of the description property.voidSets the value of the entityListenerContainer property.voidSets the value of the schema property.
-
Field Details
-
description
-
schema
-
catalog
-
delimitedIdentifiers
-
access
-
defaultAccess
-
cascadePersist
-
defaultCascade
-
autoImport
-
defaultLazy
-
entityListenerContainer
-
-
Constructor Details
-
JaxbPersistenceUnitDefaultsImpl
public JaxbPersistenceUnitDefaultsImpl()
-
-
Method Details
-
getDescription
-
setDescription
-
getSchema
-
setSchema
-
getCatalog
-
setCatalog
-
getDelimitedIdentifiers
Gets the value of the delimitedIdentifiers property.- Returns:
- possible object is
JaxbEmptyTypeImpl
-
setDelimitedIdentifiers
Sets the value of the delimitedIdentifiers property.- Parameters:
value- allowed object isJaxbEmptyTypeImpl
-
getAccess
Gets the value of the access property.- Returns:
- possible object is
String
-
setAccess
Sets the value of the access property.- Parameters:
value- allowed object isString
-
getDefaultAccess
-
setDefaultAccess
-
getCascadePersist
Gets the value of the cascadePersist property.- Returns:
- possible object is
JaxbEmptyTypeImpl
-
setCascadePersist
Sets the value of the cascadePersist property.- Parameters:
value- allowed object isJaxbEmptyTypeImpl
-
getDefaultCascade
-
setDefaultCascade
-
isAutoImport
-
setAutoImport
-
isDefaultLazy
-
setDefaultLazy
-
getEntityListenerContainer
Gets the value of the entityListenerContainer property.- Returns:
- possible object is
JaxbEntityListenerContainerImpl
-
setEntityListenerContainer
Sets the value of the entityListenerContainer property.- Parameters:
value- allowed object isJaxbEntityListenerContainerImpl
-