Top Description Fields Constructors Methods
org.hibernate.boot.jaxb.mapping

public Class JaxbPersistenceUnitMetadata

extends Object
implements Serializable
Class Inheritance
All Implemented Interfaces
java.io.Serializable
Annotations
@XmlAccessorType:FIELD
@XmlType
name:persistence-unit-metadata
namespace:http://www.hibernate.org/xsd/orm/mapping
propOrder:description, xmlMappingMetadataComplete, persistenceUnitDefaults
Imports
java.io.Serializable, jakarta.xml.bind.annotation.XmlAccessType, .XmlAccessorType, .XmlElement, .XmlType

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="{http://www.hibernate.org/xsd/orm/mapping}emptyType" minOccurs="0"/>
        <element name="persistence-unit-defaults" type="{http://www.hibernate.org/xsd/orm/mapping}persistence-unit-defaults" minOccurs="0"/>
      </sequence>
    </restriction>
  </complexContent>
</complexType>

Field Summary

Modifier and TypeField and Description
protected String
protected JaxbPersistenceUnitDefaults
protected JaxbEmptyType

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

possible object is String
getDescription
()

Gets the value of the description property.

public JaxbPersistenceUnitDefaults

Returns:

possible object is JaxbPersistenceUnitDefaults
getPersistenceUnitDefaults
()

Gets the value of the persistenceUnitDefaults property.

public JaxbEmptyType

Returns:

possible object is JaxbEmptyType
getXmlMappingMetadataComplete
()

Gets the value of the xmlMappingMetadataComplete property.

public void
setDescription(String
allowed object is String
value
)

Sets the value of the description property.

public void
setPersistenceUnitDefaults(JaxbPersistenceUnitDefaults
allowed object is JaxbPersistenceUnitDefaults
value
)

Sets the value of the persistenceUnitDefaults property.

public void
setXmlMappingMetadataComplete(JaxbEmptyType
allowed object is JaxbEmptyType
value
)

Sets the value of the xmlMappingMetadataComplete property.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

descriptionback to summary
protected String description
Annotations
@XmlElement
namespace:http://www.hibernate.org/xsd/orm/mapping
persistenceUnitDefaultsback to summary
protected JaxbPersistenceUnitDefaults persistenceUnitDefaults
Annotations
@XmlElement
name:persistence-unit-defaults
namespace:http://www.hibernate.org/xsd/orm/mapping
xmlMappingMetadataCompleteback to summary
protected JaxbEmptyType xmlMappingMetadataComplete
Annotations
@XmlElement
name:xml-mapping-metadata-complete
namespace:http://www.hibernate.org/xsd/orm/mapping

Constructor Detail

JaxbPersistenceUnitMetadataback to summary
public JaxbPersistenceUnitMetadata()

Method Detail

getDescriptionback to summary
public String getDescription()

Gets the value of the description property.

Returns:String

possible object is String

getPersistenceUnitDefaultsback to summary
public JaxbPersistenceUnitDefaults getPersistenceUnitDefaults()

Gets the value of the persistenceUnitDefaults property.

Returns:JaxbPersistenceUnitDefaults

possible object is JaxbPersistenceUnitDefaults

getXmlMappingMetadataCompleteback to summary
public JaxbEmptyType getXmlMappingMetadataComplete()

Gets the value of the xmlMappingMetadataComplete property.

Returns:JaxbEmptyType

possible object is JaxbEmptyType

setDescriptionback to summary
public void setDescription(String value)

Sets the value of the description property.

Parameters
value:String

allowed object is String

setPersistenceUnitDefaultsback to summary
public void setPersistenceUnitDefaults(JaxbPersistenceUnitDefaults value)

Sets the value of the persistenceUnitDefaults property.

Parameters
value:JaxbPersistenceUnitDefaults

allowed object is JaxbPersistenceUnitDefaults

setXmlMappingMetadataCompleteback to summary
public void setXmlMappingMetadataComplete(JaxbEmptyType value)

Sets the value of the xmlMappingMetadataComplete property.

Parameters
value:JaxbEmptyType

allowed object is JaxbEmptyType