Module org.eclipse.persistence.core
Class AggregateObjectChangeSet
java.lang.Object
org.eclipse.persistence.internal.sessions.ObjectChangeSet
org.eclipse.persistence.internal.sessions.AggregateObjectChangeSet
- All Implemented Interfaces:
Serializable
,Comparable<ObjectChangeSet>
,ObjectChangeSet
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.persistence.internal.sessions.ObjectChangeSet
ObjectChangeSet.ObjectChangeSetComparator
-
Field Summary
Fields inherited from class org.eclipse.persistence.internal.sessions.ObjectChangeSet
activeCacheKey, attributesToChanges, cacheSynchronizationType, changes, className, classType, cloneObject, deferredSet, descriptor, hasChangesFromCascadeLocking, hasCmpPolicyForcedUpdate, hasVersionChange, id, initialWriteLockValue, isAggregate, isInvalid, isNew, MAX_TRIES, newKey, oldKey, optimisticLockingPolicy, protectedForeignKeys, shouldBeDeleted, shouldModifyVersionField, shouldRecalculateAfterUpdateEvent, unitOfWorkChangeSet, writeLockValue
-
Constructor Summary
ConstructorDescriptionThe default constructor.AggregateObjectChangeSet
(Object primaryKey, ClassDescriptor descriptor, Object cloneObject, UnitOfWorkChangeSet parent, boolean isNew) This constructor is used to create an ObjectChangeSet that represents a regular object. -
Method Summary
Modifier and TypeMethodDescriptiongetId()
ADVANCED: This method returns the primary key for the object that this change set represents.boolean
INTERNAL: Used to determine if the object change set represents an aggregate object.Methods inherited from class org.eclipse.persistence.internal.sessions.ObjectChangeSet
addChange, clear, compareTo, containsChangesFromSynchronization, deferredDetectionRequiredOn, dirtyUOWChangeSet, equals, equals, getActiveCacheKey, getAttributesToChanges, getCacheSynchronizationType, getChangedAttributeNames, getChanges, getChangesForAttributeNamed, getClassName, getClassType, getClassType, getDeferredSet, getDescriptor, getInitialWriteLockValue, getNewKey, getObjectForMerge, getOldKey, getOldValue, getOldValue, getProtectedForeignKeys, getSynchronizationType, getTargetVersionOfSourceObject, getTargetVersionOfSourceObject, getUnitOfWorkClone, getUOWChangeSet, getWriteLockValue, hasChangeFor, hasChanges, hasCmpPolicyForcedUpdate, hasDeferredAttributes, hasForcedChanges, hasForcedChangesFromCascadeLocking, hashCode, hasKeys, hasProtectedForeignKeys, hasVersionChange, isInvalid, isNew, mergeObjectChanges, postSerialize, readCompleteChangeSet, readIdentityInformation, rebuildWriteLockValueFromUserFormat, removeChange, removeFromIdentityMap, setActiveCacheKey, setCacheSynchronizationType, setChanges, setClassName, setClassType, setDescriptor, setHasCmpPolicyForcedUpdate, setHasForcedChangesFromCascadeLocking, setHasVersionChange, setId, setInitialWriteLockValue, setIsAggregate, setIsInvalid, setIsNew, setNewKey, setOldKey, setOptimisticLockingPolicyAndInitialWriteLockValue, setProtectedForeignKeys, setShouldBeDeleted, setShouldModifyVersionField, setShouldRecalculateAfterUpdateEvent, setSynchronizationType, setUnitOfWorkClone, setUOWChangeSet, setWriteLockValue, shouldBeDeleted, shouldInvalidateObject, shouldModifyVersionField, shouldRecalculateAfterUpdateEvent, toString, updateChangeRecordForAttribute, updateChangeRecordForAttribute, updateChangeRecordForAttributeWithMappedObject, updateReferences, updateUOWChangeSet, writeCompleteChangeSet, writeIdentityInformation
-
Constructor Details
-
AggregateObjectChangeSet
public AggregateObjectChangeSet()The default constructor. -
AggregateObjectChangeSet
public AggregateObjectChangeSet(Object primaryKey, ClassDescriptor descriptor, Object cloneObject, UnitOfWorkChangeSet parent, boolean isNew) This constructor is used to create an ObjectChangeSet that represents a regular object.
-
-
Method Details
-
getId
Description copied from class:ObjectChangeSet
ADVANCED: This method returns the primary key for the object that this change set represents.- Specified by:
getId
in interfaceObjectChangeSet
- Overrides:
getId
in classObjectChangeSet
-
isAggregate
public boolean isAggregate()Description copied from class:ObjectChangeSet
INTERNAL: Used to determine if the object change set represents an aggregate object.- Overrides:
isAggregate
in classObjectChangeSet
-