
public interface PersistenceUnitDefaults<T> extends Child<T>, OrmPersistenceUnitDefaultsCommType<T,PersistenceUnitDefaults<T>,EntityListeners<PersistenceUnitDefaults<T>>>
persistence-unit-defaults xsd type| Modifier and Type | Method and Description |
|---|---|
PersistenceUnitDefaults<T> |
access(AccessType access)
Sets the
access element |
PersistenceUnitDefaults<T> |
access(String access)
Sets the
access element |
PersistenceUnitDefaults<T> |
cascadePersist()
Sets the
cascade-persist element |
PersistenceUnitDefaults<T> |
catalog(String catalog)
Sets the
catalog element |
PersistenceUnitDefaults<T> |
delimitedIdentifiers()
Sets the
delimited-identifiers element |
PersistenceUnitDefaults<T> |
description(String description)
Sets the
description element |
AccessType |
getAccess()
Returns the
access element |
String |
getAccessAsString()
Returns the
access element |
String |
getCatalog()
Returns the
catalog element |
String |
getDescription()
Returns the
description element |
EntityListeners<PersistenceUnitDefaults<T>> |
getOrCreateEntityListeners()
If not already created, a new
entity-listeners element with the given value will be created. |
String |
getSchema()
Returns the
schema element |
Boolean |
isCascadePersist()
Removes the
cascade-persist element |
Boolean |
isDelimitedIdentifiers()
Removes the
delimited-identifiers element |
PersistenceUnitDefaults<T> |
removeAccess()
Removes the
access attribute |
PersistenceUnitDefaults<T> |
removeCascadePersist()
Removes the
cascade-persist element |
PersistenceUnitDefaults<T> |
removeCatalog()
Removes the
catalog element |
PersistenceUnitDefaults<T> |
removeDelimitedIdentifiers()
Removes the
delimited-identifiers element |
PersistenceUnitDefaults<T> |
removeDescription()
Removes the
description element |
PersistenceUnitDefaults<T> |
removeEntityListeners()
Removes the
entity-listeners element |
PersistenceUnitDefaults<T> |
removeSchema()
Removes the
schema element |
PersistenceUnitDefaults<T> |
schema(String schema)
Sets the
schema element |
PersistenceUnitDefaults<T> description(String description)
description elementdescription - the value for the element descriptionPersistenceUnitDefaultsString getDescription()
description elementdescriptionPersistenceUnitDefaults<T> removeDescription()
description elementPersistenceUnitDefaultsPersistenceUnitDefaults<T> schema(String schema)
schema elementschema - the value for the element schemaPersistenceUnitDefaultsString getSchema()
schema elementschemaPersistenceUnitDefaults<T> removeSchema()
schema elementPersistenceUnitDefaultsPersistenceUnitDefaults<T> catalog(String catalog)
catalog elementcatalog - the value for the element catalogPersistenceUnitDefaultsString getCatalog()
catalog elementcatalogPersistenceUnitDefaults<T> removeCatalog()
catalog elementPersistenceUnitDefaultsPersistenceUnitDefaults<T> delimitedIdentifiers()
delimited-identifiers elementPersistenceUnitDefaultsBoolean isDelimitedIdentifiers()
delimited-identifiers elementPersistenceUnitDefaultsPersistenceUnitDefaults<T> removeDelimitedIdentifiers()
delimited-identifiers elementPersistenceUnitDefaultsPersistenceUnitDefaults<T> access(AccessType access)
access elementaccess - the value for the element accessPersistenceUnitDefaultsPersistenceUnitDefaults<T> access(String access)
access elementaccess - the value for the element accessPersistenceUnitDefaultsAccessType getAccess()
access elementaccessString getAccessAsString()
access elementaccessPersistenceUnitDefaults<T> removeAccess()
access attributePersistenceUnitDefaultsPersistenceUnitDefaults<T> cascadePersist()
cascade-persist elementPersistenceUnitDefaultsBoolean isCascadePersist()
cascade-persist elementPersistenceUnitDefaultsPersistenceUnitDefaults<T> removeCascadePersist()
cascade-persist elementPersistenceUnitDefaultsEntityListeners<PersistenceUnitDefaults<T>> getOrCreateEntityListeners()
entity-listeners element with the given value will be created.
Otherwise, the existing entity-listeners element will be returned.EntityListeners> PersistenceUnitDefaults<T> removeEntityListeners()
entity-listeners elementPersistenceUnitDefaultsCopyright © 2021 JBoss by Red Hat. All rights reserved.