EclipseLink 2.2.0, build 'v20110202-r8913' API Reference

org.eclipse.persistence.mappings.foundation
Interface MapComponentMapping

All Known Subinterfaces:
MapKeyMapping
All Known Implementing Classes:
AbstractDirectMapping, AggregateCollectionMapping, AggregateObjectMapping, DirectMapMapping, DirectToFieldMapping, DirectToXMLTypeMapping, EISDirectMapping, ManyToManyMapping, ManyToOneMapping, OneToManyMapping, OneToOneMapping, UnidirectionalOneToManyMapping, XMLBinaryDataMapping, XMLDirectMapping, XMLFragmentMapping

public interface MapComponentMapping

A MapComponentMapping is any mapping that can be used as the key or the value in a mapping that uses a MappedKeyMapContainerPolicy. This interface is generally implemented by mappings that provide the value in a mapping to a Map. Mappings that provide the key generally implement sub-interface MapKeyMapping

See Also:
MappedKeyContainerPolicy, MapKeyMapping, DirectCollectionMapping, AggregateCollectionMapping, OneToManyMapping, UnidirectionalOneToManyMapping, ManyToManyMapping
Author:
tware

Method Summary
 java.lang.Object createMapComponentFromRow(org.eclipse.persistence.internal.sessions.AbstractRecord dbRow, ObjectBuildingQuery query, org.eclipse.persistence.internal.identitymaps.CacheKey parentCacheKey, org.eclipse.persistence.internal.sessions.AbstractSession session, boolean isTargetProtected)
          INTERNAL Called when a DatabaseMapping is used to map the key in a collection.
 

Method Detail

createMapComponentFromRow

java.lang.Object createMapComponentFromRow(org.eclipse.persistence.internal.sessions.AbstractRecord dbRow,
                                           ObjectBuildingQuery query,
                                           org.eclipse.persistence.internal.identitymaps.CacheKey parentCacheKey,
                                           org.eclipse.persistence.internal.sessions.AbstractSession session,
                                           boolean isTargetProtected)
INTERNAL Called when a DatabaseMapping is used to map the key in a collection. Returns the key.


EclipseLink 2.2.0, build 'v20110202-r8913' API Reference