|
ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PersistenceUnitDefaults<T>
This interface defines the contract for the persistence-unit-defaults
xsd type
Method Summary | |
---|---|
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 |
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child |
---|
up |
Method Detail |
---|
PersistenceUnitDefaults<T> description(String description)
description
element
description
- the value for the element description
PersistenceUnitDefaults
String getDescription()
description
element
description
PersistenceUnitDefaults<T> removeDescription()
description
element
PersistenceUnitDefaults
PersistenceUnitDefaults<T> schema(String schema)
schema
element
schema
- the value for the element schema
PersistenceUnitDefaults
String getSchema()
schema
element
schema
PersistenceUnitDefaults<T> removeSchema()
schema
element
PersistenceUnitDefaults
PersistenceUnitDefaults<T> catalog(String catalog)
catalog
element
catalog
- the value for the element catalog
PersistenceUnitDefaults
String getCatalog()
catalog
element
catalog
PersistenceUnitDefaults<T> removeCatalog()
catalog
element
PersistenceUnitDefaults
PersistenceUnitDefaults<T> delimitedIdentifiers()
delimited-identifiers
element
PersistenceUnitDefaults
Boolean isDelimitedIdentifiers()
delimited-identifiers
element
PersistenceUnitDefaults
PersistenceUnitDefaults<T> removeDelimitedIdentifiers()
delimited-identifiers
element
PersistenceUnitDefaults
PersistenceUnitDefaults<T> access(AccessType access)
access
element
access
- the value for the element access
PersistenceUnitDefaults
PersistenceUnitDefaults<T> access(String access)
access
element
access
- the value for the element access
PersistenceUnitDefaults
AccessType getAccess()
access
element
access
String getAccessAsString()
access
element
access
PersistenceUnitDefaults<T> removeAccess()
access
attribute
PersistenceUnitDefaults
PersistenceUnitDefaults<T> cascadePersist()
cascade-persist
element
PersistenceUnitDefaults
Boolean isCascadePersist()
cascade-persist
element
PersistenceUnitDefaults
PersistenceUnitDefaults<T> removeCascadePersist()
cascade-persist
element
PersistenceUnitDefaults
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
element
PersistenceUnitDefaults
|
ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |