|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.java.xml.ns.persistence.orm.PersistenceUnitMetadata
public class 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="{http://java.sun.com/xml/ns/persistence/orm}emptyType" minOccurs="0"/>
<element name="persistence-unit-defaults" type="{http://java.sun.com/xml/ns/persistence/orm}persistence-unit-defaults" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Field Summary | |
|---|---|
protected String |
description
|
protected PersistenceUnitDefaults |
persistenceUnitDefaults
|
protected EmptyType |
xmlMappingMetadataComplete
|
| Constructor Summary | |
|---|---|
PersistenceUnitMetadata()
|
|
| Method Summary | |
|---|---|
Object |
clone()
|
Object |
copyTo(Object target)
|
Object |
copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
Object target,
org.jvnet.jaxb2_commons.lang.CopyStrategy strategy)
|
Object |
createNewInstance()
|
boolean |
equals(Object object)
|
boolean |
equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
|
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. |
int |
hashCode()
|
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
|
void |
mergeFrom(org.jvnet.jaxb2_commons.locator.ObjectLocator leftLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator rightLocator,
Object left,
Object right,
org.jvnet.jaxb2_commons.lang.MergeStrategy strategy)
|
void |
mergeFrom(Object left,
Object right)
|
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. |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String description
protected EmptyType xmlMappingMetadataComplete
protected PersistenceUnitDefaults persistenceUnitDefaults
| Constructor Detail |
|---|
public PersistenceUnitMetadata()
| Method Detail |
|---|
public String getDescription()
Stringpublic void setDescription(String value)
value - allowed object is
Stringpublic EmptyType getXmlMappingMetadataComplete()
EmptyTypepublic void setXmlMappingMetadataComplete(EmptyType value)
value - allowed object is
EmptyTypepublic PersistenceUnitDefaults getPersistenceUnitDefaults()
PersistenceUnitDefaultspublic void setPersistenceUnitDefaults(PersistenceUnitDefaults value)
value - allowed object is
PersistenceUnitDefaults
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
equals in interface org.jvnet.jaxb2_commons.lang.Equalspublic boolean equals(Object object)
equals in class Object
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCodepublic int hashCode()
hashCode in class Objectpublic Object clone()
clone in class Objectpublic Object copyTo(Object target)
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTo
public Object copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
Object target,
org.jvnet.jaxb2_commons.lang.CopyStrategy strategy)
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTopublic Object createNewInstance()
createNewInstance in interface org.jvnet.jaxb2_commons.lang.CopyTocreateNewInstance in interface org.jvnet.jaxb2_commons.lang.MergeFrom
public void mergeFrom(Object left,
Object right)
mergeFrom in interface org.jvnet.jaxb2_commons.lang.MergeFrom
public void mergeFrom(org.jvnet.jaxb2_commons.locator.ObjectLocator leftLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator rightLocator,
Object left,
Object right,
org.jvnet.jaxb2_commons.lang.MergeStrategy strategy)
mergeFrom in interface org.jvnet.jaxb2_commons.lang.MergeFrom
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||