
public interface PersistenceUnitMetadata<T> extends Child<T>, OrmPersistenceUnitMetadataCommType<T,PersistenceUnitMetadata<T>,PersistenceUnitDefaults<PersistenceUnitMetadata<T>>>
persistence-unit-metadata xsd type| Modifier 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 descriptionPersistenceUnitMetadataString getDescription()
description elementdescriptionPersistenceUnitMetadata<T> removeDescription()
description elementPersistenceUnitMetadataPersistenceUnitMetadata<T> xmlMappingMetadataComplete()
xml-mapping-metadata-complete elementPersistenceUnitMetadataBoolean isXmlMappingMetadataComplete()
xml-mapping-metadata-complete elementPersistenceUnitMetadataPersistenceUnitMetadata<T> removeXmlMappingMetadataComplete()
xml-mapping-metadata-complete elementPersistenceUnitMetadataPersistenceUnitDefaults<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 elementPersistenceUnitMetadataCopyright © 2021 JBoss by Red Hat. All rights reserved.