public class TransformationMappingChangeRecord extends ChangeRecord implements TransformationMappingChangeRecord
Purpose: To record the changes for attributes that can be represented as Transformation Mapping
Constructor and Description |
---|
TransformationMappingChangeRecord()
This default constructor.
|
TransformationMappingChangeRecord(ObjectChangeSet owner)
This is the basic constructor for this change Record.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getOldValue()
ADVANCED:
Return the old value of the attribute represented by this ChangeRecord.
|
Record |
getRecord()
ADVANCED:
This method is used to access the changes of the fields in a transformation mapping.
|
void |
mergeRecord(ChangeRecord mergeFromRecord,
UnitOfWorkChangeSet mergeToChangeSet,
UnitOfWorkChangeSet mergeFromChangeSet)
INTERNAL:
This method will be used to merge one record into another
|
void |
setOldValue(java.lang.Object oldValue)
INTERNAL:
Set the old value of the attribute represented by this ChangeRecord.
|
void |
setRow(AbstractRecord record)
This method is used to add a changed value to the changeRecord.
|
void |
updateReferences(UnitOfWorkChangeSet mergeToChangeSet,
UnitOfWorkChangeSet mergeFromChangeSet)
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
|
getAttribute, getMapping, getOwner, prepareForSynchronization, setAttribute, setMapping, setOwner, toString, updateChangeRecordWithNewValue
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getAttribute, getOwner
public TransformationMappingChangeRecord()
public TransformationMappingChangeRecord(ObjectChangeSet owner)
public Record getRecord()
getRecord
in interface TransformationMappingChangeRecord
public void mergeRecord(ChangeRecord mergeFromRecord, UnitOfWorkChangeSet mergeToChangeSet, UnitOfWorkChangeSet mergeFromChangeSet)
mergeRecord
in class ChangeRecord
public void setRow(AbstractRecord record)
Record
- Record the values from the transformation mappingpublic void updateReferences(UnitOfWorkChangeSet mergeToChangeSet, UnitOfWorkChangeSet mergeFromChangeSet)
updateReferences
in class ChangeRecord
public java.lang.Object getOldValue()
getOldValue
in interface ChangeRecord
public void setOldValue(java.lang.Object oldValue)
EclipseLink 2.6.3, "build v20160428-59c81c5" API Reference