public interface PersistenceUnitDefaults<T> extends Child<T>
persistence-unit-defaults
xsd typeModifier 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 description
PersistenceUnitDefaults
String getDescription()
description
elementdescription
PersistenceUnitDefaults<T> removeDescription()
description
elementPersistenceUnitDefaults
PersistenceUnitDefaults<T> schema(String schema)
schema
elementschema
- the value for the element schema
PersistenceUnitDefaults
String getSchema()
schema
elementschema
PersistenceUnitDefaults<T> removeSchema()
schema
elementPersistenceUnitDefaults
PersistenceUnitDefaults<T> catalog(String catalog)
catalog
elementcatalog
- the value for the element catalog
PersistenceUnitDefaults
String getCatalog()
catalog
elementcatalog
PersistenceUnitDefaults<T> removeCatalog()
catalog
elementPersistenceUnitDefaults
PersistenceUnitDefaults<T> delimitedIdentifiers()
delimited-identifiers
elementPersistenceUnitDefaults
Boolean isDelimitedIdentifiers()
delimited-identifiers
elementPersistenceUnitDefaults
PersistenceUnitDefaults<T> removeDelimitedIdentifiers()
delimited-identifiers
elementPersistenceUnitDefaults
PersistenceUnitDefaults<T> access(AccessType access)
access
elementaccess
- the value for the element access
PersistenceUnitDefaults
PersistenceUnitDefaults<T> access(String access)
access
elementaccess
- the value for the element access
PersistenceUnitDefaults
AccessType getAccess()
access
elementaccess
String getAccessAsString()
access
elementaccess
PersistenceUnitDefaults<T> removeAccess()
access
attributePersistenceUnitDefaults
PersistenceUnitDefaults<T> cascadePersist()
cascade-persist
elementPersistenceUnitDefaults
Boolean isCascadePersist()
cascade-persist
elementPersistenceUnitDefaults
PersistenceUnitDefaults<T> removeCascadePersist()
cascade-persist
elementPersistenceUnitDefaults
EntityListeners<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
elementPersistenceUnitDefaults
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.