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

public Class XMLInverseReferenceMapping

extends AggregateMapping
implements InverseReferenceMapping<AbstractSession, AttributeAccessor, ContainerPolicy, ClassDescriptor, DatabaseField, DatabaseMapping, XMLRecord<ABSTRACT_SESSION extends CoreAbstractSession<DESCRIPTOR extends CoreDescriptor<ATTRIBUTE_GROUP extends CoreAttributeGroup, DESCRIPTOR_EVENT_MANAGER extends CoreDescriptorEventManager, FIELD extends CoreField, INHERITANCE_POLICY extends CoreInheritancePolicy, INSTANTIATION_POLICY extends CoreInstantiationPolicy, LIST extends List<E>, OBJECT_BUILDER extends CoreObjectBuilder>, LOGIN extends CoreLogin<PLATFORM extends CorePlatform>, PLATFORM extends CorePlatform<CONVERSION_MANAGER extends CoreConversionManager>, PROJECT extends CoreProject<DESCRIPTOR extends CoreDescriptor<ATTRIBUTE_GROUP extends CoreAttributeGroup, DESCRIPTOR_EVENT_MANAGER extends CoreDescriptorEventManager, FIELD extends CoreField, INHERITANCE_POLICY extends CoreInheritancePolicy, INSTANTIATION_POLICY extends CoreInstantiationPolicy, LIST extends List<E>, OBJECT_BUILDER extends CoreObjectBuilder>, LOGIN extends CoreLogin<PLATFORM extends CorePlatform>, SESSION extends CoreSession>, SESSION_EVENT_MANAGER extends CoreSessionEventManager<SESSION_EVENT_LISTENER extends CoreSessionEventListener>>>>, ContainerMapping
Class Inheritance
All Implemented Interfaces
org.eclipse.persistence.mappings.ContainerMapping, org.eclipse.persistence.internal.oxm.mappings.InverseReferenceMapping, org.eclipse.persistence.internal.oxm.mappings.Mapping
Imports
java.util.Collection, .Map, .Vector, org.eclipse.persistence.descriptors.ClassDescriptor, org.eclipse.persistence.exceptions.DescriptorException, org.eclipse.persistence.internal.descriptors.DescriptorIterator, org.eclipse.persistence.internal.helper.DatabaseField, org.eclipse.persistence.internal.identitymaps.CacheKey, org.eclipse.persistence.internal.oxm.mappings.InverseReferenceMapping, org.eclipse.persistence.internal.oxm.record.XMLRecord, org.eclipse.persistence.internal.queries.CollectionContainerPolicy, .ContainerPolicy, .JoinedAttributeManager, .ListContainerPolicy, .MapContainerPolicy, org.eclipse.persistence.internal.sessions.AbstractRecord, .AbstractSession, .ChangeRecord, .MergeManager, .ObjectChangeSet, .UnitOfWorkImpl, org.eclipse.persistence.internal.sessions.remote.ObjectDescriptor, org.eclipse.persistence.mappings.AggregateMapping, .AttributeAccessor, .ContainerMapping, .DatabaseMapping, org.eclipse.persistence.queries.ObjectBuildingQuery, .ObjectLevelReadQuery, org.eclipse.persistence.sessions.remote.DistributedSession

This mapping is used to map a back-pointer. It represents the "opposite" of one of the following relationship mappings:

When configuring an XMLInverseReferenceMapping, the "mappedBy" field must be set to the field on the reference class that maps to this Descriptor. For example:

// EMPLOYEE has a collection of PHONEs (phoneNumbers)
// PHONE has a back-pointer to EMPLOYEE (owningEmployee)

// EMPLOYEE Descriptor
XMLCompositeCollectionMapping phone = new XMLCompositeCollectionMapping();
phone.setReferenceClassName("org.example.PhoneNumber");
phone.setAttributeName("phoneNumbers");
...

// PHONE Descriptor
XMLInverseReferenceMapping owningEmployee = new XMLInverseReferenceMapping();
owningEmployee.setReferenceClassName("org.example.Employee");
owningEmployee.setMappedBy("phoneNumbers");
owningEmployee.setAttributeName("owningEmployee");
...

Field Summary

Modifier and TypeField and Description
private ContainerPolicy
private DatabaseMapping
private String
Inherited from org.eclipse.persistence.mappings.AggregateMapping:
hasNestedIdentityReferencereferenceClassreferenceClassNamereferenceDescriptor

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
buildBackupClone(Object
TODO
clone
,
Object
TODO
backup
,
UnitOfWorkImpl
TODO
unitOfWork
)

