Package org.hibernate.processor.xml.jaxb
Class PersistenceUnitMetadata
java.lang.Object
org.hibernate.processor.xml.jaxb.PersistenceUnitMetadata
Metadata that applies to the persistence unit and not just to
the mapping file in which it is contained.
If the xml-mapping-metadata-complete element is specified,
the complete set of mapping metadata for the persistence unit
is contained in the XML mapping files for the persistence unit.
Java class for persistence-unit-metadata complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="persistence-unit-metadata">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="xml-mapping-metadata-complete" type="{https://jakarta.ee/xml/ns/persistence/orm}emptyType" minOccurs="0"/>
<element name="persistence-unit-defaults" type="{https://jakarta.ee/xml/ns/persistence/orm}persistence-unit-defaults" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected PersistenceUnitDefaultsprotected EmptyType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the description property.Gets the value of the persistenceUnitDefaults property.Gets the value of the xmlMappingMetadataComplete property.voidsetDescription(String value) Sets the value of the description property.voidSets the value of the persistenceUnitDefaults property.voidSets the value of the xmlMappingMetadataComplete property.
-
Field Details
-
description
-
xmlMappingMetadataComplete
-
persistenceUnitDefaults
-
-
Constructor Details
-
PersistenceUnitMetadata
public PersistenceUnitMetadata()
-
-
Method Details
-
getDescription
Gets the value of the description property.- Returns:
- possible object is
String
-
setDescription
Sets the value of the description property.- Parameters:
value- allowed object isString
-
getXmlMappingMetadataComplete
Gets the value of the xmlMappingMetadataComplete property.- Returns:
- possible object is
EmptyType
-
setXmlMappingMetadataComplete
Sets the value of the xmlMappingMetadataComplete property.- Parameters:
value- allowed object isEmptyType
-
getPersistenceUnitDefaults
Gets the value of the persistenceUnitDefaults property.- Returns:
- possible object is
PersistenceUnitDefaults
-
setPersistenceUnitDefaults
Sets the value of the persistenceUnitDefaults property.- Parameters:
value- allowed object isPersistenceUnitDefaults
-