| Modifier and Type | Field and Description |
|---|---|
| protected ObjectChangeSet | |
| protected static final String | |
| protected transient Object |
| Access | Constructor and Description |
|---|---|
| public | |
| public | AggregateChangeRecord(ObjectChangeSet owner)
This constructor returns an ChangeRecord representing an AggregateMapping. |
| Modifier and Type | Method and Description |
|---|---|
| public ObjectChangeSet | getChangedObject()
Implements org. |
| public Object | getOldValue()
Implements org. |
| public void | mergeRecord(ChangeRecord mergeFromRecord, UnitOfWorkChangeSet mergeToChangeSet, UnitOfWorkChangeSet mergeFromChangeSet)
Implements abstract org. |
| public void | setChangedObject(ObjectChangeSet newValue)
INTERNAL: This method is used to set the changed value or values. |
| public void | setOldValue(Object oldValue)
INTERNAL: Set the old value of the attribute represented by this ChangeRecord. |
| public void | updateReferences(UnitOfWorkChangeSet mergeToChangeSet, UnitOfWorkChangeSet mergeFromChangeSet)
Implements abstract org. |
| changedObject | back to summary |
|---|---|
| protected ObjectChangeSet changedObject | |
| NULL | back to summary |
|---|---|
| protected static final String NULL | |
| oldValue | back to summary |
|---|---|
| protected transient Object oldValue | |
| AggregateChangeRecord | back to summary |
|---|---|
| public AggregateChangeRecord() This default constructor. | |
| AggregateChangeRecord | back to summary |
|---|---|
| public AggregateChangeRecord(ObjectChangeSet owner) This constructor returns an ChangeRecord representing an AggregateMapping. | |
| getChangedObject | back to summary |
|---|---|
| public ObjectChangeSet getChangedObject() Implements org. ADVANCED: This method is used to return the ObjectChangeSet representing the changed Aggregate.
| |
| getOldValue | back to summary |
|---|---|
| public Object getOldValue() Implements org. ADVANCED: If the owning UnitOfWork has shouldChangeRecordKeepOldValue set to true, then return the old value of the attribute represented by this ChangeRecord.
| |
| mergeRecord | back to summary |
|---|---|
| public void mergeRecord(ChangeRecord mergeFromRecord, UnitOfWorkChangeSet mergeToChangeSet, UnitOfWorkChangeSet mergeFromChangeSet) Implements abstract org. INTERNAL: This method will be used to merge one record into another
| |
| setChangedObject | back to summary |
|---|---|
| public void setChangedObject(ObjectChangeSet newValue) INTERNAL: This method is used to set the changed value or values. | |
| setOldValue | back to summary |
|---|---|
| public void setOldValue(Object oldValue) INTERNAL: Set the old value of the attribute represented by this ChangeRecord. | |
| updateReferences | back to summary |
|---|---|
| public void updateReferences(UnitOfWorkChangeSet mergeToChangeSet, UnitOfWorkChangeSet mergeFromChangeSet) Implements abstract org. INTERNAL: This method will be used to update the objectsChangeSets references If this is an aggregate change set then there is no need to update the reference as the ChangeSet has no identity outside of this record Check to see if it exists here already to prevent us from creating a little extra garbage.
| |