Purpose: To record the changes for an attribute that references a single Object
| Modifier and Type | Field and Description |
|---|---|
| protected ObjectChangeSet | newValue
This is the object change set that the attribute points to. |
| protected transient Object | oldValue
A reference to the old value must also be stored. |
| Access | Constructor and Description |
|---|---|
| public | |
| public | ObjectReferenceChangeRecord(ObjectChangeSet owner)
INTERNAL: This Constructor is used to create an ObjectReferenceChangeRecord With an owner |
| Modifier and Type | Method and Description |
|---|---|
| public ObjectChangeSet | getNewValue()
Implements org. |
| public Object | getOldValue()
Implements org. |
| public void | mergeRecord(ChangeRecord mergeFromRecord, UnitOfWorkChangeSet mergeToChangeSet, UnitOfWorkChangeSet mergeFromChangeSet)
Implements abstract org. |
| public void | setNewValue(ObjectChangeSet
ObjectChangeSet newValue)This method sets the value of the change to be made. |
| public void | |
| public void | |
| public void | updateReferences(UnitOfWorkChangeSet mergeToChangeSet, UnitOfWorkChangeSet mergeFromChangeSet)
Implements abstract org. |
| newValue | back to summary |
|---|---|
| protected ObjectChangeSet newValue This is the object change set that the attribute points to. | |
| oldValue | back to summary |
|---|---|
| protected transient Object oldValue A reference to the old value must also be stored. This is only required for the commit and must never be serialized. | |
| ObjectReferenceChangeRecord | back to summary |
|---|---|
| public ObjectReferenceChangeRecord() INTERNAL: This default constructor. | |
| ObjectReferenceChangeRecord | back to summary |
|---|---|
| public ObjectReferenceChangeRecord(ObjectChangeSet owner) INTERNAL: This Constructor is used to create an ObjectReferenceChangeRecord With an owner | |
| getNewValue | back to summary |
|---|---|
| public ObjectChangeSet getNewValue() Implements org. ADVANCED: Returns the new reference for this object
| |
| getOldValue | back to summary |
|---|---|
| public Object getOldValue() Implements org. Return the old value of the object reference. This is used during the commit for private-owned references.
| |
| 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
| |
| setNewValue | back to summary |
|---|---|
| public void setNewValue(ObjectChangeSet newValue) This method sets the value of the change to be made.
| |
| setNewValue | back to summary |
|---|---|
| public void setNewValue(ObjectChangeSet newValue) This method sets the value of the change to be made. | |
| setOldValue | back to summary |
|---|---|
| public void setOldValue(Object oldValue) Set the old value of the object reference. This is used during the commit for private-owned references. | |
| 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
| |