Class AggregateObjectChangeSet
- java.lang.Object
-
- org.eclipse.persistence.internal.sessions.ObjectChangeSet
-
- org.eclipse.persistence.internal.sessions.AggregateObjectChangeSet
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.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(java.lang.Object primaryKey, ClassDescriptor descriptor, java.lang.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 java.lang.ObjectgetId()ADVANCED: This method returns the primary key for the object that this change set represents.booleanisAggregate()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, getPrimaryKeys, 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(java.lang.Object primaryKey, ClassDescriptor descriptor, java.lang.Object cloneObject, UnitOfWorkChangeSet parent, boolean isNew)This constructor is used to create an ObjectChangeSet that represents a regular object.
-
-
Method Detail
-
getId
public java.lang.Object getId()
Description copied from class:ObjectChangeSetADVANCED: This method returns the primary key for the object that this change set represents.- Specified by:
getIdin interfaceObjectChangeSet- Overrides:
getIdin classObjectChangeSet
-
isAggregate
public boolean isAggregate()
Description copied from class:ObjectChangeSetINTERNAL: Used to determine if the object change set represents an aggregate object.- Overrides:
isAggregatein classObjectChangeSet
-
-