Overrides org.eclipse.persistence.mappings.AggregateMapping.buildBackupClone.

INTERNAL: Clone the attribute from the clone and assign it to the backup.
public void
buildClone(Object
TODO
original
,
CacheKey
TODO
cacheKey
,
Object
TODO
clone
,
Integer
TODO
refreshCascade
,
AbstractSession
TODO
cloningSession
)

Overrides org.eclipse.persistence.mappings.AggregateMapping.buildClone.

INTERNAL: Clone the attribute from the original and assign it to the clone.
public void
buildCloneFromRow(AbstractRecord
TODO
databaseRow
,
JoinedAttributeManager
TODO
joinManager
,
Object
TODO
clone
,
CacheKey
TODO
sharedCacheKey
,
ObjectBuildingQuery
TODO
sourceQuery
,
UnitOfWorkImpl
TODO
unitOfWork
,
AbstractSession
TODO
executionSession
)

Overrides org.eclipse.persistence.mappings.AggregateMapping.buildCloneFromRow.

INTERNAL: A combination of readFromRowIntoObject and buildClone.
public void
cascadePerformRemoveIfRequired(Object
TODO
object
,
UnitOfWorkImpl
TODO
uow
,
Map<K, V>
TODO
visitedObjects
)

Implements abstract org.eclipse.persistence.mappings.DatabaseMapping.cascadePerformRemoveIfRequired.

INTERNAL: Cascade registerNew for Create through mappings that require the cascade
public void
cascadeRegisterNewIfRequired(Object
TODO
object
,
UnitOfWorkImpl
TODO
uow
,
Map<K, V>
TODO
visitedObjects
)

Implements abstract org.eclipse.persistence.mappings.DatabaseMapping.cascadeRegisterNewIfRequired.

INTERNAL: Cascade registerNew for Create through mappings that require the cascade
public ChangeRecord
compareForChange(Object
TODO
clone
,
Object
TODO
backup
,
ObjectChangeSet
TODO
owner
,
AbstractSession
TODO
session
)

Overrides org.eclipse.persistence.mappings.AggregateMapping.compareForChange.

INTERNAL: Compare the changes between two aggregates.
public boolean
compareObjects(Object
TODO
firstObject
,
Object
TODO
secondObject
,
AbstractSession
TODO
session
)

Overrides org.eclipse.persistence.mappings.AggregateMapping.compareObjects.

INTERNAL: Compare the attributes belonging to this mapping for the objects.
public void
fixObjectReferences(Object
TODO
object
,
Map<Object, ObjectDescriptor>
TODO
objectDescriptors
,
Map<Object, Object>
TODO
processedObjects
,
ObjectLevelReadQuery
TODO
query
,
DistributedSession
TODO
session
)

Overrides org.eclipse.persistence.mappings.AggregateMapping.fixObjectReferences.

INTERNAL: An object has been serialized from the server to the remote client.
public ContainerPolicy
public DatabaseMapping
public String
public void
initialize(AbstractSession session)

Overrides org.eclipse.persistence.mappings.AggregateMapping.initialize.

INTERNAL: Initialize the reference descriptor.
public boolean
isXMLMapping()

Overrides org.eclipse.persistence.mappings.DatabaseMapping.isXMLMapping.

INTERNAL: All relational mappings should implement this method to return true.
public void
iterate(DescriptorIterator iterator)

Overrides org.eclipse.persistence.mappings.AggregateMapping.iterate.

INTERNAL: Iterate on the appropriate attribute value.
public void
mergeChangesIntoObject(Object target, ChangeRecord changeRecord, Object source, MergeManager mergeManager, AbstractSession targetSession)

Overrides org.eclipse.persistence.mappings.AggregateMapping.mergeChangesIntoObject.

INTERNAL: Merge changes from the source to the target object.
public void
mergeIntoObject(Object target, boolean isTargetUninitialized, Object source, MergeManager mergeManager, AbstractSession targetSession)

Overrides org.eclipse.persistence.mappings.AggregateMapping.mergeIntoObject.

INTERNAL: Merge changes from the source to the target object.
public void
postInitialize(AbstractSession session)

Overrides org.eclipse.persistence.mappings.DatabaseMapping.postInitialize.

