edu.ksu.cis.projects.bogor.module.value.event
Class DefaultRecordEventNotifier

java.lang.Object
  extended by edu.ksu.cis.projects.bogor.module.event.AbstractEventNotifier
      extended by edu.ksu.cis.projects.bogor.module.value.event.DefaultRecordEventNotifier
All Implemented Interfaces:
IEventNotifier, IRecordEventNotifier

public class DefaultRecordEventNotifier
extends AbstractEventNotifier
implements IRecordEventNotifier

Version:
CVS $Revision: 1.2 $ $Date: 2004/12/18 22:36:34 $
Author:
Robby

Field Summary
protected  ArrayList<IRecordFieldReadListener> recordFieldReadListeners
           
protected  ArrayList<IRecordFieldWrittenListener> recordFieldWrittenListeners
           
 
Fields inherited from class edu.ksu.cis.projects.bogor.module.event.AbstractEventNotifier
notificationEnabledKeys
 
Constructor Summary
DefaultRecordEventNotifier()
           
 
Method Summary
 void addRecordFieldReadListener(IRecordFieldReadListener rfrl)
           
 void addRecordFieldWrittenListener(IRecordFieldWrittenListener rfwl)
           
 void notifyRecordFieldRead(int threadId, IRecordValue rv, int fieldIndex, IValue readValue)
           
 void notifyRecordFieldWritten(int threadId, IRecordValue rv, int fieldIndex, IValue writtenValue, IValue oldValue)
           
 
Methods inherited from class edu.ksu.cis.projects.bogor.module.event.AbstractEventNotifier
enableNotification, enableNotification, getEnabledKeys, removeEnableNotificationKey, removeEnableNotificationKeys
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface edu.ksu.cis.projects.bogor.module.event.IEventNotifier
enableNotification, enableNotification, getEnabledKeys, removeEnableNotificationKey, removeEnableNotificationKeys
 

Field Detail

recordFieldReadListeners

protected ArrayList<IRecordFieldReadListener> recordFieldReadListeners

recordFieldWrittenListeners

protected ArrayList<IRecordFieldWrittenListener> recordFieldWrittenListeners
Constructor Detail

DefaultRecordEventNotifier

public DefaultRecordEventNotifier()
Method Detail

addRecordFieldReadListener

public void addRecordFieldReadListener(IRecordFieldReadListener rfrl)
Specified by:
addRecordFieldReadListener in interface IRecordEventNotifier

addRecordFieldWrittenListener

public void addRecordFieldWrittenListener(IRecordFieldWrittenListener rfwl)
Specified by:
addRecordFieldWrittenListener in interface IRecordEventNotifier

notifyRecordFieldRead

public void notifyRecordFieldRead(int threadId,
                                  IRecordValue rv,
                                  int fieldIndex,
                                  IValue readValue)
Specified by:
notifyRecordFieldRead in interface IRecordEventNotifier

notifyRecordFieldWritten

public void notifyRecordFieldWritten(int threadId,
                                     IRecordValue rv,
                                     int fieldIndex,
                                     IValue writtenValue,
                                     IValue oldValue)
Specified by:
notifyRecordFieldWritten in interface IRecordEventNotifier