Module org.eclipse.persistence.jpa
Class XMLPersistenceUnitDefaults
java.lang.Object
org.eclipse.persistence.internal.jpa.metadata.ORMetadata
org.eclipse.persistence.internal.jpa.metadata.xml.XMLPersistenceUnitDefaults
Object to hold onto the XML persistence unit defaults.
Key notes:
- any metadata mapped from XML to this class must be compared in the
equals method.
- when loading from annotations, the constructor accepts the metadata
accessor this metadata was loaded from. Used it to look up any
'companion' annotation needed for processing.
- methods should be preserved in alphabetical order.
- Since:
- EclipseLink 1.0
-
Field Summary
Fields inherited from class org.eclipse.persistence.internal.jpa.metadata.ORMetadata
m_project
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
INTERNAL:INTERNAL: Used for OX mapping.INTERNAL: Used for OX mapping.INTERNAL: Used for OX mapping.INTERNAL: Used for OX mapping.INTERNAL: Used for OX mapping.INTERNAL: Used for OX mapping.INTERNAL: Used for OX mapping.INTERNAL: Used for OX mapping.boolean
INTERNAL:int
hashCode()
void
initXMLObject
(MetadataAccessibleObject accessibleObject, XMLEntityMappings entityMappings) INTERNAL:boolean
INTERNAL: Used for OX mapping.boolean
INTERNAL: Used for OX mapping.void
merge
(ORMetadata metadata) INTERNAL:void
INTERNAL: Used for OX mapping.void
setAccessMethods
(AccessMethodsMetadata accessMethods) INTERNAL: Used for OX mapping.void
setCascadePersist
(Boolean cascadePersist) INTERNAL: Used for OX mapping.void
setCatalog
(String catalog) INTERNAL: Used for OX mapping.void
setDelimitedIdentifiers
(Boolean delimitedIdentifiers) INTERNAL: Used for OX mapping.void
setEntityListeners
(List<EntityListenerMetadata> entityListeners) INTERNAL: Used for OX mapping.void
INTERNAL: Used for OX mapping.void
setTenantDiscriminatorColumns
(List<TenantDiscriminatorColumnMetadata> tenantDiscriminatorColumns) INTERNAL: Used for OX mapping.Methods inherited from class org.eclipse.persistence.internal.jpa.metadata.ORMetadata
getAccessibleObject, getAccessibleObjectName, getAnnotation, getBoxedType, getDatabaseTypeEnum, getEntityMappings, getFullyQualifiedClassName, getIdentifier, getJavaClass, getJavaClassName, getLoader, getLocation, getLogger, getMetadataClass, getMetadataClass, getMetadataClass, getMetadataFactory, getName, getPrimitiveClassForName, getProject, getText, getXMLElement, hasIdentifier, hasText, initXMLClassName, initXMLObject, initXMLObjects, initXMLTextObject, loadedFromAnnotation, loadedFromEclipseLinkXML, loadedFromXML, mergeORObjectLists, mergeORObjects, mergeSimpleObjects, reloadEntity, reloadMappedSuperclass, setAccessibleObject, setEntityMappings, setFieldName, setFieldName, setProject, shouldOverride, valuesMatch, valuesMatch
-
Constructor Details
-
XMLPersistenceUnitDefaults
public XMLPersistenceUnitDefaults()INTERNAL:
-
-
Method Details
-
equals
INTERNAL:- Specified by:
equals
in classORMetadata
-
hashCode
public int hashCode() -
getAccess
INTERNAL: Used for OX mapping. -
getAccessMethods
INTERNAL: Used for OX mapping. -
getCascadePersist
INTERNAL: Used for OX mapping. -
getCatalog
INTERNAL: Used for OX mapping. -
getDelimitedIdentifiers
INTERNAL: Used for OX mapping. -
getEntityListeners
INTERNAL: Used for OX mapping. -
getSchema
INTERNAL: Used for OX mapping. -
getTenantDiscriminatorColumns
INTERNAL: Used for OX mapping. -
hasAccessMethods
public boolean hasAccessMethods()INTERNAL: -
initXMLObject
public void initXMLObject(MetadataAccessibleObject accessibleObject, XMLEntityMappings entityMappings) INTERNAL:- Overrides:
initXMLObject
in classORMetadata
-
isCascadePersist
public boolean isCascadePersist()INTERNAL: Used for OX mapping. -
isDelimitedIdentifiers
public boolean isDelimitedIdentifiers()INTERNAL: Used for OX mapping. -
merge
INTERNAL:- Overrides:
merge
in classORMetadata
-
setAccess
INTERNAL: Used for OX mapping. -
setAccessMethods
INTERNAL: Used for OX mapping. -
setCascadePersist
INTERNAL: Used for OX mapping. -
setCatalog
INTERNAL: Used for OX mapping. -
setDelimitedIdentifiers
INTERNAL: Used for OX mapping. -
setEntityListeners
INTERNAL: Used for OX mapping. -
setSchema
INTERNAL: Used for OX mapping. -
setTenantDiscriminatorColumns
public void setTenantDiscriminatorColumns(List<TenantDiscriminatorColumnMetadata> tenantDiscriminatorColumns) INTERNAL: Used for OX mapping.
-