INTERNAL: Allow for initialization of properties and validation that have dependecies no the descriptor being initialized.
public void
preInitialize(AbstractSession session)

Overrides org.eclipse.persistence.mappings.DatabaseMapping.preInitialize.

INTERNAL: Allow for initialization of properties and validation.
public void
public void
public void
public void
useCollectionClass(Class<?> concreteClass)

Implements org.eclipse.persistence.internal.oxm.mappings.InverseReferenceMapping.useCollectionClass, org.eclipse.persistence.mappings.ContainerMapping.useCollectionClass.

PUBLIC: Configure the mapping to use an instance of the specified container class to hold the target objects.
public void
useCollectionClassName(String concreteClass)

Implements org.eclipse.persistence.mappings.ContainerMapping.useCollectionClassName.

PUBLIC: Configure the mapping to use an instance of the specified container class to hold the target objects.
public void
useListClassName(String concreteClass)

Implements org.eclipse.persistence.mappings.ContainerMapping.useListClassName.

PUBLIC: Configure the mapping to use an instance of the specified container class to hold the target objects.
public void
useMapClass(Class<?> concreteClass, String methodName)

Implements org.eclipse.persistence.mappings.ContainerMapping.useMapClass.

PUBLIC: Configure the mapping to use an instance of the specified container class to hold the target objects.
public void
useMapClassName(String concreteClass, String methodName)

Implements org.eclipse.persistence.mappings.ContainerMapping.useMapClassName.

PUBLIC: Configure the mapping to use an instance of the specified container class to hold the target objects.
public void
writeSingleValue(Object value, Object object, XMLRecord<ABSTRACT_SESSION extends CoreAbstractSession<DESCRIPTOR extends CoreDescriptor<ATTRIBUTE_GROUP extends CoreAttributeGroup, DESCRIPTOR_EVENT_MANAGER extends CoreDescriptorEventManager, FIELD extends CoreField, INHERITANCE_POLICY extends CoreInheritancePolicy, INSTANTIATION_POLICY extends CoreInstantiationPolicy, LIST extends List<E>, OBJECT_BUILDER extends CoreObjectBuilder>, LOGIN extends CoreLogin<PLATFORM extends CorePlatform>, PLATFORM extends CorePlatform<CONVERSION_MANAGER extends CoreConversionManager>, PROJECT extends CoreProject<DESCRIPTOR extends CoreDescriptor<ATTRIBUTE_GROUP extends CoreAttributeGroup, DESCRIPTOR_EVENT_MANAGER extends CoreDescriptorEventManager, FIELD extends CoreField, INHERITANCE_POLICY extends CoreInheritancePolicy, INSTANTIATION_POLICY extends CoreInstantiationPolicy, LIST extends List<E>, OBJECT_BUILDER extends CoreObjectBuilder>, LOGIN extends CoreLogin<PLATFORM extends CorePlatform>, SESSION extends CoreSession>, SESSION_EVENT_MANAGER extends CoreSessionEventManager<SESSION_EVENT_LISTENER extends CoreSessionEventListener>>> record, AbstractSession session)

Implements org.eclipse.persistence.internal.oxm.mappings.Mapping.writeSingleValue.

Inherited from org.eclipse.persistence.mappings.AggregateMapping:
buildAggregateDeleteQuerybuildAggregateModifyQuerybuildAggregateWriteQuerybuildBackupClonePartbuildClonePartbuildClonePartbuildCopybuildCopyOfAttributeValuebuildExpressionbuildNewMergeInstanceOfcompareAttributeValuesconvertClassNamesToClassesexecuteEventfixAttributeValuegetAttributeValueFromBackupClonegetObjectBuildergetObjectBuilderForClassgetQueryManagergetReferenceClassgetReferenceClassNamegetReferenceDescriptorgetReferenceDescriptorgetReferenceDescriptorhasNestedIdentityReferenceisAggregateMappingiterateOnAttributeValueloadloadAllmergeAttributeValuepostDeletepostDeleteAttributeValuepostInsertpostInsertAttributeValuepostUpdatepostUpdateAttributeValuepreDeletepreDeleteAttributeValuepreInsertpreInsertAttributeValuepreUpdatepreUpdateAttributeValueremoteInitializationsetReferenceClasssetReferenceClassNamesetReferenceDescriptorupdateChangeRecordverifyDeleteverifyDeleteOfAttributeValue

Field Detail

