com.ibm.as400.access
Interface RecordDescriptionListener

All Superinterfaces:
java.util.EventListener

public interface RecordDescriptionListener
extends java.util.EventListener

The RecordDescriptionListener interface provides the interface that must be implemented to handle RecordDescriptionEvent objects that are fired by the record description classes, RecordFormat and Record.


Method Summary
 void fieldDescriptionAdded(RecordDescriptionEvent event)
          Invoked when a field description has been added to a RecordFormat object.
 void fieldModified(RecordDescriptionEvent event)
          Invoked when a field value has been changed in a Record object.
 void keyFieldDescriptionAdded(RecordDescriptionEvent event)
          Invoked when a key field description has been added to a RecordFormat object.
 

Method Detail

fieldDescriptionAdded

public void fieldDescriptionAdded(RecordDescriptionEvent event)
Invoked when a field description has been added to a RecordFormat object.
Parameters:
event - The event fired.
See Also:
RecordFormat.addFieldDescription(com.ibm.as400.access.FieldDescription)

fieldModified

public void fieldModified(RecordDescriptionEvent event)
Invoked when a field value has been changed in a Record object.
Parameters:
event - The event fired.
See Also:
Record.setField(int, java.lang.Object), Record.setContents(byte[])

keyFieldDescriptionAdded

public void keyFieldDescriptionAdded(RecordDescriptionEvent event)
Invoked when a key field description has been added to a RecordFormat object.
Parameters:
event - The event fired.
See Also:
RecordFormat.addKeyFieldDescription(int)