1 21 package oracle.toplink.essentials.internal.sessions; 23 24 25 31 public class DirectToFieldChangeRecord extends ChangeRecord implements oracle.toplink.essentials.changesets.DirectToFieldChangeRecord { 32 protected Object newValue; 33 34 37 public DirectToFieldChangeRecord() { 38 super(); 39 } 40 41 45 public DirectToFieldChangeRecord(ObjectChangeSet owner) { 46 this.owner = owner; 47 } 48 49 54 public Object getNewValue() { 55 return newValue; 56 } 57 58 62 public void mergeRecord(ChangeRecord mergeFromRecord, UnitOfWorkChangeSet mergeToChangeSet, UnitOfWorkChangeSet mergeFromChangeSet) { 63 this.newValue = ((DirectToFieldChangeRecord)mergeFromRecord).getNewValue(); 64 } 65 66 71 public void setNewValue(Object newValue) { 72 this.newValue = newValue; 73 } 74 75 79 public void updateChangeRecordWithNewValue(Object newValue) { 80 setNewValue(newValue); 81 } 82 83 87 public void updateReferences(UnitOfWorkChangeSet mergeToChangeSet, UnitOfWorkChangeSet mergeFromChangeSet) { 88 } 89 } 90 | Popular Tags |