containerPolicyback to summary
private ContainerPolicy containerPolicy
inlineMappingback to summary
private DatabaseMapping inlineMapping
mappedByback to summary
private String mappedBy

Constructor Detail

XMLInverseReferenceMappingback to summary
public XMLInverseReferenceMapping()

Method Detail

buildBackupCloneback to summary
public void buildBackupClone(Object clone, Object backup, UnitOfWorkImpl unitOfWork)

Overrides org.eclipse.persistence.mappings.AggregateMapping.buildBackupClone.

Doc from org.eclipse.persistence.mappings.AggregateMapping.buildBackupClone.

INTERNAL: Clone the attribute from the clone and assign it to the backup.

Parameters
clone:Object

Doc from org.eclipse.persistence.mappings.DatabaseMapping.buildBackupClone.

TODO

backup:Object

Doc from org.eclipse.persistence.mappings.DatabaseMapping.buildBackupClone.

TODO

unitOfWork:UnitOfWorkImpl

Doc from org.eclipse.persistence.mappings.DatabaseMapping.buildBackupClone.

TODO

Annotations
@Override
buildCloneback to summary
public void buildClone(Object original, CacheKey cacheKey, Object clone, Integer refreshCascade, AbstractSession cloningSession)

Overrides org.eclipse.persistence.mappings.AggregateMapping.buildClone.

Doc from org.eclipse.persistence.mappings.AggregateMapping.buildClone.

INTERNAL: Clone the attribute from the original and assign it to the clone.

Parameters
original:Object

Doc from org.eclipse.persistence.mappings.DatabaseMapping.buildClone.

TODO

cacheKey:CacheKey

Doc from org.eclipse.persistence.mappings.DatabaseMapping.buildClone.

TODO

clone:Object

Doc from org.eclipse.persistence.mappings.DatabaseMapping.buildClone.

TODO

refreshCascade:Integer

Doc from org.eclipse.persistence.mappings.DatabaseMapping.buildClone.

TODO

cloningSession:AbstractSession

Doc from org.eclipse.persistence.mappings.DatabaseMapping.buildClone.

TODO

Annotations
@Override
buildCloneFromRowback to summary
public void buildCloneFromRow(AbstractRecord databaseRow, JoinedAttributeManager joinManager, Object clone, CacheKey sharedCacheKey, ObjectBuildingQuery sourceQuery, UnitOfWorkImpl unitOfWork, AbstractSession executionSession)

Overrides org.eclipse.persistence.mappings.AggregateMapping.buildCloneFromRow.

Doc from org.eclipse.persistence.mappings.AggregateMapping.buildCloneFromRow.

INTERNAL: A combination of readFromRowIntoObject and buildClone.

buildClone assumes the attribute value exists on the original and can simply be copied.

readFromRowIntoObject assumes that one is building an original.

Both of the above assumptions are false in this method, and actually attempts to do both at the same time.

Extract value from the row and set the attribute to this value in the working copy clone. In order to bypass the shared cache when in transaction a UnitOfWork must be able to populate working copies directly from the row.

Parameters
databaseRow:AbstractRecord

Doc from org.eclipse.persistence.mappings.DatabaseMapping.buildCloneFromRow.

TODO

joinManager:JoinedAttributeManager

Doc from org.eclipse.persistence.mappings.DatabaseMapping.buildCloneFromRow.

TODO

clone:Object

Doc from org.eclipse.persistence.mappings.DatabaseMapping.buildCloneFromRow.

TODO

sharedCacheKey:CacheKey

Doc from org.eclipse.persistence.mappings.DatabaseMapping.buildCloneFromRow.

TODO

sourceQuery:ObjectBuildingQuery

Doc from org.eclipse.persistence.mappings.DatabaseMapping.buildCloneFromRow.

TODO

unitOfWork:UnitOfWorkImpl

Doc from org.eclipse.persistence.mappings.DatabaseMapping.buildCloneFromRow.

TODO

executionSession:AbstractSession

Doc from org.eclipse.persistence.mappings.DatabaseMapping.buildCloneFromRow.

TODO

Annotations
@Override
cascadePerformRemoveIfRequiredback to summary
public void cascadePerformRemoveIfRequired(Object object, UnitOfWorkImpl uow, Map<K, V> visitedObjects)

Implements abstract org.eclipse.persistence.mappings.DatabaseMapping.cascadePerformRemoveIfRequired.

