Top Description Fields Constructors Methods
org.eclipse.persistence.mappings

public Class ManyToOneMapping

extends OneToOneMapping
Class Inheritance

Purpose: Define the relationship to be a ManyToOne. This is mainly functionally the same as OneToOneMapping.

Author
James Sutherland
Since
EclipseLink 2.1

Field Summary

Inherited from org.eclipse.persistence.mappings.OneToOneMapping:
insertableFieldsisOneToOnePrimaryKeyRelationshipisOneToOneRelationshipkeyTableForMapKeymechanismprivateOwnedCriteriasetObjectshouldVerifyDeletesourceExpressionsToPostInitializesourceToTargetKeyFieldstargetExpressionsToPostInitializetargetToSourceKeyFieldsupdatableFields

Constructor Summary

AccessConstructor and Description
public
ManyToOneMapping()

PUBLIC: Default constructor.

Method Summary

Modifier and TypeMethod and Description
public boolean
isManyToOneMapping()

Overrides org.eclipse.persistence.mappings.DatabaseMapping.isManyToOneMapping.

INTERNAL: Related mapping should implement this method to return true.
Inherited from org.eclipse.persistence.mappings.OneToOneMapping:
addAdditionalFieldsToQueryaddFieldsForMapKeyaddForeignKeyFieldaddForeignKeyFieldNameaddKeyToDeletedObjectsListaddTargetForeignKeyFieldaddTargetForeignKeyFieldNamebuildBatchCriteriabuildElementClonebuildObjectJoinExpressionbuildObjectJoinExpressionbuildSelectionCriteriabuildSelectionCriteriabuildSelectionQueryForDirectCollectionKeyMappingbuildShallowOriginalFromRowcheckCacheForBatchKeyclonecollectFieldscollectQueryParameterscreateMapComponentFromJoinedRowcreateMapComponentFromRowcreateMapComponentsFromSerializableKeyInfocreateQueryKeyForMapKeycreateSerializableMapKeyInfocreateStubbedMapComponentFromSerializableKeyInfodeleteMapKeyexecuteBatchQueryextendPessimisticLockScopeInSourceQueryextendPessimisticLockScopeInTargetQueryextractBatchKeyFromRowextractIdentityFieldsForQueryextractKeyFromReferenceObjectextractPrimaryKeysForReferenceObjectFromRowgetAdditionalSelectionCriteriaForMapKeygetAdditionalTablesForJoinQuerygetAllFieldsForMapKeygetExtendPessimisticLockScopeDedicatedQuerygetFieldClassificationgetFieldsForTranslationInAggregategetForeignKeyFieldNamesgetForeignKeyFieldsForMapKeygetForeignKeysToPrimaryKeysgetIdentityFieldsForMapKeygetMapKeyTargetTypegetNestedJoinQuerygetOrderByNormalizedExpressionsgetOrderedForeignKeyFieldsgetPrimaryKeyDescriptorgetPrivateOwnedCriteriagetRelationTablegetRelationTableMechanismgetSourceToTargetKeyFieldAssociationsgetSourceToTargetKeyFieldsgetTargetToSourceKeyFieldsgetTargetVersionOfSourceObjecthasRelationTablehasRelationTableMechanisminitializeinitializeForeignKeysinitializeForeignKeysWithDefaultsinitializePrivateOwnedCriteriaisCascadedLockingSupportedisJoiningSupportedisOneToOneMappingisOneToOnePrimaryKeyRelationshipisOneToOneRelationshipisOwnedisRelationalMappingiterateOnMapKeyperformDataModificationEventpostInitializeMapKeypostInitializeSourceAndTargetExpressionspostInsertpostPrepareNestedBatchQuerypostUpdatepreDeletepreinitializeMapKeyprepareCascadeLockingPolicyreadPrivateOwnedForObjectrehashFieldDependanciesrequiresDataModificationEventsForMapKeysetForeignKeyFieldNamesetForeignKeyFieldNamessetIsOneToOnePrimaryKeyRelationshipsetIsOneToOneRelationshipsetPrivateOwnedCriteriasetRelationTablesetRelationTableMechanismsetShouldVerifyDeletesetSourceToTargetKeyFieldAssociationssetSourceToTargetKeyFieldssetTargetForeignKeyFieldNamesetTargetToSourceKeyFieldsshouldVerifyDeleteshouldWriteFieldunwrapKeyupdateInsertableAndUpdatableFieldsvalueFromObjectvalueFromRowInternalvalueFromRowInternalWithJoinwrapKeywriteFromAttributeIntoRowwriteFromObjectIntoRowwriteFromObjectIntoRowForShallowInsertwriteFromObjectIntoRowForShallowInsertWithChangeRecordwriteFromObjectIntoRowForUpdateAfterShallowInsertwriteFromObjectIntoRowForUpdateBeforeShallowDeletewriteFromObjectIntoRowInternalwriteFromObjectIntoRowWithChangeRecordwriteInsertFieldsIntoRow

Constructor Detail

ManyToOneMappingback to summary
public ManyToOneMapping()

PUBLIC: Default constructor.

Method Detail

isManyToOneMappingback to summary
public boolean isManyToOneMapping()

Overrides org.eclipse.persistence.mappings.DatabaseMapping.isManyToOneMapping.

INTERNAL: Related mapping should implement this method to return true.

Annotations
@Override