Uses of Class
org.eclipse.persistence.internal.sessions.ObjectChangeSet
-
-
Uses of ObjectChangeSet in org.eclipse.persistence.descriptors
Fields in org.eclipse.persistence.descriptors declared as ObjectChangeSet Modifier and Type Field Description protected ObjectChangeSet
DescriptorEvent. changeSet
For the post merge event it is possible that there has been a change set generated.Methods in org.eclipse.persistence.descriptors that return ObjectChangeSet Modifier and Type Method Description ObjectChangeSet
DescriptorEvent. getChangeSet()
PUBLIC: Returns the Object changeSet if availableMethods in org.eclipse.persistence.descriptors with parameters of type ObjectChangeSet Modifier and Type Method Description void
CachePolicy. indexObjectInCache(ObjectChangeSet changeSet, Object object, ClassDescriptor descriptor, AbstractSession session)
INTERNAL: Index the object by index in the cache using its changeSet.void
DescriptorEvent. setChangeSet(ObjectChangeSet newChangeSet)
INTERNAL: Sets the Change set in the event if the change Set is available -
Uses of ObjectChangeSet in org.eclipse.persistence.descriptors.changetracking
Methods in org.eclipse.persistence.descriptors.changetracking that return ObjectChangeSet Modifier and Type Method Description ObjectChangeSet
DeferredChangeDetectionPolicy. calculateChanges(Object clone, Object backUp, boolean isNew, UnitOfWorkChangeSet changeSet, UnitOfWorkImpl unitOfWork, ClassDescriptor descriptor, boolean shouldRaiseEvent)
INTERNAL: calculateChanges creates a change set for a particular object.ObjectChangeSet
ObjectChangePolicy. calculateChanges(Object clone, Object backupClone, boolean isNew, UnitOfWorkChangeSet changes, UnitOfWorkImpl unitOfWork, ClassDescriptor descriptor, boolean shouldRaiseEvent)
INTERNAL: CalculateChanges creates a change set for an existing object.ObjectChangeSet
AttributeChangeTrackingPolicy. calculateChangesForExistingObject(Object clone, UnitOfWorkChangeSet changeSet, UnitOfWorkImpl unitOfWork, ClassDescriptor descriptor, boolean shouldRaiseEvent)
INTERNAL: PERF: Calculate change for the existing object, avoids check for new since already know.ObjectChangeSet
DeferredChangeDetectionPolicy. calculateChangesForExistingObject(Object clone, UnitOfWorkChangeSet changeSet, UnitOfWorkImpl unitOfWork, ClassDescriptor descriptor, boolean shouldRaiseEvent)
INTERNAL: PERF: Calculate change for the new object, avoids check for new since already know.ObjectChangeSet
ObjectChangePolicy. calculateChangesForExistingObject(Object clone, UnitOfWorkChangeSet changes, UnitOfWorkImpl unitOfWork, ClassDescriptor descriptor, boolean shouldRaiseEvent)
INTERNAL: CalculateChanges creates a change set for an existing object.ObjectChangeSet
DeferredChangeDetectionPolicy. calculateChangesForNewObject(Object clone, UnitOfWorkChangeSet changeSet, UnitOfWorkImpl unitOfWork, ClassDescriptor descriptor, boolean shouldRaiseEvent)
INTERNAL: PERF: Calculate change for the new object, avoids check for new since already know.ObjectChangeSet
ObjectChangePolicy. calculateChangesForNewObject(Object clone, UnitOfWorkChangeSet changes, UnitOfWorkImpl unitOfWork, ClassDescriptor descriptor, boolean shouldRaiseEvent)
INTERNAL: CalculateChanges creates a change set for a new object.ObjectChangeSet
AttributeChangeTrackingPolicy. createObjectChangeSet(Object clone, Object backUp, UnitOfWorkChangeSet changeSet, boolean isNew, AbstractSession session, ClassDescriptor descriptor)
INTERNAL: Create ObjectChangeSetObjectChangeSet
DeferredChangeDetectionPolicy. createObjectChangeSet(Object clone, Object backUp, UnitOfWorkChangeSet changeSet, boolean isNew, AbstractSession session, ClassDescriptor descriptor)
INTERNAL: Create ObjectChangeSetObjectChangeSet
DeferredChangeDetectionPolicy. createObjectChangeSetThroughComparison(Object clone, Object backUp, UnitOfWorkChangeSet changeSet, boolean isNew, AbstractSession session, ClassDescriptor descriptor)
INTERNAL: Create ObjectChangeSetObjectChangeSet
ObjectChangePolicy. createObjectChangeSetThroughComparison(Object clone, Object backUp, UnitOfWorkChangeSet changeSet, boolean isNew, AbstractSession session, ClassDescriptor descriptor)
INTERNAL: Create ObjectChangeSet through comparison.Methods in org.eclipse.persistence.descriptors.changetracking with parameters of type ObjectChangeSet Modifier and Type Method Description void
AttributeChangeTrackingPolicy. setChangeSetOnListener(ObjectChangeSet objectChangeSet, Object clone)
INTERNAL: Set the ObjectChangeSet on the Listener, initially used for aggregate supportvoid
DeferredChangeDetectionPolicy. setChangeSetOnListener(ObjectChangeSet objectChangeSet, Object clone)
INTERNAL: Set the ObjectChangeSet on the Listener, initially used for aggregate supportvoid
ObjectChangePolicy. setChangeSetOnListener(ObjectChangeSet objectChangeSet, Object clone)
INTERNAL: Set the ObjectChangeSet on the Listener, initially used for aggregate supportvoid
AttributeChangeTrackingPolicy. updateWithChanges(Object object, ObjectChangeSet changeSet, UnitOfWorkImpl uow, ClassDescriptor descriptor)
INTERNAL: Clear the change set in the change event listener.void
DeferredChangeDetectionPolicy. updateWithChanges(Object clone, ObjectChangeSet objectChangeSet, UnitOfWorkImpl uow, ClassDescriptor descriptor)
INTERNAL: Clear changes in the ChangeListener of the clonevoid
ObjectChangePolicy. updateWithChanges(Object clone, ObjectChangeSet objectChangeSet, UnitOfWorkImpl uow, ClassDescriptor descriptor)
INTERNAL: This method is used internally to rest the policies back to original state This is used when the clones are to be reused. -
Uses of ObjectChangeSet in org.eclipse.persistence.eis
Constructors in org.eclipse.persistence.eis with parameters of type ObjectChangeSet Constructor Description EISCollectionChangeRecord(ObjectChangeSet owner, String attributeName, DatabaseMapping mapping)
Construct a ChangeRecord that can be used to represent the changes to an unordered collection.EISOrderedCollectionChangeRecord(ObjectChangeSet owner, String attributeName, DatabaseMapping mapping)
Construct a ChangeRecord that can be used to represent the changes to an ordered collection. -
Uses of ObjectChangeSet in org.eclipse.persistence.eis.mappings
Methods in org.eclipse.persistence.eis.mappings with parameters of type ObjectChangeSet Modifier and Type Method Description Object
EISOneToManyMapping. buildChangeSet(Object element, ObjectChangeSet owner, AbstractSession session)
INTERNAL: Build and return a change set for the specified element.ChangeRecord
EISOneToManyMapping. compareForChange(Object clone, Object backup, ObjectChangeSet owner, AbstractSession session)
INTERNAL: Compare the changes between two collections.ChangeRecord
EISOneToManyMappingHelper. compareForChange(Object clone, Object backup, ObjectChangeSet owner, AbstractSession session)
INTERNAL: Build and return the change record that results from comparing the two collection attributes.void
EISOneToManyMapping. simpleAddToCollectionChangeRecord(Object referenceKey, Object changeSetToAdd, ObjectChangeSet changeSet, AbstractSession session)
ADVANCED: This method is used to have an object add to a collection once the changeSet is applied The referenceKey parameter should only be used for direct Maps.void
EISOneToManyMappingHelper. simpleAddToCollectionChangeRecord(Object referenceKey, Object changeSetToAdd, ObjectChangeSet changeSet, AbstractSession session)
ADVANCED: This method is used to add an object to a collection once the changeSet is applied.void
EISOneToManyMapping. simpleRemoveFromCollectionChangeRecord(Object referenceKey, Object changeSetToRemove, ObjectChangeSet changeSet, AbstractSession session)
ADVANCED: This method is used to have an object removed from a collection once the changeSet is applied The referenceKey parameter should only be used for direct Maps.void
EISOneToManyMappingHelper. simpleRemoveFromCollectionChangeRecord(Object referenceKey, Object changeSetToRemove, ObjectChangeSet changeSet, AbstractSession session)
ADVANCED: This method is used to remove an object from a collection once the changeSet is applied. -
Uses of ObjectChangeSet in org.eclipse.persistence.internal.descriptors
Methods in org.eclipse.persistence.internal.descriptors that return ObjectChangeSet Modifier and Type Method Description ObjectChangeSet
ObjectBuilder. compareForChange(Object clone, Object backUp, UnitOfWorkChangeSet changeSet, AbstractSession session)
INTERNAL: This method creates a records change set for a particular object.ObjectChangeSet
ObjectBuilder. createObjectChangeSet(Object clone, UnitOfWorkChangeSet uowChangeSet, boolean isNew, boolean assignPrimaryKeyIfExisting, AbstractSession session)
INTERNAL: Used by the ObjectBuilder to create an ObjectChangeSet for the specified clone object.ObjectChangeSet
ObjectBuilder. createObjectChangeSet(Object clone, UnitOfWorkChangeSet uowChangeSet, boolean isNew, AbstractSession session)
INTERNAL: Used by the ObjectBuilder to create an ObjectChangeSet for the specified clone object.ObjectChangeSet
ObjectBuilder. createObjectChangeSet(Object clone, UnitOfWorkChangeSet uowChangeSet, AbstractSession session)
INTERNAL: Used by the ObjectBuilder to create an ObjectChangeSet for the specified clone object.Methods in org.eclipse.persistence.internal.descriptors with parameters of type ObjectChangeSet Modifier and Type Method Description void
ObjectBuilder. assignReturnRow(Object object, AbstractSession writeSession, AbstractRecord row, ObjectChangeSet changeSet)
Assign the fields in the row back into the object.void
ObjectBuilder. assignReturnValueForField(Object object, ReadObjectQuery query, AbstractRecord row, DatabaseField field, Collection handledMappings, ObjectChangeSet changeSet)
Assign the field value from the row to the object for all the mappings using field (read or write).protected void
ObjectBuilder. assignReturnValueToMapping(Object object, ReadObjectQuery query, AbstractRecord row, DatabaseField field, DatabaseMapping mapping, Collection handledMappings, ObjectChangeSet changeSet)
INTERNAL: Assign values from objectRow to the object through the mapping.AbstractRecord
ObjectBuilder. buildRowWithChangeSet(AbstractRecord databaseRow, ObjectChangeSet objectChangeSet, AbstractSession session, DatabaseMapping.WriteType writeType)
Build the row representation of an object.ChangeRecord
ObjectBuilder. getBaseChangeRecordForField(ObjectChangeSet objectChangeSet, Object object, DatabaseField databaseField, AbstractSession session)
Return the base ChangeRecord for the given DatabaseField.void
ObjectBuilder. mergeChangesIntoObject(Object target, ObjectChangeSet changeSet, Object source, MergeManager mergeManager, AbstractSession targetSession)
INTERNAL: Merge changes between the objects, this merge algorithm is dependent on the merge manager.void
ObjectBuilder. mergeChangesIntoObject(Object target, ObjectChangeSet changeSet, Object source, MergeManager mergeManager, AbstractSession targetSession, boolean isTargetCloneOfOriginal, boolean shouldMergeFetchGroup)
INTERNAL: Merge changes between the objects, this merge algorithm is dependent on the merge manager.void
ObjectBuilder. mergeIntoObject(Object target, ObjectChangeSet changeSet, boolean isUnInitialized, Object source, MergeManager mergeManager, AbstractSession targetSession, boolean cascadeOnly, boolean isTargetCloneOfOriginal, boolean shouldMergeFetchGroup)
INTERNAL: Merge the contents of one object into another, this merge algorithm is dependent on the merge manager. -
Uses of ObjectChangeSet in org.eclipse.persistence.internal.descriptors.changetracking
Fields in org.eclipse.persistence.internal.descriptors.changetracking declared as ObjectChangeSet Modifier and Type Field Description protected ObjectChangeSet
AttributeChangeListener. objectChangeSet
Methods in org.eclipse.persistence.internal.descriptors.changetracking that return ObjectChangeSet Modifier and Type Method Description ObjectChangeSet
AttributeChangeListener. getObjectChangeSet()
INTERNAL: Return the object change set associated with this listenerMethods in org.eclipse.persistence.internal.descriptors.changetracking with parameters of type ObjectChangeSet Modifier and Type Method Description void
AttributeChangeListener. setObjectChangeSet(ObjectChangeSet changeSet)
INTERNAL: Return the object change set associated with this listener -
Uses of ObjectChangeSet in org.eclipse.persistence.internal.helper
Method parameters in org.eclipse.persistence.internal.helper with type arguments of type ObjectChangeSet Modifier and Type Method Description static void
WriteLockManager. populateMapThreadToObjectIdsWithChagenSet(Thread thread, Collection<ObjectChangeSet> objectChangeSets)
Before a thread starts long wait loop to acquire write locks during a commit transaction the thread will record in this map the object ids it holds with chance sets. -
Uses of ObjectChangeSet in org.eclipse.persistence.internal.queries
Methods in org.eclipse.persistence.internal.queries with parameters of type ObjectChangeSet Modifier and Type Method Description Object
ContainerPolicy. buildCollectionEntry(Object objectAdded, ObjectChangeSet changeSet)
INTERNAL: Return an object representing an entry in the collection represented by this container policy This method will be overridden to allow MapContainerPolicy to return a construct that contains the key and the valueObject
MapContainerPolicy. buildCollectionEntry(Object objectAdded, ObjectChangeSet changeSet)
INTERNAL: Return an object representing an entry in the collection represented by this container policy This method will returns an Association containing the key and the value for a MapObject
ContainerPolicy. getCloneDataFromChangeSet(ObjectChangeSet changeSet)
INTERNAL: Used when objects are added or removed during an update.Object
MappedKeyMapContainerPolicy. getCloneDataFromChangeSet(ObjectChangeSet changeSet)
INTERNAL: Used when objects are added or removed during an update.Object
ContainerPolicy. mergeCascadeParts(ObjectChangeSet objectChanges, MergeManager mergeManager, AbstractSession targetSession)
INTERNAL: Merge changes from the source to the target object.void
ContainerPolicy. postCalculateChanges(ObjectChangeSet ocs, ClassDescriptor referenceDescriptor, DatabaseMapping mapping, UnitOfWorkImpl uow)
INTERNAL: Add the provided object to the deleted objects list on the commit manager.void
MappedKeyMapContainerPolicy. postCalculateChanges(ObjectChangeSet ocs, ClassDescriptor referenceDescriptor, DatabaseMapping mapping, UnitOfWorkImpl uow)
INTERNAL: Add the provided object to the deleted objects list on the commit manager.void
ContainerPolicy. recordAddToCollectionInChangeRecord(ObjectChangeSet changeSetToAdd, CollectionChangeRecord collectionChangeRecord)
This method is used to bridge the behavior between Attribute Change Tracking and deferred change tracking with respect to adding the same instance multiple times.void
ListContainerPolicy. recordAddToCollectionInChangeRecord(ObjectChangeSet changeSetToAdd, CollectionChangeRecord collectionChangeRecord)
This method is used to bridge the behavior between Attribute Change Tracking and deferred change tracking with respect to adding the same instance multiple times.void
OrderedListContainerPolicy. recordAddToCollectionInChangeRecord(ObjectChangeSet changeSetToAdd, CollectionChangeRecord collectionChangeRecord)
This method is used to bridge the behavior between Attribute Change Tracking and deferred change tracking with respect to adding the same instance multiple times.void
ContainerPolicy. recordRemoveFromCollectionInChangeRecord(ObjectChangeSet changeSetToRemove, CollectionChangeRecord collectionChangeRecord)
This method is used to bridge the behavior between Attribute Change Tracking and deferred change tracking with respect to adding the same instance multiple times.void
ListContainerPolicy. recordRemoveFromCollectionInChangeRecord(ObjectChangeSet changeSetToRemove, CollectionChangeRecord collectionChangeRecord)
This method is used to bridge the behavior between Attribute Change Tracking and deferred change tracking with respect to adding the same instance multiple times.void
OrderedListContainerPolicy. recordRemoveFromCollectionInChangeRecord(ObjectChangeSet changeSetToRemove, CollectionChangeRecord collectionChangeRecord)
void
ContainerPolicy. recordUpdateToCollectionInChangeRecord(CollectionChangeEvent event, ObjectChangeSet changeSet, CollectionChangeRecord collectionChangeRecord)
This method is used to bridge the behavior between Attribute Change Tracking and deferred change tracking with respect to adding the same instance multiple times.void
MapContainerPolicy. recordUpdateToCollectionInChangeRecord(CollectionChangeEvent event, ObjectChangeSet changeSet, CollectionChangeRecord collectionChangeRecord)
This method is used to bridge the behavior between Attribute Change Tracking and deferred change tracking with respect to adding the same instance multiple times.void
OrderedListContainerPolicy. recordUpdateToCollectionInChangeRecord(CollectionChangeEvent event, ObjectChangeSet changeSet, CollectionChangeRecord collectionChangeRecord)
protected void
OrderedListContainerPolicy. registerRemoveNewObjectIfRequired(ObjectChangeSet objectChanges, MergeManager mergeManager)
INTERNAL: -
Uses of ObjectChangeSet in org.eclipse.persistence.internal.sessions
Subclasses of ObjectChangeSet in org.eclipse.persistence.internal.sessions Modifier and Type Class Description class
AggregateObjectChangeSet
Fields in org.eclipse.persistence.internal.sessions declared as ObjectChangeSet Modifier and Type Field Description protected ObjectChangeSet
ObjectReferenceChangeRecord. newValue
This is the object change set that the attribute points to.protected ObjectChangeSet
ChangeRecord. owner
This is the object change set that holds this recordFields in org.eclipse.persistence.internal.sessions with type parameters of type ObjectChangeSet Modifier and Type Field Description protected Map<ObjectChangeSet,ObjectChangeSet>
CollectionChangeRecord. addObjectList
Contains the added values to the collection and their corresponding ChangeSets.protected Map<ObjectChangeSet,ObjectChangeSet>
CollectionChangeRecord. addObjectList
Contains the added values to the collection and their corresponding ChangeSets.protected List<ObjectChangeSet>
CollectionChangeRecord. addOverFlow
Contains a list of extra adds.protected Map<ObjectChangeSet,ObjectChangeSet>
UnitOfWorkChangeSet. aggregateChangeSets
protected Map<ObjectChangeSet,ObjectChangeSet>
UnitOfWorkChangeSet. aggregateChangeSets
protected Map<ObjectChangeSet,ObjectChangeSet>
UnitOfWorkChangeSet. allChangeSets
protected Map<ObjectChangeSet,ObjectChangeSet>
UnitOfWorkChangeSet. allChangeSets
protected List<ObjectChangeSet>
AggregateCollectionChangeRecord. changedValues
protected Map<Object,ObjectChangeSet>
UnitOfWorkChangeSet. cloneToObjectChangeSet
protected Map<ObjectChangeSet,ObjectChangeSet>
UnitOfWorkChangeSet. deletedObjects
protected Map<ObjectChangeSet,ObjectChangeSet>
UnitOfWorkChangeSet. deletedObjects
protected Map<Class,Map<ObjectChangeSet,ObjectChangeSet>>
UnitOfWorkChangeSet. newObjectChangeSets
protected Map<Class,Map<ObjectChangeSet,ObjectChangeSet>>
UnitOfWorkChangeSet. newObjectChangeSets
protected Map<Class,Map<ObjectChangeSet,ObjectChangeSet>>
UnitOfWorkChangeSet. objectChanges
This is the collection of ObjectChanges held by this ChangeSetprotected Map<Class,Map<ObjectChangeSet,ObjectChangeSet>>
UnitOfWorkChangeSet. objectChanges
This is the collection of ObjectChanges held by this ChangeSetprotected Map<ObjectChangeSet,Object>
UnitOfWorkChangeSet. objectChangeSetToUOWClone
protected Map<ObjectChangeSet,Integer>
CollectionChangeRecord. orderedAddObjectIndices
Contains the added values index to the collection.protected List<ObjectChangeSet>
CollectionChangeRecord. orderedAddObjects
Contains the added values to the collection and their corresponding ChangeSets in order.protected Map<Integer,ObjectChangeSet>
CollectionChangeRecord. orderedRemoveObjects
Contains the removed values to the collection and their corresponding ChangeSets.protected Map<ObjectChangeSet,ObjectChangeSet>
CollectionChangeRecord. removeObjectList
Contains the removed values from the collection and their corresponding ChangeSets.protected Map<ObjectChangeSet,ObjectChangeSet>
CollectionChangeRecord. removeObjectList
Contains the removed values from the collection and their corresponding ChangeSets.Methods in org.eclipse.persistence.internal.sessions that return ObjectChangeSet Modifier and Type Method Description ObjectChangeSet
UnitOfWorkChangeSet. findObjectChangeSet(ObjectChangeSet changeSet, UnitOfWorkChangeSet mergeFromChangeSet)
INTERNAL: This method can be used find the equivalent changeset within this UnitOfWorkChangeSet Aggregates, and new objects without primaryKeys from serialized ChangeSets will not be found Which may result in duplicates, in the UnitOfWorkChangeSet.ObjectChangeSet
UnitOfWorkChangeSet. findOrCreateLocalObjectChangeSet(Object entityClone, ClassDescriptor descriptor, boolean isNew)
INTERNAL" This method is used during the merge process to either find the existing ChangeSet or create a new one.ObjectChangeSet
UnitOfWorkChangeSet. findOrIntegrateObjectChangeSet(ObjectChangeSet tofind, UnitOfWorkChangeSet mergeFromChangeSet)
INTERNAL: This method will be used during the merge process to either find an equivalent change set within this UnitOfWorkChangeSet or integrate that changeset into this UOW ChangeSetObjectChangeSet
OrderedChangeObject. getChangeSet()
INTERNAL: Return the ObjectChangeSet representing the change made to the collectionObjectChangeSet
UnitOfWorkChangeSet. mergeObjectChanges(ObjectChangeSet objectChangeSet, UnitOfWorkChangeSet mergeFromChangeSet)
INTERNAL: This method will be used to merge a change set into an UnitOfWorkChangeSet This method returns the local instance of the changesetMethods in org.eclipse.persistence.internal.sessions that return types with arguments of type ObjectChangeSet Modifier and Type Method Description Map<ObjectChangeSet,ObjectChangeSet>
CollectionChangeRecord. getAddObjectList()
ADVANCED: This method returns the collection of ChangeSets that were added to the collection.Map<ObjectChangeSet,ObjectChangeSet>
CollectionChangeRecord. getAddObjectList()
ADVANCED: This method returns the collection of ChangeSets that were added to the collection.List<ObjectChangeSet>
CollectionChangeRecord. getAddOverFlow()
Returns a list of extra adds.Map<ObjectChangeSet,ObjectChangeSet>
UnitOfWorkChangeSet. getAggregateChangeSets()
INTERNAL: Get the Aggregate list.Map<ObjectChangeSet,ObjectChangeSet>
UnitOfWorkChangeSet. getAggregateChangeSets()
INTERNAL: Get the Aggregate list.Map<ObjectChangeSet,ObjectChangeSet>
UnitOfWorkChangeSet. getAllChangeSets()
INTERNAL: This method returns a reference to the collection.Map<ObjectChangeSet,ObjectChangeSet>
UnitOfWorkChangeSet. getAllChangeSets()
INTERNAL: This method returns a reference to the collection.List<ObjectChangeSet>
AggregateCollectionChangeRecord. getChangedValues()
ADVANCED: Return the values representing the changed AggregateCollection.Map<Object,ObjectChangeSet>
UnitOfWorkChangeSet. getCloneToObjectChangeSet()
INTERNAL: Get the clone to object change hash table.Map<ObjectChangeSet,ObjectChangeSet>
UnitOfWorkChangeSet. getDeletedObjects()
INTERNAL: This method returns the reference to the deleted objects from the changeSet.Map<ObjectChangeSet,ObjectChangeSet>
UnitOfWorkChangeSet. getDeletedObjects()
INTERNAL: This method returns the reference to the deleted objects from the changeSet.Map<Class,Map<ObjectChangeSet,ObjectChangeSet>>
UnitOfWorkChangeSet. getNewObjectChangeSets()
INTERNAL: This method will return a reference to the new object change set collections.Map<Class,Map<ObjectChangeSet,ObjectChangeSet>>
UnitOfWorkChangeSet. getNewObjectChangeSets()
INTERNAL: This method will return a reference to the new object change set collections.Map<Class,Map<ObjectChangeSet,ObjectChangeSet>>
UnitOfWorkChangeSet. getObjectChanges()
INTERNAL: Returns the ObjectChanges held by this ChangeSet.Map<Class,Map<ObjectChangeSet,ObjectChangeSet>>
UnitOfWorkChangeSet. getObjectChanges()
INTERNAL: Returns the ObjectChanges held by this ChangeSet.protected Map<ObjectChangeSet,Object>
UnitOfWorkChangeSet. getObjectChangeSetToUOWClone()
INTERNAL: This method returns a reference to the collectionMap<ObjectChangeSet,Integer>
CollectionChangeRecord. getOrderedAddObjectIndices()
This method returns the collection of ChangeSets that they were added to the collection.List<ObjectChangeSet>
CollectionChangeRecord. getOrderedAddObjects()
This method returns the collection of ChangeSets in the order they were added to the collection.Map<Integer,ObjectChangeSet>
CollectionChangeRecord. getOrderedRemoveObjects()
This method returns the collection of ChangeSets of objects removed from the collection.Map<ObjectChangeSet,ObjectChangeSet>
CollectionChangeRecord. getRemoveObjectList()
PUBLIC: This method returns the Map that contains the removed values from the collection and their corresponding ChangeSets.Map<ObjectChangeSet,ObjectChangeSet>
CollectionChangeRecord. getRemoveObjectList()
PUBLIC: This method returns the Map that contains the removed values from the collection and their corresponding ChangeSets.Methods in org.eclipse.persistence.internal.sessions with parameters of type ObjectChangeSet Modifier and Type Method Description protected void
UnitOfWorkChangeSet. addNewObjectChangeSet(ObjectChangeSet objectChanges, AbstractSession session)
INTERNAL: Add to the changes for 'object' object to this changeSet.void
UnitOfWorkChangeSet. addObjectChangeSet(ObjectChangeSet objectChanges, AbstractSession session, boolean forceToNewObjectList)
INTERNAL: Add to the changes for 'object' object to this changeSet.void
UnitOfWorkChangeSet. addObjectChangeSetForIdentity(ObjectChangeSet objectChanges, Object object)
INTERNAL: Add change records to the lists used to maintain identity.int
ObjectChangeSet. compareTo(ObjectChangeSet changeSet)
Determine if the receiver is greater or less than the change set.boolean
ObjectChangeSet. equals(ObjectChangeSet objectChange)
Ensure change sets with the same primary key are equal.ObjectChangeSet
UnitOfWorkChangeSet. findObjectChangeSet(ObjectChangeSet changeSet, UnitOfWorkChangeSet mergeFromChangeSet)
INTERNAL: This method can be used find the equivalent changeset within this UnitOfWorkChangeSet Aggregates, and new objects without primaryKeys from serialized ChangeSets will not be found Which may result in duplicates, in the UnitOfWorkChangeSet.ObjectChangeSet
UnitOfWorkChangeSet. findOrIntegrateObjectChangeSet(ObjectChangeSet tofind, UnitOfWorkChangeSet mergeFromChangeSet)
INTERNAL: This method will be used during the merge process to either find an equivalent change set within this UnitOfWorkChangeSet or integrate that changeset into this UOW ChangeSetInteger
CollectionChangeRecord. getOrderedAddObjectIndex(ObjectChangeSet changes)
This method returns the index of an object added to the collection.Object
UnitOfWorkImpl. getOriginalVersionOfObjectOrNull(Object workingClone, ObjectChangeSet changeSet, ClassDescriptor descriptor, AbstractSession targetSession)
INTERNAL: Return the original version of the object(clone) from the parent's identity map.Object
MergeManager. mergeChanges(Object object, ObjectChangeSet objectChangeSet, AbstractSession targetSession)
Recursively merge changes in the object dependent on the merge policy.protected Object
MergeManager. mergeChangesIntoDistributedCache(Object original, ObjectChangeSet changeSet)
Merge the changes specified within the changeSet into the cache.protected Object
MergeManager. mergeChangesOfWorkingCopyIntoOriginal(Object clone, ObjectChangeSet objectChangeSet)
Recursively merge to clone into the original in its parent.protected CacheKey
MergeManager. mergeChangesOfWorkingCopyIntoOriginal(Object clone, ObjectChangeSet objectChangeSet, ClassDescriptor descriptor, AbstractSession targetSession, UnitOfWorkImpl unitOfWork)
Recursively merge to clone into the original in its parent.Object
MergeManager. mergeNewObjectIntoCache(ObjectChangeSet changeSet)
Merge a change set for a new object into the cache.void
ObjectChangeSet. mergeObjectChanges(ObjectChangeSet changeSetToMergeFrom, UnitOfWorkChangeSet mergeToChangeSet, UnitOfWorkChangeSet mergeFromChangeSet)
INTERNAL: This method will be used to merge changes from a supplied ObjectChangeSet into this changeSet.ObjectChangeSet
UnitOfWorkChangeSet. mergeObjectChanges(ObjectChangeSet objectChangeSet, UnitOfWorkChangeSet mergeFromChangeSet)
INTERNAL: This method will be used to merge a change set into an UnitOfWorkChangeSet This method returns the local instance of the changesetvoid
UnitOfWorkChangeSet. putNewObjectInChangesList(ObjectChangeSet objectChangeSet, AbstractSession session)
INTERNAL: Used to rehash the new objects back into the objectChanges list for serialization Assumes the transaction in in post commit stage.void
UnitOfWorkChangeSet. removeObjectChangeSet(ObjectChangeSet changeSet)
INTERNAL: Add the changed Object's records to the ChangeSet.void
UnitOfWorkChangeSet. removeObjectChangeSetFromNewList(ObjectChangeSet objectChangeSet, AbstractSession session)
INTERNAL: Used to remove a new object from the new objects list once it has been inserted and added to the objectChangesListvoid
OrderedChangeObject. setChangeSet(ObjectChangeSet changeSet)
INTERNAL: Set the ObjectChangeSet representing the change made to the collectionvoid
ObjectReferenceChangeRecord. setNewValue(ObjectChangeSet newValue)
This method sets the value of the change to be made.void
ChangeRecord. setOwner(ObjectChangeSet newOwner)
INTERNAL: This method is used to set the ObjectChangeSet that uses this Record in that Record.protected void
MergeManager. updateCacheKeyProperties(UnitOfWorkImpl unitOfWork, CacheKey cacheKey, Object original, Object clone, ObjectChangeSet objectChangeSet, ClassDescriptor descriptor)
INTERNAL: Update CacheKey properties with new information.void
RepeatableWriteUnitOfWork. updateChangeTrackersIfRequired(Object objectToWrite, ObjectChangeSet changeSetToWrite, UnitOfWorkImpl uow, ClassDescriptor descriptor)
INTERNAL: This method is used internally to update the tracked objects if requiredvoid
UnitOfWorkImpl. updateChangeTrackersIfRequired(Object objectToWrite, ObjectChangeSet changeSetToWrite, UnitOfWorkImpl uow, ClassDescriptor descriptor)
INTERNAL: This method is used internally to update the tracked objects if requiredMethod parameters in org.eclipse.persistence.internal.sessions with type arguments of type ObjectChangeSet Modifier and Type Method Description void
CollectionChangeRecord. setAddObjectList(Map<ObjectChangeSet,ObjectChangeSet> objectChangesList)
Sets the Added objects list.void
CollectionChangeRecord. setAddObjectList(Map<ObjectChangeSet,ObjectChangeSet> objectChangesList)
Sets the Added objects list.void
AggregateCollectionChangeRecord. setChangedValues(List<ObjectChangeSet> newValues)
INTERNAL: Set the changed values.void
UnitOfWorkChangeSet. setCloneToObjectChangeSet(Map<Object,ObjectChangeSet> cloneToObjectChangeSet)
INTERNAL: This method is used to set the map for cloneToObject reference.void
UnitOfWorkChangeSet. setObjectChangeSetToUOWClone(Map<ObjectChangeSet,Object> objectChangeSetToUOWClone)
INTERNAL: This method is used to insert a new collection into the UOWChangeSet.void
CollectionChangeRecord. setOrderedAddObjectIndices(Map<ObjectChangeSet,Integer> orderedAddObjectIndices)
Sets collection of ChangeSets (and their respective index) that they were added to the collection.void
CollectionChangeRecord. setOrderedAddObjects(List<ObjectChangeSet> orderedAddObjects)
Sets collection of ChangeSets that they were added to the collection.void
CollectionChangeRecord. setOrderedRemoveObjects(Map<Integer,ObjectChangeSet> orderedRemoveObjects)
Sets collection of ChangeSets that they were removed from the collection.void
CollectionChangeRecord. setRemoveObjectList(Map<ObjectChangeSet,ObjectChangeSet> objectChangesList)
Sets the removed objects list.void
CollectionChangeRecord. setRemoveObjectList(Map<ObjectChangeSet,ObjectChangeSet> objectChangesList)
Sets the removed objects list.Constructors in org.eclipse.persistence.internal.sessions with parameters of type ObjectChangeSet Constructor Description AggregateChangeRecord(ObjectChangeSet owner)
This constructor returns an ChangeRecord representing an AggregateMapping.AggregateCollectionChangeRecord(ObjectChangeSet owner)
This constructor returns an ChangeRecord representing an AggregateMapping.CollectionChangeRecord(ObjectChangeSet owner)
Constructor for the ChangeRecord representing a collection mappingDeferrableChangeRecord(ObjectChangeSet owner)
DirectCollectionChangeRecord(ObjectChangeSet owner)
This constructor returns a changeRecord representing the DirectCollection mapping.DirectMapChangeRecord(ObjectChangeSet owner)
DirectToFieldChangeRecord(ObjectChangeSet owner)
This constructor returns a changeRecord representing the DirectToField mapping.ObjectReferenceChangeRecord(ObjectChangeSet owner)
INTERNAL: This Constructor is used to create an ObjectReferenceChangeRecord With an ownerOrderedChangeObject(int changeType, Integer index, ObjectChangeSet changeSet)
OrderedChangeObject(int changeType, Integer index, ObjectChangeSet changeSet, Object addedOrRemovedObject)
TransformationMappingChangeRecord(ObjectChangeSet owner)
This is the basic constructor for this change Record. -
Uses of ObjectChangeSet in org.eclipse.persistence.mappings
Methods in org.eclipse.persistence.mappings with parameters of type ObjectChangeSet Modifier and Type Method Description void
DirectMapMapping. addToCollectionChangeRecord(Object newKey, Object newValue, ObjectChangeSet objectChangeSet, UnitOfWorkImpl uow)
INTERNAL: Add a new value and its change set to the collection change record.ChangeRecord
CollectionMapping. buildChangeRecord(Object clone, ObjectChangeSet owner, AbstractSession session)
INTERNAL: Directly build a change record without comparisonChangeRecord
DatabaseMapping. buildChangeRecord(Object newValue, ObjectChangeSet owner, AbstractSession session)
INTERNAL: Directly build a change record without comparisonChangeRecord
ObjectReferenceMapping. buildChangeRecord(Object clone, ObjectChangeSet owner, AbstractSession session)
INTERNAL: Directly build a change record without comparisonChangeRecord
AggregateCollectionMapping. compareForChange(Object clone, Object backUp, ObjectChangeSet owner, AbstractSession session)
INTERNAL: This method is used to create a change record from comparing two aggregate collectionsChangeRecord
AggregateMapping. compareForChange(Object clone, Object backup, ObjectChangeSet owner, AbstractSession session)
INTERNAL: Compare the changes between two aggregates.ChangeRecord
CollectionMapping. compareForChange(Object clone, Object backUp, ObjectChangeSet owner, AbstractSession session)
INTERNAL: This method is used to create a change record from comparing two collections.abstract ChangeRecord
DatabaseMapping. compareForChange(Object clone, Object backup, ObjectChangeSet owner, AbstractSession session)
INTERNAL: This method was created in VisualAge.ChangeRecord
DirectCollectionMapping. compareForChange(Object clone, Object backUp, ObjectChangeSet owner, AbstractSession session)
INTERNAL: This method compares the changes between two direct collections.ChangeRecord
DirectMapMapping. compareForChange(Object clone, Object backUp, ObjectChangeSet owner, AbstractSession session)
INTERNAL: This method compares the changes between two direct collections.ChangeRecord
MultitenantPrimaryKeyMapping. compareForChange(Object clone, Object backUp, ObjectChangeSet owner, AbstractSession session)
INTERNAL: Compare the clone and backup clone values and return a change record if the value changed.ChangeRecord
ObjectReferenceMapping. compareForChange(Object clone, Object backUp, ObjectChangeSet owner, AbstractSession session)
INTERNAL: Return an ObjectReferenceChangeRecord describing the change, or null if no change.ChangeRecord
UnidirectionalOneToManyMapping. compareForChange(Object clone, Object backUp, ObjectChangeSet owner, AbstractSession uow)
INTERNAL: This method is used to create a change record from comparing two collectionsprotected ChangeRecord
AggregateCollectionMapping. convertToChangeRecord(Object cloneCollection, Object backupCollection, ObjectChangeSet owner, AbstractSession session)
INTERNAL: This method is used to convert the contents of an aggregateCollection into a changeRecordObjectReferenceChangeRecord
ObjectReferenceMapping. internalBuildChangeRecord(Object newValue, ObjectChangeSet owner, AbstractSession session)
INTERNAL: Directly build a change record based on the newValue without comparisonprotected void
AggregateCollectionMapping. objectAddedDuringUpdate(ObjectLevelModifyQuery query, Object objectAdded, ObjectChangeSet changeSet, Map extraData)
INTERNAL: An object was added to the collection during an update, insert it if private.protected void
CollectionMapping. objectAddedDuringUpdate(ObjectLevelModifyQuery query, Object objectAdded, ObjectChangeSet changeSet, Map extraData)
INTERNAL: An object was added to the collection during an update, insert it if private.protected void
ManyToManyMapping. objectAddedDuringUpdate(ObjectLevelModifyQuery query, Object objectAdded, ObjectChangeSet changeSet, Map extraData)
INTERNAL: An object was added to the collection during an update, insert it if private.protected void
OneToManyMapping. objectAddedDuringUpdate(ObjectLevelModifyQuery query, Object objectAdded, ObjectChangeSet changeSet, Map extraData)
INTERNAL: An object was added to the collection during an update, insert it if private.Object
AggregateObjectMapping. readFromReturnRowIntoObject(AbstractRecord row, Object targetObject, ReadObjectQuery query, Collection handledMappings, ObjectChangeSet changeSet)
INTERNAL: Build an aggregate object from the specified return row and put it in the specified target object.protected void
DirectMapMapping. removeFromCollectionChangeRecord(Object newKey, Object newValue, ObjectChangeSet objectChangeSet, UnitOfWorkImpl uow)
INTERNAL: Remove a value and its change set from the collection change record.void
ObjectReferenceMapping. setNewValueInChangeRecord(Object newValue, ObjectReferenceChangeRecord changeRecord, ObjectChangeSet owner, AbstractSession session)
INTERNAL: Set the newValue in the change recordvoid
AggregateCollectionMapping. simpleAddToCollectionChangeRecord(Object referenceKey, Object changeSetToAdd, ObjectChangeSet changeSet, AbstractSession session)
ADVANCED: This method is used to have an object add to a collection once the changeSet is applied The referenceKey parameter should only be used for direct Maps.void
CollectionMapping. simpleAddToCollectionChangeRecord(Object referenceKey, Object changeSetToAdd, ObjectChangeSet changeSet, AbstractSession session)
ADVANCED: This method is used to have an object add to a collection once the changeSet is applied The referenceKey parameter should only be used for direct Maps.void
DatabaseMapping. simpleAddToCollectionChangeRecord(Object referenceKey, Object changeSetToAdd, ObjectChangeSet changeSet, AbstractSession session)
ADVANCED: This method is used to add an object to a collection once the changeSet is applied.protected void
DirectCollectionMapping. simpleAddToCollectionChangeRecord(Object objectToAdd, Integer index, boolean isSet, ObjectChangeSet changeSet, AbstractSession session, boolean isChangeApplied)
void
DirectCollectionMapping. simpleAddToCollectionChangeRecord(Object referenceKey, Object objectToAdd, ObjectChangeSet changeSet, AbstractSession session)
ADVANCED: This method is used to have an object add to a collection once the changeSet is applied The referenceKey parameter should only be used for direct Maps.void
DirectMapMapping. simpleAddToCollectionChangeRecord(Object referenceKey, Object objectToAdd, ObjectChangeSet changeSet, AbstractSession session)
ADVANCED: This method is used to have an object add to a collection once the changeSet is applied The referenceKey parameter should only be used for direct Maps.void
AggregateCollectionMapping. simpleRemoveFromCollectionChangeRecord(Object referenceKey, Object changeSetToRemove, ObjectChangeSet changeSet, AbstractSession session)
ADVANCED: This method is used to have an object removed from a collection once the changeSet is applied The referenceKey parameter should only be used for direct Maps.void
CollectionMapping. simpleRemoveFromCollectionChangeRecord(Object referenceKey, Object changeSetToRemove, ObjectChangeSet changeSet, AbstractSession session)
ADVANCED: This method is used to have an object removed from a collection once the changeSet is applied The referenceKey parameter should only be used for direct Maps.void
DatabaseMapping. simpleRemoveFromCollectionChangeRecord(Object referenceKey, Object changeSetToAdd, ObjectChangeSet changeSet, AbstractSession session)
ADVANCED: This method is used to remove an object from a collection once the changeSet is applied.protected void
DirectCollectionMapping. simpleRemoveFromCollectionChangeRecord(Object objectToRemove, Integer index, boolean isSet, ObjectChangeSet changeSet, AbstractSession session, boolean isChangeApplied)
void
DirectCollectionMapping. simpleRemoveFromCollectionChangeRecord(Object referenceKey, Object objectToRemove, ObjectChangeSet changeSet, AbstractSession session)
ADVANCED: This method is used to have an object removed from a collection once the changeSet is applied The referenceKey parameter should only be used for direct Maps.void
DirectMapMapping. simpleRemoveFromCollectionChangeRecord(Object referenceKey, Object objectToRemove, ObjectChangeSet changeSet, AbstractSession session)
ADVANCED: This method is used to have an object removed from a collection once the changeSet is applied The referenceKey parameter should only be used for direct Maps.void
AggregateMapping. updateChangeRecord(Object sourceClone, Object newValue, Object oldValue, ObjectChangeSet objectChangeSet, UnitOfWorkImpl uow)
INTERNAL: Either create a new change record or update the change record with the new value.void
CollectionMapping. updateChangeRecord(Object clone, Object newValue, Object oldValue, ObjectChangeSet objectChangeSet, UnitOfWorkImpl uow)
INTERNAL: Either create a new change record or update with the new value.void
DatabaseMapping. updateChangeRecord(Object clone, Object newValue, Object oldValue, ObjectChangeSet objectChangeSet, UnitOfWorkImpl uow)
INTERNAL: Either create a new change record or update the change record with the new value.void
DirectCollectionMapping. updateChangeRecord(Object clone, Object newValue, Object oldValue, ObjectChangeSet objectChangeSet, UnitOfWorkImpl uow)
INTERNAL: Either create a new change record or update with the new value.void
DirectMapMapping. updateChangeRecord(Object clone, Object newValue, Object oldValue, ObjectChangeSet objectChangeSet, UnitOfWorkImpl uow)
INTERNAL: Either create a new change record or update the change record with the new value.void
ObjectReferenceMapping. updateChangeRecord(Object clone, Object newValue, Object oldValue, ObjectChangeSet objectChangeSet, UnitOfWorkImpl uow)
INTERNAL: Either create a new change record or update the change record with the new value.void
CollectionMapping. updateCollectionChangeRecord(CollectionChangeEvent event, ObjectChangeSet changeSet, UnitOfWorkImpl uow)
INTERNAL: Add or removes a new value and its change set to the collection change record based on the event passed in.void
DatabaseMapping. updateCollectionChangeRecord(CollectionChangeEvent event, ObjectChangeSet objectChangeSet, UnitOfWorkImpl uow)
INTERNAL: Add or removes a new value and its change set to the collection change record based on the event passed in.void
DirectCollectionMapping. updateCollectionChangeRecord(CollectionChangeEvent event, ObjectChangeSet changeSet, UnitOfWorkImpl uow)
INTERNAL: Add or removes a new value and its change set to the collection change record based on the event passed in.void
DirectMapMapping. updateCollectionChangeRecord(CollectionChangeEvent event, ObjectChangeSet changeSet, UnitOfWorkImpl uow)
INTERNAL: Add or removes a new value and its change set to the collection change record based on the event passed in.void
CollectionMapping. writeChanges(ObjectChangeSet changeSet, WriteObjectQuery query)
INTERNAL: Write the changes defined in the change set for the mapping.protected void
AggregateObjectMapping. writeToRowFromAggregateWithChangeRecord(AbstractRecord record, ChangeRecord changeRecord, ObjectChangeSet objectChangeSet, AbstractSession session, DatabaseMapping.WriteType writeType)
INTERNAL: Build and return a database row built with the values from the specified attribute value. -
Uses of ObjectChangeSet in org.eclipse.persistence.mappings.foundation
Methods in org.eclipse.persistence.mappings.foundation with parameters of type ObjectChangeSet Modifier and Type Method Description ChangeRecord
AbstractDirectMapping. buildChangeRecord(Object clone, ObjectChangeSet owner, AbstractSession session)
INTERNAL: Directly build a change record without comparisonChangeRecord
AbstractTransformationMapping. buildChangeRecord(Object clone, ObjectChangeSet owner, AbstractSession session)
INTERNAL: Directly build a change record without comparisonObject
AbstractCompositeCollectionMapping. buildChangeSet(Object element, ObjectChangeSet owner, AbstractSession session)
INTERNAL: Build and return a change set for the specified element.Object
AbstractCompositeDirectCollectionMapping. buildChangeSet(Object element, ObjectChangeSet owner, AbstractSession session)
INTERNAL: Build and return a change set for the specified element.ChangeRecord
AbstractCompositeCollectionMapping. compareForChange(Object clone, Object backup, ObjectChangeSet owner, AbstractSession session)
INTERNAL: Build and return the change record that results from comparing the two direct collection attributes.ChangeRecord
AbstractCompositeDirectCollectionMapping. compareForChange(Object clone, Object backup, ObjectChangeSet owner, AbstractSession session)
INTERNAL: Build and return the change record that results from comparing the two direct collection attributes.ChangeRecord
AbstractDirectMapping. compareForChange(Object clone, Object backUp, ObjectChangeSet owner, AbstractSession session)
INTERNAL: Compare the clone and backup clone values and return a change record if the value changed.ChangeRecord
AbstractTransformationMapping. compareForChange(Object clone, Object backUp, ObjectChangeSet owner, AbstractSession session)
INTERNAL: Compare the attributes belonging to this mapping for the objects.protected ChangeRecord
AbstractCompositeCollectionMapping. convertToChangeRecord(Object cloneCollection, ObjectChangeSet owner, AbstractSession session)
protected ChangeRecord
AbstractCompositeDirectCollectionMapping. convertToChangeRecord(Object cloneCollection, ObjectChangeSet owner, AbstractSession session)
ChangeRecord
AbstractDirectMapping. internalBuildChangeRecord(Object newValue, Object oldValue, ObjectChangeSet owner)
INTERNAL: Build a change record.ChangeRecord
AbstractTransformationMapping. internalBuildChangeRecord(Object clone, Object oldValue, ObjectChangeSet owner, AbstractSession session)
INTERNAL: Build a change record.Object
AbstractTransformationMapping. readFromReturnRowIntoObject(AbstractRecord row, Object object, ReadObjectQuery query, Collection handledMappings, ObjectChangeSet changeSet)
INTERNAL: Extracts value from return row and set the attribute to the value in the object.void
AbstractCompositeCollectionMapping. simpleAddToCollectionChangeRecord(Object referenceKey, Object changeSetToAdd, ObjectChangeSet changeSet, AbstractSession session)
ADVANCED: This method is used to have an object add to a collection once the changeSet is applied The referenceKey parameter should only be used for direct Maps.void
AbstractCompositeDirectCollectionMapping. simpleAddToCollectionChangeRecord(Object referenceKey, Object changeSetToAdd, ObjectChangeSet changeSet, AbstractSession session)
ADVANCED: This method is used to have an object add to a collection once the changeSet is applied The referenceKey parameter should only be used for direct Maps.void
AbstractCompositeCollectionMapping. simpleRemoveFromCollectionChangeRecord(Object referenceKey, Object changeSetToRemove, ObjectChangeSet changeSet, AbstractSession session)
ADVANCED: This method is used to have an object removed from a collection once the changeSet is applied The referenceKey parameter should only be used for direct Maps.void
AbstractCompositeDirectCollectionMapping. simpleRemoveFromCollectionChangeRecord(Object referenceKey, Object changeSetToRemove, ObjectChangeSet changeSet, AbstractSession session)
ADVANCED: This method is used to have an object removed from a collection once the changeSet is applied The referenceKey parameter should only be used for direct Maps.void
AbstractDirectMapping. updateChangeRecord(Object clone, Object newValue, Object oldValue, ObjectChangeSet objectChangeSet, UnitOfWorkImpl uow)
INTERNAL: Either create a new change record or update with the new value.void
AbstractTransformationMapping. updateChangeRecord(Object clone, Object newValue, Object oldValue, ObjectChangeSet objectChangeSet, UnitOfWorkImpl uow)
INTERNAL: Either create a new change record or update the change record with the new value. -
Uses of ObjectChangeSet in org.eclipse.persistence.mappings.structures
Methods in org.eclipse.persistence.mappings.structures with parameters of type ObjectChangeSet Modifier and Type Method Description Object
ArrayCollectionMapping. buildChangeSet(Object element, ObjectChangeSet owner, AbstractSession session)
Build and return a change set for the specified element.ChangeRecord
ArrayCollectionMappingHelper. compareForChange(Object clone, Object backup, ObjectChangeSet owner, AbstractSession session)
INTERNAL: Build and return the change record that results from comparing the two collection attributes.void
ArrayCollectionMappingHelper. simpleAddToCollectionChangeRecord(Object referenceKey, Object changeSetToAdd, ObjectChangeSet changeSet, AbstractSession session)
ADVANCED: This method is used to add an object to a collection once the changeSet is applied.void
ArrayCollectionMappingHelper. simpleRemoveFromCollectionChangeRecord(Object referenceKey, Object changeSetToRemove, ObjectChangeSet changeSet, AbstractSession session)
ADVANCED: This method is used to remove an object from a collection once the changeSet is applied. -
Uses of ObjectChangeSet in org.eclipse.persistence.oxm.mappings
Methods in org.eclipse.persistence.oxm.mappings with parameters of type ObjectChangeSet Modifier and Type Method Description ChangeRecord
XMLAnyAttributeMapping. compareForChange(Object clone, Object backup, ObjectChangeSet owner, AbstractSession session)
INTERNAL: This method was created in VisualAge.ChangeRecord
XMLAnyCollectionMapping. compareForChange(Object clone, Object backup, ObjectChangeSet owner, AbstractSession session)
INTERNAL: This method was created in VisualAge.ChangeRecord
XMLAnyObjectMapping. compareForChange(Object clone, Object backup, ObjectChangeSet owner, AbstractSession session)
INTERNAL: This method was created in VisualAge.ChangeRecord
XMLChoiceCollectionMapping. compareForChange(Object clone, Object backup, ObjectChangeSet owner, AbstractSession session)
INTERNAL: This method was created in VisualAge.ChangeRecord
XMLChoiceObjectMapping. compareForChange(Object clone, Object backup, ObjectChangeSet owner, AbstractSession session)
INTERNAL: This method was created in VisualAge.ChangeRecord
XMLInverseReferenceMapping. compareForChange(Object clone, Object backup, ObjectChangeSet owner, AbstractSession session)
-
Uses of ObjectChangeSet in org.eclipse.persistence.queries
Fields in org.eclipse.persistence.queries declared as ObjectChangeSet Modifier and Type Field Description protected ObjectChangeSet
ObjectLevelModifyQuery. objectChangeSet
Methods in org.eclipse.persistence.queries that return ObjectChangeSet Modifier and Type Method Description ObjectChangeSet
ObjectLevelModifyQuery. getObjectChangeSet()
PUBLIC: Return the ObjectChangeSet representing the object being changedMethods in org.eclipse.persistence.queries with parameters of type ObjectChangeSet Modifier and Type Method Description void
ObjectLevelModifyQuery. setObjectChangeSet(ObjectChangeSet changeSet)
INTERNAL: Set the ObjectChangeSet representing the object to be written -
Uses of ObjectChangeSet in org.eclipse.persistence.sessions.changesets
Methods in org.eclipse.persistence.sessions.changesets that return types with arguments of type ObjectChangeSet Modifier and Type Method Description List<ObjectChangeSet>
EISCollectionChangeRecord. getAdds()
ADVANCED: Return the objects added to the collection.List<ObjectChangeSet>
AggregateCollectionChangeRecord. getChangedValues()
ADVANCED: Return the values representing the changed AggregateCollection.List<ObjectChangeSet>
EISCollectionChangeRecord. getRemoves()
ADVANCED: Return the removed objects.
-