|
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 PersistenceUnitMetadata<T>
This interface defines the contract for the persistence-unit-metadata
xsd type
Method Summary | |
---|---|
PersistenceUnitMetadata<T> |
description(String description)
Sets the description element |
String |
getDescription()
Returns the description element |
PersistenceUnitDefaults<PersistenceUnitMetadata<T>> |
getOrCreatePersistenceUnitDefaults()
If not already created, a new persistence-unit-defaults element with the given value will be created. |
Boolean |
isXmlMappingMetadataComplete()
Removes the xml-mapping-metadata-complete element |
PersistenceUnitMetadata<T> |
removeDescription()
Removes the description element |
PersistenceUnitMetadata<T> |
removePersistenceUnitDefaults()
Removes the persistence-unit-defaults element |
PersistenceUnitMetadata<T> |
removeXmlMappingMetadataComplete()
Removes the xml-mapping-metadata-complete element |
PersistenceUnitMetadata<T> |
xmlMappingMetadataComplete()
Sets the xml-mapping-metadata-complete element |
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child |
---|
up |
Method Detail |
---|
PersistenceUnitMetadata<T> description(String description)
description
element
description
- the value for the element description
PersistenceUnitMetadata
String getDescription()
description
element
description
PersistenceUnitMetadata<T> removeDescription()
description
element
PersistenceUnitMetadata
PersistenceUnitMetadata<T> xmlMappingMetadataComplete()
xml-mapping-metadata-complete
element
PersistenceUnitMetadata
Boolean isXmlMappingMetadataComplete()
xml-mapping-metadata-complete
element
PersistenceUnitMetadata
PersistenceUnitMetadata<T> removeXmlMappingMetadataComplete()
xml-mapping-metadata-complete
element
PersistenceUnitMetadata
PersistenceUnitDefaults<PersistenceUnitMetadata<T>> getOrCreatePersistenceUnitDefaults()
persistence-unit-defaults
element with the given value will be created.
Otherwise, the existing persistence-unit-defaults
element will be returned.
PersistenceUnitDefaults>
PersistenceUnitMetadata<T> removePersistenceUnitDefaults()
persistence-unit-defaults
element
PersistenceUnitMetadata
|
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 |