public interface PersistenceUnitMetadata<T> extends Child<T>
persistence-unit-metadata
xsd typeModifier and Type | Method and Description |
---|---|
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 |
PersistenceUnitMetadata<T> description(String description)
description
elementdescription
- the value for the element description
PersistenceUnitMetadata
String getDescription()
description
elementdescription
PersistenceUnitMetadata<T> removeDescription()
description
elementPersistenceUnitMetadata
PersistenceUnitMetadata<T> xmlMappingMetadataComplete()
xml-mapping-metadata-complete
elementPersistenceUnitMetadata
Boolean isXmlMappingMetadataComplete()
xml-mapping-metadata-complete
elementPersistenceUnitMetadata
PersistenceUnitMetadata<T> removeXmlMappingMetadataComplete()
xml-mapping-metadata-complete
elementPersistenceUnitMetadata
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
elementPersistenceUnitMetadata
Copyright © 2016 JBoss by Red Hat. All rights reserved.