edu.jhu.tmaj.client.tables.logs
Class FieldUpdateLog

java.lang.Object
  extended by edu.jhu.tmaj.client.tables.logs.FieldUpdateLog
All Implemented Interfaces:
ChangeLog, java.io.Serializable

final class FieldUpdateLog
extends java.lang.Object
implements ChangeLog, java.io.Serializable

A ChangeLog indicating a field of a record was updated.


Constructor Summary
FieldUpdateLog(RecordModify recordModify, java.lang.String fieldName, java.lang.String oldValue, java.lang.String newValue)
          Constructs this object.
 
Method Summary
 void insertIntoDatabase()
          Inserts the ChangeLog into one of the Log-Recording tables in the Database.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FieldUpdateLog

FieldUpdateLog(RecordModify recordModify,
               java.lang.String fieldName,
               java.lang.String oldValue,
               java.lang.String newValue)
Constructs this object.

Parameters:
recordModify - the record being updated
fieldName - the fieldname of the record being updated.
oldValue - the former of the cell [NOTE: This is not yet used]
newValue - the new value the user assigns for this cell
Method Detail

insertIntoDatabase

public void insertIntoDatabase()
                        throws java.sql.SQLException
Description copied from interface: ChangeLog
Inserts the ChangeLog into one of the Log-Recording tables in the Database.

Specified by:
insertIntoDatabase in interface ChangeLog
Throws:
java.sql.SQLException