Purpose: To record the changes for attributes that can be represented as Transformation Mapping
| Modifier and Type | Field and Description |
|---|---|
| protected transient Object | |
| protected AbstractRecord |
| Access | Constructor and Description |
|---|---|
| public | |
| public | TransformationMappingChangeRecord(ObjectChangeSet owner)
This is the basic constructor for this change Record. |
| Modifier and Type | Method and Description |
|---|---|
| public Object | getOldValue()
Implements org. |
| public DataRecord | getRecord()
Implements org. |
| public void | mergeRecord(ChangeRecord mergeFromRecord, UnitOfWorkChangeSet mergeToChangeSet, UnitOfWorkChangeSet mergeFromChangeSet)
Implements abstract org. |
| public void | setOldValue(Object oldValue)
INTERNAL: Set the old value of the attribute represented by this ChangeRecord. |
| public void | setRow(AbstractRecord
Record the values from the transformation mapping record)This method is used to add a changed value to the changeRecord. |
| public void | updateReferences(UnitOfWorkChangeSet mergeToChangeSet, UnitOfWorkChangeSet mergeFromChangeSet)
Implements abstract org. |
| oldValue | back to summary |
|---|---|
| protected transient Object oldValue | |
| rowCollection | back to summary |
|---|---|
| protected AbstractRecord rowCollection | |
| TransformationMappingChangeRecord | back to summary |
|---|---|
| public TransformationMappingChangeRecord() This default constructor. | |
| TransformationMappingChangeRecord | back to summary |
|---|---|
| public TransformationMappingChangeRecord(ObjectChangeSet owner) This is the basic constructor for this change Record. This change record stores the fields that have changed as that is our current method of comparing changes. | |
| getOldValue | back to summary |
|---|---|
| public Object getOldValue() Implements org. ADVANCED: Return the old value of the attribute represented by this ChangeRecord.
| |
| getRecord | back to summary |
|---|---|
| public DataRecord getRecord() Implements org. ADVANCED: This method is used to access the changes of the fields in a transformation mapping.
| |
| 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
| |
| setOldValue | back to summary |
|---|---|
| public void setOldValue(Object oldValue) INTERNAL: Set the old value of the attribute represented by this ChangeRecord. | |
| setRow | back to summary |
|---|---|
| public void setRow(AbstractRecord record) This method is used to add a changed value to the changeRecord. The changes in a transformation mapping are recorded on the database field level
| |
| 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 There is nothing to do for this mapping type as there are no object references
| |