Doc from org.eclipse.persistence.mappings.DatabaseMapping.cascadePerformRemoveIfRequired.

INTERNAL: Cascade registerNew for Create through mappings that require the cascade

Parameters
object:Object

TODO

uow:UnitOfWorkImpl

TODO

visitedObjects:Map<K, V>

TODO

Annotations
@Override
cascadeRegisterNewIfRequiredback to summary
public void cascadeRegisterNewIfRequired(Object object, UnitOfWorkImpl uow, Map<K, V> visitedObjects)

Implements abstract org.eclipse.persistence.mappings.DatabaseMapping.cascadeRegisterNewIfRequired.

Doc from org.eclipse.persistence.mappings.DatabaseMapping.cascadeRegisterNewIfRequired.

INTERNAL: Cascade registerNew for Create through mappings that require the cascade

Parameters
object:Object

TODO

uow:UnitOfWorkImpl

TODO

visitedObjects:Map<K, V>

TODO

Annotations
@Override
compareForChangeback to summary
public ChangeRecord compareForChange(Object clone, Object backup, ObjectChangeSet owner, AbstractSession session)

Overrides org.eclipse.persistence.mappings.AggregateMapping.compareForChange.

Doc from org.eclipse.persistence.mappings.AggregateMapping.compareForChange.

INTERNAL: Compare the changes between two aggregates. Return a change record holding the changes.

Parameters
clone:Object

Doc from org.eclipse.persistence.mappings.DatabaseMapping.compareForChange.

TODO

backup:Object

Doc from org.eclipse.persistence.mappings.DatabaseMapping.compareForChange.

TODO

owner:ObjectChangeSet

Doc from org.eclipse.persistence.mappings.DatabaseMapping.compareForChange.

TODO

session:AbstractSession

Doc from org.eclipse.persistence.mappings.DatabaseMapping.compareForChange.

TODO

Returns:ChangeRecord

Doc from org.eclipse.persistence.mappings.DatabaseMapping.compareForChange.

prototype.changeset.ChangeRecord TODO

Annotations
@Override
compareObjectsback to summary
public boolean compareObjects(Object firstObject, Object secondObject, AbstractSession session)

Overrides org.eclipse.persistence.mappings.AggregateMapping.compareObjects.

Doc from org.eclipse.persistence.mappings.AggregateMapping.compareObjects.

INTERNAL: Compare the attributes belonging to this mapping for the objects.

Parameters
firstObject:Object

Doc from org.eclipse.persistence.mappings.DatabaseMapping.compareObjects.

TODO

secondObject:Object

Doc from org.eclipse.persistence.mappings.DatabaseMapping.compareObjects.

TODO

session:AbstractSession

Doc from org.eclipse.persistence.mappings.DatabaseMapping.compareObjects.

TODO

Returns:boolean

Doc from org.eclipse.persistence.mappings.DatabaseMapping.compareObjects.

TODO

Annotations
@Override
fixObjectReferencesback to summary
public void fixObjectReferences(Object object, Map<Object, ObjectDescriptor> objectDescriptors, Map<Object, Object> processedObjects, ObjectLevelReadQuery query, DistributedSession session)

Overrides org.eclipse.persistence.mappings.AggregateMapping.fixObjectReferences.

Doc from org.eclipse.persistence.mappings.AggregateMapping.fixObjectReferences.

INTERNAL: An object has been serialized from the server to the remote client. Replace the transient attributes of the remote value holders with client-side objects.

Parameters
object:Object

Doc from org.eclipse.persistence.mappings.DatabaseMapping.fixObjectReferences.

TODO

objectDescriptors:Map<Object, ObjectDescriptor>

Doc from org.eclipse.persistence.mappings.DatabaseMapping.fixObjectReferences.

TODO

processedObjects:Map<Object, Object>

Doc from org.eclipse.persistence.mappings.DatabaseMapping.fixObjectReferences.

TODO

query:ObjectLevelReadQuery

Doc from org.eclipse.persistence.mappings.DatabaseMapping.fixObjectReferences.

TODO

session:DistributedSession

Doc from org.eclipse.persistence.mappings.DatabaseMapping.fixObjectReferences.

TODO

Annotations
@Override
getContainerPolicyback to summary
public ContainerPolicy getContainerPolicy()

Overrides org.eclipse.persistence.mappings.DatabaseMapping.getContainerPolicy.

