public class DirectToFieldChangeRecord extends ChangeRecord implements DirectToFieldChangeRecord
Purpose: To record the changes for attributes that can be represented as DirectToField
prototype.changeset.CollectionChangeRecord,prototype.changeset.SingleObjectChangeRecord,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
protected java.lang.Object |
newValue |
attribute, mapping, owner| Constructor and Description |
|---|
DirectToFieldChangeRecord()
This default constructor is reference internally by SDK XML project to mapp this class
|
DirectToFieldChangeRecord(ObjectChangeSet owner)
This constructor returns a changeRecord representing the DirectToField mapping
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getNewValue()
ADVANCED:
Returns the new value assigned during the change
|
void |
mergeRecord(ChangeRecord mergeFromRecord,
UnitOfWorkChangeSet mergeToChangeSet,
UnitOfWorkChangeSet mergeFromChangeSet)
INTERNAL:
This method will be used to merge one record into another
|
void |
setNewValue(java.lang.Object newValue)
ADVANCED:
Sets the new value assigned during the change
|
void |
updateChangeRecordWithNewValue(java.lang.Object newValue)
INTERNAL:
used by the record to update the new value ignores the value in the default implementation
|
void |
updateReferences(UnitOfWorkChangeSet mergeToChangeSet,
UnitOfWorkChangeSet mergeFromChangeSet)
INTERNAL:
This method will be used to update the objectsChangeSets references
|
getAttribute, getMapping, getOwner, prepareForSynchronization, setAttribute, setMapping, setOwner, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAttribute, getOwnerpublic DirectToFieldChangeRecord()
public DirectToFieldChangeRecord(ObjectChangeSet owner)
owner - prototype.changeset.ObjectChangeSet that ObjectChangeSet that uses this recordpublic java.lang.Object getNewValue()
getNewValue in interface DirectToFieldChangeRecordpublic void mergeRecord(ChangeRecord mergeFromRecord, UnitOfWorkChangeSet mergeToChangeSet, UnitOfWorkChangeSet mergeFromChangeSet)
mergeRecord in class ChangeRecordpublic void setNewValue(java.lang.Object newValue)
newValue - java.lang.Objectpublic void updateChangeRecordWithNewValue(java.lang.Object newValue)
updateChangeRecordWithNewValue in class ChangeRecordpublic void updateReferences(UnitOfWorkChangeSet mergeToChangeSet, UnitOfWorkChangeSet mergeFromChangeSet)
updateReferences in class ChangeRecord