Class AggregateObjectChangeSet
- java.lang.Object
-
- org.eclipse.persistence.internal.sessions.ObjectChangeSet
-
- org.eclipse.persistence.internal.sessions.AggregateObjectChangeSet
-
- All Implemented Interfaces:
Serializable
,Comparable<ObjectChangeSet>
,ObjectChangeSet
public class AggregateObjectChangeSet extends ObjectChangeSet
- See Also:
- Serialized Form
-
-
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
Constructors Constructor Description AggregateObjectChangeSet()
The 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getId()
ADVANCED: This method returns the primary key for the object that this change set represents.boolean
isAggregate()
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 Detail
-
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 Detail
-
getId
public Object 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
-
-