Implements org.eclipse.persistence.internal.oxm.mappings.Mapping.getContainerPolicy, org.eclipse.persistence.mappings.ContainerMapping.getContainerPolicy.

Doc from org.eclipse.persistence.mappings.ContainerMapping.getContainerPolicy.

PUBLIC: Return the mapping's container policy.

Returns:ContainerPolicy

Doc from org.eclipse.persistence.mappings.DatabaseMapping.getContainerPolicy.

TODO

Annotations
@Override
getInlineMappingback to summary
public DatabaseMapping getInlineMapping()

Implements org.eclipse.persistence.internal.oxm.mappings.InverseReferenceMapping.getInlineMapping.

Annotations
@Override
getMappedByback to summary
public String getMappedBy()
initializeback to summary
public void initialize(AbstractSession session) throws DescriptorException

Overrides org.eclipse.persistence.mappings.AggregateMapping.initialize.

Doc from org.eclipse.persistence.mappings.AggregateMapping.initialize.

INTERNAL: Initialize the reference descriptor.

Annotations
@Override
isXMLMappingback to summary
public boolean isXMLMapping()

Overrides org.eclipse.persistence.mappings.DatabaseMapping.isXMLMapping.

Doc from org.eclipse.persistence.mappings.DatabaseMapping.isXMLMapping.

INTERNAL: All relational mappings should implement this method to return true.

Annotations
@Override
iterateback to summary
public void iterate(DescriptorIterator iterator)

Overrides org.eclipse.persistence.mappings.AggregateMapping.iterate.

Doc from org.eclipse.persistence.mappings.AggregateMapping.iterate.

INTERNAL: Iterate on the appropriate attribute value.

Annotations
@Override
mergeChangesIntoObjectback to summary
public void mergeChangesIntoObject(Object target, ChangeRecord changeRecord, Object source, MergeManager mergeManager, AbstractSession targetSession)

Overrides org.eclipse.persistence.mappings.AggregateMapping.mergeChangesIntoObject.

Doc from org.eclipse.persistence.mappings.AggregateMapping.mergeChangesIntoObject.

INTERNAL: Merge changes from the source to the target object. With aggregates the merge must cascade to the object changes for the aggregate object because aggregate objects have no identity outside of themselves. The actual aggregate object does not need to be replaced, because even if the clone references another aggregate it appears the same to TopLink

Annotations
@Override
mergeIntoObjectback to summary
public void mergeIntoObject(Object target, boolean isTargetUninitialized, Object source, MergeManager mergeManager, AbstractSession targetSession)

Overrides org.eclipse.persistence.mappings.AggregateMapping.mergeIntoObject.

Doc from org.eclipse.persistence.mappings.AggregateMapping.mergeIntoObject.

INTERNAL: Merge changes from the source to the target object. This merge is only called when a changeSet for the target does not exist or the target is uninitialized

Annotations
@Override
postInitializeback to summary
public void postInitialize(AbstractSession session) throws DescriptorException

Overrides org.eclipse.persistence.mappings.DatabaseMapping.postInitialize.

Doc from org.eclipse.persistence.mappings.DatabaseMapping.postInitialize.

INTERNAL: Allow for initialization of properties and validation that have dependecies no the descriptor being initialized.

Annotations
@Override
preInitializeback to summary
public void preInitialize(AbstractSession session)

Overrides org.eclipse.persistence.mappings.DatabaseMapping.preInitialize.

Doc from org.eclipse.persistence.mappings.DatabaseMapping.preInitialize.

INTERNAL: Allow for initialization of properties and validation.

Annotations
@Override
setContainerPolicyback to summary
public void setContainerPolicy(ContainerPolicy containerPolicy)

Implements org.eclipse.persistence.internal.oxm.mappings.InverseReferenceMapping.setContainerPolicy, org.eclipse.persistence.mappings.ContainerMapping.setContainerPolicy.

Doc from org.eclipse.persistence.mappings.ContainerMapping.setContainerPolicy.

PUBLIC: Set the mapping's container policy.

Annotations
@Override
setInlineMappingback to summary
public void setInlineMapping(DatabaseMapping inlineMapping)

Implements org.eclipse.persistence.internal.oxm.mappings.InverseReferenceMapping.setInlineMapping.

Annotations
@Override
setMappedByback to summary
public void setMappedBy(String mappedBy)

Implements org.eclipse.persistence.internal.oxm.mappings.InverseReferenceMapping.setMappedBy.

