Module org.eclipse.persistence.jpa
Class CollectionTableMetadata
java.lang.Object
org.eclipse.persistence.internal.jpa.metadata.ORMetadata
org.eclipse.persistence.internal.jpa.metadata.tables.TableMetadata
org.eclipse.persistence.internal.jpa.metadata.tables.RelationalTableMetadata
org.eclipse.persistence.internal.jpa.metadata.tables.CollectionTableMetadata
INTERNAL:
Object to hold onto a collection table metadata in an EclipseLink
database table.
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:
- TopLink 11g
-
Field Summary
Fields inherited from class org.eclipse.persistence.internal.jpa.metadata.ORMetadata
m_project
-
Constructor Summary
ConstructorDescriptionINTERNAL: Used for XML loading.CollectionTableMetadata
(MetadataAccessor accessor) INTERNAL: Used for defaulting.CollectionTableMetadata
(MetadataAnnotation collectionTable, MetadataAccessor accessor) INTERNAL: Used for annotation loading. -
Method Summary
Modifier and TypeMethodDescriptionboolean
INTERNAL:INTERNAL:INTERNAL:INTERNAL:INTERNAL:int
hashCode()
void
initXMLObject
(MetadataAccessibleObject accessibleObject, XMLEntityMappings entityMappings) INTERNAL:void
setPrimaryKeyJoinColumns
(List<PrimaryKeyJoinColumnMetadata> primaryKeyJoinColumns) INTERNAL:Methods inherited from class org.eclipse.persistence.internal.jpa.metadata.tables.RelationalTableMetadata
getForeignKey, getJoinColumns, processForeignKey, setForeignKey, setJoinColumns
Methods inherited from class org.eclipse.persistence.internal.jpa.metadata.tables.TableMetadata
getCatalog, getCreationSuffix, getDatabaseTable, getIndexes, getName, getSchema, getUniqueConstraints, processCreationSuffix, processIndexes, processUniqueConstraints, setCatalog, setCreationSuffix, setDatabaseTable, setFullyQualifiedTableName, setIndexes, setName, setSchema, setUniqueConstraints, setUseDelimiters
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, merge, mergeORObjectLists, mergeORObjects, mergeSimpleObjects, reloadEntity, reloadMappedSuperclass, setAccessibleObject, setEntityMappings, setFieldName, setFieldName, setProject, shouldOverride, valuesMatch, valuesMatch
-
Constructor Details
-
CollectionTableMetadata
public CollectionTableMetadata()INTERNAL: Used for XML loading. -
CollectionTableMetadata
INTERNAL: Used for defaulting. -
CollectionTableMetadata
INTERNAL: Used for annotation loading.
-
-
Method Details
-
equals
INTERNAL:- Overrides:
equals
in classRelationalTableMetadata
-
hashCode
public int hashCode()- Overrides:
hashCode
in classRelationalTableMetadata
-
getCatalogContext
INTERNAL:- Overrides:
getCatalogContext
in classTableMetadata
-
getNameContext
INTERNAL:- Overrides:
getNameContext
in classTableMetadata
-
getPrimaryKeyJoinColumns
INTERNAL: -
getSchemaContext
INTERNAL:- Overrides:
getSchemaContext
in classTableMetadata
-
initXMLObject
public void initXMLObject(MetadataAccessibleObject accessibleObject, XMLEntityMappings entityMappings) INTERNAL:- Overrides:
initXMLObject
in classRelationalTableMetadata
-
setPrimaryKeyJoinColumns
INTERNAL:
-