Top Description Fields Constructors Methods
org.eclipse.persistence.internal.jpa.metadata.xml

public Class XMLPersistenceUnitMetadata

extends ORMetadata
Class Inheritance
Imports
java.util.ArrayList, .List, org.eclipse.persistence.internal.jpa.metadata.ORMetadata, org.eclipse.persistence.internal.jpa.metadata.accessors.objects.MetadataAccessibleObject, org.eclipse.persistence.internal.jpa.metadata.listeners.EntityListenerMetadata

INTERNAL: Object to hold onto the XML persistence unit metadata.
Author
Guy Pelletier
Since
EclipseLink 1.0

Field Summary

Modifier and TypeField and Description
private Boolean
private XMLPersistenceUnitDefaults
private Boolean
Inherited from org.eclipse.persistence.internal.jpa.metadata.ORMetadata:
m_project

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public boolean
equals(Object
the reference object with which to compare.
objectToCompare
)

Implements abstract org.eclipse.persistence.internal.jpa.metadata.ORMetadata.equals.

INTERNAL: If equals returns false, call getConflict() for a finer grain reason why.
public boolean
excludeDefaultMappings()

INTERNAL: Used for OX mapping.

public String
getCatalog()

INTERNAL:

public List<EntityListenerMetadata>
public Boolean
getExcludeDefaultMappings()

INTERNAL: Used for OX mapping.

public XMLPersistenceUnitDefaults
getPersistenceUnitDefaults()

INTERNAL: Used for OX mapping.

public String
getSchema()

INTERNAL:

public Boolean
getXMLMappingMetadataComplete()

INTERNAL: Used for OX mapping.

public int
hashCode()

Overrides java.lang.Object.hashCode.

Returns a hash code value for the object.
public void
public boolean
public boolean
isXMLMappingMetadataComplete()

INTERNAL: Used for OX mapping.

public void
public void
setExcludeDefaultMappings(Boolean excludeDefaultMappings)

INTERNAL: Used for OX mapping.

public void
setPersistenceUnitDefaults(XMLPersistenceUnitDefaults persistenceUnitDefaults)

INTERNAL: Used for OX mapping.

public void
setXMLMappingMetadataComplete(Boolean xmlMappingMetadataComplete)

INTERNAL: Used for OX mapping.

Inherited from org.eclipse.persistence.internal.jpa.metadata.ORMetadata:
getAccessibleObjectgetAccessibleObjectNamegetAnnotationgetBoxedTypegetDatabaseTypeEnumgetEntityMappingsgetFullyQualifiedClassNamegetIdentifiergetJavaClassgetJavaClassNamegetLoadergetLocationgetLoggergetMetadataClassgetMetadataClassgetMetadataClassgetMetadataFactorygetNamegetPrimitiveClassForNamegetProjectgetTextgetXMLElementhasIdentifierhasTextinitXMLClassNameinitXMLObjectinitXMLObjectsinitXMLTextObjectloadedFromAnnotationloadedFromEclipseLinkXMLloadedFromXMLmergeORObjectListsmergeORObjectsmergeSimpleObjectsreloadEntityreloadMappedSuperclasssetAccessibleObjectsetEntityMappingssetFieldNamesetFieldNamesetProjectshouldOverridevaluesMatchvaluesMatch

Field Detail

m_excludeDefaultMappingsback to summary
private Boolean m_excludeDefaultMappings
m_persistenceUnitDefaultsback to summary
private XMLPersistenceUnitDefaults m_persistenceUnitDefaults
m_xmlMappingMetadataCompleteback to summary
private Boolean m_xmlMappingMetadataComplete

Constructor Detail

XMLPersistenceUnitMetadataback to summary
public XMLPersistenceUnitMetadata()

INTERNAL:

Method Detail

equalsback to summary
public boolean equals(Object objectToCompare)

Implements abstract org.eclipse.persistence.internal.jpa.metadata.ORMetadata.equals.

INTERNAL: If equals returns false, call getConflict() for a finer grain reason why.

Parameters
objectToCompare:Object

Doc from java.lang.Object.equals.

the reference object with which to compare.

Returns:boolean

Doc from java.lang.Object.equals.

true if this object is the same as the obj argument; false otherwise.

Annotations
@Override
excludeDefaultMappingsback to summary
public boolean excludeDefaultMappings()

INTERNAL: Used for OX mapping.

getCatalogback to summary
public String getCatalog()

INTERNAL:

getDefaultListenersback to summary
public List<EntityListenerMetadata> getDefaultListeners()

INTERNAL:

getExcludeDefaultMappingsback to summary
public Boolean getExcludeDefaultMappings()

INTERNAL: Used for OX mapping.

getPersistenceUnitDefaultsback to summary
public XMLPersistenceUnitDefaults getPersistenceUnitDefaults()

INTERNAL: Used for OX mapping.

getSchemaback to summary
public String getSchema()

INTERNAL:

getXMLMappingMetadataCompleteback to summary
public Boolean getXMLMappingMetadataComplete()

INTERNAL: Used for OX mapping.

hashCodeback to summary
public int hashCode()

Overrides java.lang.Object.hashCode.

Doc from java.lang.Object.hashCode.

Returns a hash code value for the object. This method is supported for the benefit of hash tables such as those provided by java.util.HashMap.

The general contract of hashCode is:

  • Whenever it is invoked on the same object more than once during an execution of a Java application, the hashCode method must consistently return the same integer, provided no information used in equals comparisons on the object is modified. This integer need not remain consistent from one execution of an application to another execution of the same application.
  • If two objects are equal according to the equals method, then calling the hashCode method on each of the two objects must produce the same integer result.
  • It is not required that if two objects are unequal according to the equals method, then calling the hashCode method on each of the two objects must produce distinct integer results. However, the programmer should be aware that producing distinct integer results for unequal objects may improve the performance of hash tables.
Returns:int

a hash code value for this object.

Annotations
@Override
initXMLObjectback to summary
public void initXMLObject(MetadataAccessibleObject accessibleObject, XMLEntityMappings entityMappings)

Overrides org.eclipse.persistence.internal.jpa.metadata.ORMetadata.initXMLObject.

INTERNAL:

Annotations
@Override
isDelimitedIdentifiersback to summary
public boolean isDelimitedIdentifiers()

INTERNAL:

isXMLMappingMetadataCompleteback to summary
public boolean isXMLMappingMetadataComplete()

INTERNAL: Used for OX mapping.

mergeback to summary
public void merge(ORMetadata metadata)

Overrides org.eclipse.persistence.internal.jpa.metadata.ORMetadata.merge.

INTERNAL:

Annotations
@Override
setExcludeDefaultMappingsback to summary
public void setExcludeDefaultMappings(Boolean excludeDefaultMappings)

INTERNAL: Used for OX mapping.

setPersistenceUnitDefaultsback to summary
public void setPersistenceUnitDefaults(XMLPersistenceUnitDefaults persistenceUnitDefaults)

INTERNAL: Used for OX mapping.

setXMLMappingMetadataCompleteback to summary
public void setXMLMappingMetadataComplete(Boolean xmlMappingMetadataComplete)

INTERNAL: Used for OX mapping.