Annotations
@Override
useCollectionClassback to summary
public void useCollectionClass(Class<?> concreteClass)

Implements org.eclipse.persistence.internal.oxm.mappings.InverseReferenceMapping.useCollectionClass, org.eclipse.persistence.mappings.ContainerMapping.useCollectionClass.

Doc from org.eclipse.persistence.mappings.ContainerMapping.useCollectionClass.

PUBLIC: Configure the mapping to use an instance of the specified container class to hold the target objects.

The container class must implement (directly or indirectly) the java.util.Collection interface.

Annotations
@Override
useCollectionClassNameback to summary
public void useCollectionClassName(String concreteClass)

Implements org.eclipse.persistence.mappings.ContainerMapping.useCollectionClassName.

Doc from org.eclipse.persistence.mappings.ContainerMapping.useCollectionClassName.

PUBLIC: Configure the mapping to use an instance of the specified container class to hold the target objects.

The container class must implement (directly or indirectly) the java.util.Collection interface.

Annotations
@Override
useListClassNameback to summary
public void useListClassName(String concreteClass)

Implements org.eclipse.persistence.mappings.ContainerMapping.useListClassName.

Doc from org.eclipse.persistence.mappings.ContainerMapping.useListClassName.

PUBLIC: Configure the mapping to use an instance of the specified container class to hold the target objects.

The container class must implement (directly or indirectly) the java.util.List interface.

Annotations
@Override
useMapClassback to summary
public void useMapClass(Class<?> concreteClass, String methodName)

Implements org.eclipse.persistence.mappings.ContainerMapping.useMapClass.

Doc from org.eclipse.persistence.mappings.ContainerMapping.useMapClass.

PUBLIC: Configure the mapping to use an instance of the specified container class to hold the target objects. The key used to index a value in the Map is the value returned by a call to the specified zero-argument method. The method must be implemented by the class (or a superclass) of any value to be inserted into the Map.

The container class must implement (directly or indirectly) the java.util.Map interface.

To facilitate resolving the method, the mapping's referenceClass must set before calling this method.

Annotations
@Override
useMapClassNameback to summary
public void useMapClassName(String concreteClass, String methodName)

Implements org.eclipse.persistence.mappings.ContainerMapping.useMapClassName.

Doc from org.eclipse.persistence.mappings.ContainerMapping.useMapClassName.

PUBLIC: Configure the mapping to use an instance of the specified container class to hold the target objects. The key used to index a value in the Map is the value returned by a call to the specified zero-argument method. The method must be implemented by the class (or a superclass) of any value to be inserted into the Map.

The container class must implement (directly or indirectly) the java.util.Map interface.

To facilitate resolving the method, the mapping's referenceClass must set before calling this method.

Annotations
@Override
writeSingleValueback to summary
public void writeSingleValue(Object value, Object object, XMLRecord<ABSTRACT_SESSION extends CoreAbstractSession<DESCRIPTOR extends CoreDescriptor<ATTRIBUTE_GROUP extends CoreAttributeGroup, DESCRIPTOR_EVENT_MANAGER extends CoreDescriptorEventManager, FIELD extends CoreField, INHERITANCE_POLICY extends CoreInheritancePolicy, INSTANTIATION_POLICY extends CoreInstantiationPolicy, LIST extends List<E>, OBJECT_BUILDER extends CoreObjectBuilder>, LOGIN extends CoreLogin<PLATFORM extends CorePlatform>, PLATFORM extends CorePlatform<CONVERSION_MANAGER extends CoreConversionManager>, PROJECT extends CoreProject<DESCRIPTOR extends CoreDescriptor<ATTRIBUTE_GROUP extends CoreAttributeGroup, DESCRIPTOR_EVENT_MANAGER extends CoreDescriptorEventManager, FIELD extends CoreField, INHERITANCE_POLICY extends CoreInheritancePolicy, INSTANTIATION_POLICY extends CoreInstantiationPolicy, LIST extends List<E>, OBJECT_BUILDER extends CoreObjectBuilder>, LOGIN extends CoreLogin<PLATFORM extends CorePlatform>, SESSION extends CoreSession>, SESSION_EVENT_MANAGER extends CoreSessionEventManager<SESSION_EVENT_LISTENER extends CoreSessionEventListener>>> record, AbstractSession session)

Implements org.eclipse.persistence.internal.oxm.mappings.Mapping.writeSingleValue.

Annotations
@Override