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 ObjectChangeSetDescriptorEvent. changeSetFor 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 ObjectChangeSetDescriptorEvent. getChangeSet()PUBLIC: Returns the Object changeSet if availableMethods in org.eclipse.persistence.descriptors with parameters of type ObjectChangeSet Modifier and Type Method Description voidCachePolicy. indexObjectInCache(ObjectChangeSet changeSet, Object object, ClassDescriptor descriptor, AbstractSession session)INTERNAL: Index the object by index in the cache using its changeSet.voidDescriptorEvent. 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 ObjectChangeSetDeferredChangeDetectionPolicy. 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.ObjectChangeSetObjectChangePolicy. 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.ObjectChangeSetAttributeChangeTrackingPolicy. 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.ObjectChangeSetDeferredChangeDetectionPolicy. 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.ObjectChangeSetObjectChangePolicy. calculateChangesForExistingObject(Object clone, UnitOfWorkChangeSet changes, UnitOfWorkImpl unitOfWork, ClassDescriptor descriptor, boolean shouldRaiseEvent)INTERNAL: CalculateChanges creates a change set for an existing object.ObjectChangeSetDeferredChangeDetectionPolicy. 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.ObjectChangeSetObjectChangePolicy. calculateChangesForNewObject(Object clone, UnitOfWorkChangeSet changes, UnitOfWorkImpl unitOfWork, ClassDescriptor descriptor, boolean shouldRaiseEvent)INTERNAL: CalculateChanges creates a change set for a new object.ObjectChangeSetAttributeChangeTrackingPolicy. createObjectChangeSet(Object clone, Object backUp, UnitOfWorkChangeSet changeSet, boolean isNew, AbstractSession session, ClassDescriptor descriptor)INTERNAL: Create ObjectChangeSetObjectChangeSetDeferredChangeDetectionPolicy. createObjectChangeSet(Object clone, Object backUp, UnitOfWorkChangeSet changeSet, boolean isNew, AbstractSession session, ClassDescriptor descriptor)INTERNAL: Create ObjectChangeSetObjectChangeSetDeferredChangeDetectionPolicy. createObjectChangeSetThroughComparison(Object clone, Object backUp, UnitOfWorkChangeSet changeSet, boolean isNew, AbstractSession session, ClassDescriptor descriptor)INTERNAL: Create ObjectChangeSetObjectChangeSetObjectChangePolicy. 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 voidAttributeChangeTrackingPolicy. setChangeSetOnListener(ObjectChangeSet objectChangeSet, Object clone)INTERNAL: Set the ObjectChangeSet on the Listener, initially used for aggregate supportvoidDeferredChangeDetectionPolicy. setChangeSetOnListener(ObjectChangeSet objectChangeSet, Object clone)INTERNAL: Set the ObjectChangeSet on the Listener, initially used for aggregate supportvoidObjectChangePolicy. setChangeSetOnListener(ObjectChangeSet objectChangeSet, Object clone)INTERNAL: Set the ObjectChangeSet on the Listener, initially used for aggregate supportvoidAttributeChangeTrackingPolicy. updateWithChanges(Object object, ObjectChangeSet changeSet, UnitOfWorkImpl uow, ClassDescriptor descriptor)INTERNAL: Clear the change set in the change event listener.voidDeferredChangeDetectionPolicy. updateWithChanges(Object clone, ObjectChangeSet objectChangeSet, UnitOfWorkImpl uow, ClassDescriptor descriptor)INTERNAL: Clear changes in the ChangeListener of the clonevoidObjectChangePolicy. 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 ObjectEISOneToManyMapping. buildChangeSet(Object element, ObjectChangeSet owner, AbstractSession session)INTERNAL: Build and return a change set for the specified element.ChangeRecordEISOneToManyMapping. compareForChange(Object clone, Object backup, ObjectChangeSet owner, AbstractSession session)INTERNAL: Compare the changes between two collections.ChangeRecordEISOneToManyMappingHelper. compareForChange(Object clone, Object backup, ObjectChangeSet owner, AbstractSession session)INTERNAL: Build and return the change record that results from comparing the two collection attributes.voidEISOneToManyMapping. 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.voidEISOneToManyMappingHelper. 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.voidEISOneToManyMapping. 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.voidEISOneToManyMappingHelper. 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 ObjectChangeSetObjectBuilder. compareForChange(Object clone, Object backUp, UnitOfWorkChangeSet changeSet, AbstractSession session)INTERNAL: This method creates a records change set for a particular object.ObjectChangeSetObjectBuilder. 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.ObjectChangeSetObjectBuilder. createObjectChangeSet(Object clone, UnitOfWorkChangeSet uowChangeSet, boolean isNew, AbstractSession session)INTERNAL: Used by the ObjectBuilder to create an ObjectChangeSet for the specified clone object.ObjectChangeSetObjectBuilder. 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 voidObjectBuilder. assignReturnRow(Object object, AbstractSession writeSession, AbstractRecord row, ObjectChangeSet changeSet)Assign the fields in the row back into the object.voidObjectBuilder. 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 voidObjectBuilder. 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.AbstractRecordObjectBuilder. buildRowWithChangeSet(AbstractRecord databaseRow, ObjectChangeSet objectChangeSet, AbstractSession session, DatabaseMapping.WriteType writeType)Build the row representation of an object.ChangeRecordObjectBuilder. getBaseChangeRecordForField(ObjectChangeSet objectChangeSet, Object object, DatabaseField databaseField, AbstractSession session)Return the base ChangeRecord for the given DatabaseField.voidObjectBuilder. 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.voidObjectBuilder. 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.voidObjectBuilder. 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 ObjectChangeSetAttributeChangeListener. objectChangeSetMethods in org.eclipse.persistence.internal.descriptors.changetracking that return ObjectChangeSet Modifier and Type Method Description ObjectChangeSetAttributeChangeListener. 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 voidAttributeChangeListener. 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 voidWriteLockManager. 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 ObjectContainerPolicy. 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 valueObjectMapContainerPolicy. 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 MapObjectContainerPolicy. getCloneDataFromChangeSet(ObjectChangeSet changeSet)INTERNAL: Used when objects are added or removed during an update.ObjectMappedKeyMapContainerPolicy. getCloneDataFromChangeSet(ObjectChangeSet changeSet)INTERNAL: Used when objects are added or removed during an update.ObjectContainerPolicy. mergeCascadeParts(ObjectChangeSet objectChanges, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: Merge changes from the source to the target object.voidContainerPolicy. postCalculateChanges(ObjectChangeSet ocs, ClassDescriptor referenceDescriptor, DatabaseMapping mapping, UnitOfWorkImpl uow)INTERNAL: Add the provided object to the deleted objects list on the commit manager.voidMappedKeyMapContainerPolicy. postCalculateChanges(ObjectChangeSet ocs, ClassDescriptor referenceDescriptor, DatabaseMapping mapping, UnitOfWorkImpl uow)INTERNAL: Add the provided object to the deleted objects list on the commit manager.voidContainerPolicy. 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.voidListContainerPolicy. 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.voidOrderedListContainerPolicy. 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.voidContainerPolicy. 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.voidListContainerPolicy. 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.voidOrderedListContainerPolicy. recordRemoveFromCollectionInChangeRecord(ObjectChangeSet changeSetToRemove, CollectionChangeRecord collectionChangeRecord)voidContainerPolicy. 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.voidMapContainerPolicy. 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.voidOrderedListContainerPolicy. recordUpdateToCollectionInChangeRecord(CollectionChangeEvent event, ObjectChangeSet changeSet, CollectionChangeRecord collectionChangeRecord)protected voidOrderedListContainerPolicy. 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 classAggregateObjectChangeSetFields in org.eclipse.persistence.internal.sessions declared as ObjectChangeSet Modifier and Type Field Description protected ObjectChangeSetObjectReferenceChangeRecord. newValueThis is the object change set that the attribute points to.protected ObjectChangeSetChangeRecord. ownerThis 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. addObjectListContains the added values to the collection and their corresponding ChangeSets.protected Map<ObjectChangeSet,ObjectChangeSet>CollectionChangeRecord. addObjectListContains the added values to the collection and their corresponding ChangeSets.protected List<ObjectChangeSet>CollectionChangeRecord. addOverFlowContains a list of extra adds.protected Map<ObjectChangeSet,ObjectChangeSet>UnitOfWorkChangeSet. aggregateChangeSetsprotected Map<ObjectChangeSet,ObjectChangeSet>UnitOfWorkChangeSet. aggregateChangeSetsprotected Map<ObjectChangeSet,ObjectChangeSet>UnitOfWorkChangeSet. allChangeSetsprotected Map<ObjectChangeSet,ObjectChangeSet>UnitOfWorkChangeSet. allChangeSetsprotected List<ObjectChangeSet>AggregateCollectionChangeRecord. changedValuesprotected Map<Object,ObjectChangeSet>UnitOfWorkChangeSet. cloneToObjectChangeSetprotected Map<ObjectChangeSet,ObjectChangeSet>UnitOfWorkChangeSet. deletedObjectsprotected Map<ObjectChangeSet,ObjectChangeSet>UnitOfWorkChangeSet. deletedObjectsprotected Map<Class<?>,Map<ObjectChangeSet,ObjectChangeSet>>UnitOfWorkChangeSet. newObjectChangeSetsprotected Map<Class<?>,Map<ObjectChangeSet,ObjectChangeSet>>UnitOfWorkChangeSet. newObjectChangeSetsprotected Map<Class<?>,Map<ObjectChangeSet,ObjectChangeSet>>UnitOfWorkChangeSet. objectChangesThis is the collection of ObjectChanges held by this ChangeSetprotected Map<Class<?>,Map<ObjectChangeSet,ObjectChangeSet>>UnitOfWorkChangeSet. objectChangesThis is the collection of ObjectChanges held by this ChangeSetprotected Map<ObjectChangeSet,Object>UnitOfWorkChangeSet. objectChangeSetToUOWCloneprotected Map<ObjectChangeSet,Integer>CollectionChangeRecord. orderedAddObjectIndicesContains the added values index to the collection.protected List<ObjectChangeSet>CollectionChangeRecord. orderedAddObjectsContains the added values to the collection and their corresponding ChangeSets in order.protected Map<Integer,ObjectChangeSet>CollectionChangeRecord. orderedRemoveObjectsContains the removed values to the collection and their corresponding ChangeSets.protected Map<ObjectChangeSet,ObjectChangeSet>CollectionChangeRecord. removeObjectListContains the removed values from the collection and their corresponding ChangeSets.protected Map<ObjectChangeSet,ObjectChangeSet>CollectionChangeRecord. removeObjectListContains 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 ObjectChangeSetUnitOfWorkChangeSet. 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.ObjectChangeSetUnitOfWorkChangeSet. 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.ObjectChangeSetUnitOfWorkChangeSet. 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 ChangeSetObjectChangeSetOrderedChangeObject. getChangeSet()INTERNAL: Return the ObjectChangeSet representing the change made to the collectionObjectChangeSetUnitOfWorkChangeSet. 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 voidUnitOfWorkChangeSet. addNewObjectChangeSet(ObjectChangeSet objectChanges, AbstractSession session)INTERNAL: Add to the changes for 'object' object to this changeSet.voidUnitOfWorkChangeSet. addObjectChangeSet(ObjectChangeSet objectChanges, AbstractSession session, boolean forceToNewObjectList)INTERNAL: Add to the changes for 'object' object to this changeSet.voidUnitOfWorkChangeSet. addObjectChangeSetForIdentity(ObjectChangeSet objectChanges, Object object)INTERNAL: Add change records to the lists used to maintain identity.intObjectChangeSet. compareTo(ObjectChangeSet changeSet)Determine if the receiver is greater or less than the change set.booleanObjectChangeSet. equals(ObjectChangeSet objectChange)Ensure change sets with the same primary key are equal.ObjectChangeSetUnitOfWorkChangeSet. 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.ObjectChangeSetUnitOfWorkChangeSet. 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 ChangeSetIntegerCollectionChangeRecord. getOrderedAddObjectIndex(ObjectChangeSet changes)This method returns the index of an object added to the collection.ObjectUnitOfWorkImpl. getOriginalVersionOfObjectOrNull(Object workingClone, ObjectChangeSet changeSet, ClassDescriptor descriptor, AbstractSession targetSession)INTERNAL: Return the original version of the object(clone) from the parent's identity map.ObjectMergeManager. mergeChanges(Object object, ObjectChangeSet objectChangeSet, AbstractSession targetSession)Recursively merge changes in the object dependent on the merge policy.protected ObjectMergeManager. mergeChangesIntoDistributedCache(Object original, ObjectChangeSet changeSet)Merge the changes specified within the changeSet into the cache.protected ObjectMergeManager. mergeChangesOfWorkingCopyIntoOriginal(Object clone, ObjectChangeSet objectChangeSet)Recursively merge to clone into the original in its parent.protected CacheKeyMergeManager. mergeChangesOfWorkingCopyIntoOriginal(Object clone, ObjectChangeSet objectChangeSet, ClassDescriptor descriptor, AbstractSession targetSession, UnitOfWorkImpl unitOfWork)Recursively merge to clone into the original in its parent.ObjectMergeManager. mergeNewObjectIntoCache(ObjectChangeSet changeSet)Merge a change set for a new object into the cache.voidObjectChangeSet. mergeObjectChanges(ObjectChangeSet changeSetToMergeFrom, UnitOfWorkChangeSet mergeToChangeSet, UnitOfWorkChangeSet mergeFromChangeSet)INTERNAL: This method will be used to merge changes from a supplied ObjectChangeSet into this changeSet.ObjectChangeSetUnitOfWorkChangeSet. 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 changesetvoidUnitOfWorkChangeSet. 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.voidUnitOfWorkChangeSet. removeObjectChangeSet(ObjectChangeSet changeSet)INTERNAL: Add the changed Object's records to the ChangeSet.voidUnitOfWorkChangeSet. 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 objectChangesListvoidOrderedChangeObject. setChangeSet(ObjectChangeSet changeSet)INTERNAL: Set the ObjectChangeSet representing the change made to the collectionvoidObjectReferenceChangeRecord. setNewValue(ObjectChangeSet newValue)This method sets the value of the change to be made.voidChangeRecord. setOwner(ObjectChangeSet newOwner)INTERNAL: This method is used to set the ObjectChangeSet that uses this Record in that Record.protected voidMergeManager. updateCacheKeyProperties(UnitOfWorkImpl unitOfWork, CacheKey cacheKey, Object original, Object clone, ObjectChangeSet objectChangeSet, ClassDescriptor descriptor)INTERNAL: Update CacheKey properties with new information.voidRepeatableWriteUnitOfWork. updateChangeTrackersIfRequired(Object objectToWrite, ObjectChangeSet changeSetToWrite, UnitOfWorkImpl uow, ClassDescriptor descriptor)INTERNAL: This method is used internally to update the tracked objects if requiredvoidUnitOfWorkImpl. 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 voidCollectionChangeRecord. setAddObjectList(Map<ObjectChangeSet,ObjectChangeSet> objectChangesList)Sets the Added objects list.voidCollectionChangeRecord. setAddObjectList(Map<ObjectChangeSet,ObjectChangeSet> objectChangesList)Sets the Added objects list.voidAggregateCollectionChangeRecord. setChangedValues(List<ObjectChangeSet> newValues)INTERNAL: Set the changed values.voidUnitOfWorkChangeSet. setCloneToObjectChangeSet(Map<Object,ObjectChangeSet> cloneToObjectChangeSet)INTERNAL: This method is used to set the map for cloneToObject reference.voidUnitOfWorkChangeSet. setObjectChangeSetToUOWClone(Map<ObjectChangeSet,Object> objectChangeSetToUOWClone)INTERNAL: This method is used to insert a new collection into the UOWChangeSet.voidCollectionChangeRecord. setOrderedAddObjectIndices(Map<ObjectChangeSet,Integer> orderedAddObjectIndices)Sets collection of ChangeSets (and their respective index) that they were added to the collection.voidCollectionChangeRecord. setOrderedAddObjects(List<ObjectChangeSet> orderedAddObjects)Sets collection of ChangeSets that they were added to the collection.voidCollectionChangeRecord. setOrderedRemoveObjects(Map<Integer,ObjectChangeSet> orderedRemoveObjects)Sets collection of ChangeSets that they were removed from the collection.voidCollectionChangeRecord. setRemoveObjectList(Map<ObjectChangeSet,ObjectChangeSet> objectChangesList)Sets the removed objects list.voidCollectionChangeRecord. 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 voidDirectMapMapping. addToCollectionChangeRecord(Object newKey, Object newValue, ObjectChangeSet objectChangeSet, UnitOfWorkImpl uow)INTERNAL: Add a new value and its change set to the collection change record.ChangeRecordCollectionMapping. buildChangeRecord(Object clone, ObjectChangeSet owner, AbstractSession session)INTERNAL: Directly build a change record without comparisonChangeRecordDatabaseMapping. buildChangeRecord(Object newValue, ObjectChangeSet owner, AbstractSession session)INTERNAL: Directly build a change record without comparisonChangeRecordObjectReferenceMapping. buildChangeRecord(Object clone, ObjectChangeSet owner, AbstractSession session)INTERNAL: Directly build a change record without comparisonChangeRecordAggregateCollectionMapping. compareForChange(Object clone, Object backUp, ObjectChangeSet owner, AbstractSession session)INTERNAL: This method is used to create a change record from comparing two aggregate collectionsChangeRecordAggregateMapping. compareForChange(Object clone, Object backup, ObjectChangeSet owner, AbstractSession session)INTERNAL: Compare the changes between two aggregates.ChangeRecordCollectionMapping. compareForChange(Object clone, Object backUp, ObjectChangeSet owner, AbstractSession session)INTERNAL: This method is used to create a change record from comparing two collections.abstract ChangeRecordDatabaseMapping. compareForChange(Object clone, Object backup, ObjectChangeSet owner, AbstractSession session)INTERNAL: This method was created in VisualAge.ChangeRecordDirectCollectionMapping. compareForChange(Object clone, Object backUp, ObjectChangeSet owner, AbstractSession session)INTERNAL: This method compares the changes between two direct collections.ChangeRecordDirectMapMapping. compareForChange(Object clone, Object backUp, ObjectChangeSet owner, AbstractSession session)INTERNAL: This method compares the changes between two direct collections.ChangeRecordMultitenantPrimaryKeyMapping. 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.ChangeRecordObjectReferenceMapping. compareForChange(Object clone, Object backUp, ObjectChangeSet owner, AbstractSession session)INTERNAL: Return an ObjectReferenceChangeRecord describing the change, or null if no change.ChangeRecordUnidirectionalOneToManyMapping. compareForChange(Object clone, Object backUp, ObjectChangeSet owner, AbstractSession uow)INTERNAL: This method is used to create a change record from comparing two collectionsprotected ChangeRecordAggregateCollectionMapping. convertToChangeRecord(Object cloneCollection, Object backupCollection, ObjectChangeSet owner, AbstractSession session)INTERNAL: This method is used to convert the contents of an aggregateCollection into a changeRecordObjectReferenceChangeRecordObjectReferenceMapping. internalBuildChangeRecord(Object newValue, ObjectChangeSet owner, AbstractSession session)INTERNAL: Directly build a change record based on the newValue without comparisonprotected voidAggregateCollectionMapping. 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 voidCollectionMapping. 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 voidManyToManyMapping. 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 voidOneToManyMapping. objectAddedDuringUpdate(ObjectLevelModifyQuery query, Object objectAdded, ObjectChangeSet changeSet, Map extraData)INTERNAL: An object was added to the collection during an update, insert it if private.ObjectAggregateObjectMapping. 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 voidDirectMapMapping. removeFromCollectionChangeRecord(Object newKey, Object newValue, ObjectChangeSet objectChangeSet, UnitOfWorkImpl uow)INTERNAL: Remove a value and its change set from the collection change record.voidObjectReferenceMapping. setNewValueInChangeRecord(Object newValue, ObjectReferenceChangeRecord changeRecord, ObjectChangeSet owner, AbstractSession session)INTERNAL: Set the newValue in the change recordvoidAggregateCollectionMapping. 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.voidCollectionMapping. 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.voidDatabaseMapping. 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 voidDirectCollectionMapping. simpleAddToCollectionChangeRecord(Object objectToAdd, Integer index, boolean isSet, ObjectChangeSet changeSet, AbstractSession session, boolean isChangeApplied)voidDirectCollectionMapping. 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.voidDirectMapMapping. 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.voidAggregateCollectionMapping. 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.voidCollectionMapping. 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.voidDatabaseMapping. 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 voidDirectCollectionMapping. simpleRemoveFromCollectionChangeRecord(Object objectToRemove, Integer index, boolean isSet, ObjectChangeSet changeSet, AbstractSession session, boolean isChangeApplied)voidDirectCollectionMapping. 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.voidDirectMapMapping. 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.voidAggregateMapping. 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.voidCollectionMapping. updateChangeRecord(Object clone, Object newValue, Object oldValue, ObjectChangeSet objectChangeSet, UnitOfWorkImpl uow)INTERNAL: Either create a new change record or update with the new value.voidDatabaseMapping. 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.voidDirectCollectionMapping. updateChangeRecord(Object clone, Object newValue, Object oldValue, ObjectChangeSet objectChangeSet, UnitOfWorkImpl uow)INTERNAL: Either create a new change record or update with the new value.voidDirectMapMapping. 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.voidObjectReferenceMapping. 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.voidCollectionMapping. 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.voidDatabaseMapping. 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.voidDirectCollectionMapping. 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.voidDirectMapMapping. 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.voidCollectionMapping. writeChanges(ObjectChangeSet changeSet, WriteObjectQuery query)INTERNAL: Write the changes defined in the change set for the mapping.protected voidAggregateObjectMapping. 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 ChangeRecordAbstractDirectMapping. buildChangeRecord(Object clone, ObjectChangeSet owner, AbstractSession session)INTERNAL: Directly build a change record without comparisonChangeRecordAbstractTransformationMapping. buildChangeRecord(Object clone, ObjectChangeSet owner, AbstractSession session)INTERNAL: Directly build a change record without comparisonObjectAbstractCompositeCollectionMapping. buildChangeSet(Object element, ObjectChangeSet owner, AbstractSession session)INTERNAL: Build and return a change set for the specified element.ObjectAbstractCompositeDirectCollectionMapping. buildChangeSet(Object element, ObjectChangeSet owner, AbstractSession session)INTERNAL: Build and return a change set for the specified element.ChangeRecordAbstractCompositeCollectionMapping. 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.ChangeRecordAbstractCompositeDirectCollectionMapping. 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.ChangeRecordAbstractDirectMapping. 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.ChangeRecordAbstractTransformationMapping. compareForChange(Object clone, Object backUp, ObjectChangeSet owner, AbstractSession session)INTERNAL: Compare the attributes belonging to this mapping for the objects.protected ChangeRecordAbstractCompositeCollectionMapping. convertToChangeRecord(Object cloneCollection, ObjectChangeSet owner, AbstractSession session)protected ChangeRecordAbstractCompositeDirectCollectionMapping. convertToChangeRecord(Object cloneCollection, ObjectChangeSet owner, AbstractSession session)ChangeRecordAbstractDirectMapping. internalBuildChangeRecord(Object newValue, Object oldValue, ObjectChangeSet owner)INTERNAL: Build a change record.ChangeRecordAbstractTransformationMapping. internalBuildChangeRecord(Object clone, Object oldValue, ObjectChangeSet owner, AbstractSession session)INTERNAL: Build a change record.ObjectAbstractTransformationMapping. 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.voidAbstractCompositeCollectionMapping. 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.voidAbstractCompositeDirectCollectionMapping. 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.voidAbstractCompositeCollectionMapping. 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.voidAbstractCompositeDirectCollectionMapping. 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.voidAbstractDirectMapping. updateChangeRecord(Object clone, Object newValue, Object oldValue, ObjectChangeSet objectChangeSet, UnitOfWorkImpl uow)INTERNAL: Either create a new change record or update with the new value.voidAbstractTransformationMapping. 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 ObjectArrayCollectionMapping. buildChangeSet(Object element, ObjectChangeSet owner, AbstractSession session)Build and return a change set for the specified element.ChangeRecordArrayCollectionMappingHelper. compareForChange(Object clone, Object backup, ObjectChangeSet owner, AbstractSession session)INTERNAL: Build and return the change record that results from comparing the two collection attributes.voidArrayCollectionMappingHelper. 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.voidArrayCollectionMappingHelper. 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 ChangeRecordXMLAnyAttributeMapping. compareForChange(Object clone, Object backup, ObjectChangeSet owner, AbstractSession session)INTERNAL: This method was created in VisualAge.ChangeRecordXMLAnyCollectionMapping. compareForChange(Object clone, Object backup, ObjectChangeSet owner, AbstractSession session)INTERNAL: This method was created in VisualAge.ChangeRecordXMLAnyObjectMapping. compareForChange(Object clone, Object backup, ObjectChangeSet owner, AbstractSession session)INTERNAL: This method was created in VisualAge.ChangeRecordXMLChoiceCollectionMapping. compareForChange(Object clone, Object backup, ObjectChangeSet owner, AbstractSession session)INTERNAL: This method was created in VisualAge.ChangeRecordXMLChoiceObjectMapping. compareForChange(Object clone, Object backup, ObjectChangeSet owner, AbstractSession session)INTERNAL: This method was created in VisualAge.ChangeRecordXMLInverseReferenceMapping. 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 ObjectChangeSetObjectLevelModifyQuery. objectChangeSetMethods in org.eclipse.persistence.queries that return ObjectChangeSet Modifier and Type Method Description ObjectChangeSetObjectLevelModifyQuery. 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 voidObjectLevelModifyQuery. 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.
-