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.
public class PersistenceUnitMetadata extends Object
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.
<p>Java class for persistence-unit-metadata complex type.
<p>The following schema fragment specifies the expected content contained within this class.
<pre> <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://xmlns.jcp.org/xml/ns/persistence/orm}emptyType" minOccurs="0"/> <element name="persistence-unit-defaults" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}persistence-unit-defaults" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType> </pre>
| Modifier and Type | Field and Description |
|---|---|
protected String |
description |
protected PersistenceUnitDefaults |
persistenceUnitDefaults |
protected EmptyType |
xmlMappingMetadataComplete |
| Constructor and Description |
|---|
PersistenceUnitMetadata() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Gets the value of the description property.
|
PersistenceUnitDefaults |
getPersistenceUnitDefaults()
Gets the value of the persistenceUnitDefaults property.
|
EmptyType |
getXmlMappingMetadataComplete()
Gets the value of the xmlMappingMetadataComplete property.
|
void |
setDescription(String value)
Sets the value of the description property.
|
void |
setPersistenceUnitDefaults(PersistenceUnitDefaults value)
Sets the value of the persistenceUnitDefaults property.
|
void |
setXmlMappingMetadataComplete(EmptyType value)
Sets the value of the xmlMappingMetadataComplete property.
|
protected String description
protected EmptyType xmlMappingMetadataComplete
protected PersistenceUnitDefaults persistenceUnitDefaults
public String getDescription()
Gets the value of the description property.
Stringpublic void setDescription(String value)
Sets the value of the description property.
value - allowed object is
Stringpublic EmptyType getXmlMappingMetadataComplete()
Gets the value of the xmlMappingMetadataComplete property.
EmptyTypepublic void setXmlMappingMetadataComplete(EmptyType value)
Sets the value of the xmlMappingMetadataComplete property.
value - allowed object is
EmptyTypepublic PersistenceUnitDefaults getPersistenceUnitDefaults()
Gets the value of the persistenceUnitDefaults property.
PersistenceUnitDefaultspublic void setPersistenceUnitDefaults(PersistenceUnitDefaults value)
Sets the value of the persistenceUnitDefaults property.
value - allowed object is
PersistenceUnitDefaultsCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.