Module org.eclipse.persistence.jpa
Class JoinTableMetadata
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.JoinTableMetadata
INTERNAL:
Object to hold onto join table metadata in a 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 EJB 3.0 Reference Implementation
-
Field Summary
Fields inherited from class org.eclipse.persistence.internal.jpa.metadata.ORMetadata
m_project -
Constructor Summary
ConstructorsConstructorDescriptionINTERNAL: Used for XML loading.JoinTableMetadata(MetadataAccessor accessor) INTERNAL: Used for defaulting.JoinTableMetadata(MetadataAnnotation joinTable, MetadataAccessor accessor) INTERNAL: Used for annotation loading. -
Method Summary
Modifier and TypeMethodDescriptionbooleanINTERNAL:INTERNAL:INTERNAL: Used for OX mapping.INTERNAL: Used for OX mapping.INTERNAL:INTERNAL:inthashCode()voidinitXMLObject(MetadataAccessibleObject accessibleObject, XMLEntityMappings entityMappings) INTERNAL:voidINTERNAL: Process any foreign key specification for this table.voidsetInverseForeignKey(ForeignKeyMetadata inverseForeignKey) INTERNAL: Used for OX mapping.voidsetInverseJoinColumns(List<JoinColumnMetadata> inverseJoinColumns) INTERNAL: Used for OX mapping.Methods inherited from class org.eclipse.persistence.internal.jpa.metadata.tables.RelationalTableMetadata
getForeignKey, getJoinColumns, setForeignKey, setJoinColumnsMethods 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, setUseDelimitersMethods 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
-
JoinTableMetadata
public JoinTableMetadata()INTERNAL: Used for XML loading. -
JoinTableMetadata
INTERNAL: Used for defaulting. -
JoinTableMetadata
INTERNAL: Used for annotation loading.
-
-
Method Details
-
equals
INTERNAL:- Overrides:
equalsin classRelationalTableMetadata
-
hashCode
public int hashCode()- Overrides:
hashCodein classRelationalTableMetadata
-
getCatalogContext
INTERNAL:- Overrides:
getCatalogContextin classTableMetadata
-
getInverseForeignKey
INTERNAL: Used for OX mapping. -
getInverseJoinColumns
INTERNAL: Used for OX mapping. -
getNameContext
INTERNAL:- Overrides:
getNameContextin classTableMetadata
-
getSchemaContext
INTERNAL:- Overrides:
getSchemaContextin classTableMetadata
-
initXMLObject
public void initXMLObject(MetadataAccessibleObject accessibleObject, XMLEntityMappings entityMappings) INTERNAL:- Overrides:
initXMLObjectin classRelationalTableMetadata
-
processForeignKey
public void processForeignKey()INTERNAL: Process any foreign key specification for this table.- Overrides:
processForeignKeyin classRelationalTableMetadata
-
setInverseForeignKey
INTERNAL: Used for OX mapping. -
setInverseJoinColumns
INTERNAL: Used for OX mapping.
-