All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.ibm.as400.access.RecordDescriptionEvent

java.lang.Object
   |
   +----java.util.EventObject
           |
           +----com.ibm.as400.access.RecordDescriptionEvent

public class RecordDescriptionEvent
extends EventObject
The RecordDescriptionEvent class represents a RecordDescriptionEvent. This class is used to fire events from the record description classes, RecordFormat and Record to listeners that have implemented the RecordDescriptionListener interface.


Variable Index

 o FIELD_DESCRIPTION_ADDED
Event id indicating that a field description has been added to a RecordFormat object.
 o FIELD_MODIFIED
Event id indicating that a field value has been modified in a Record object.
 o KEY_FIELD_DESCRIPTION_ADDED
Event id indicating that a key field description has been added to a RecordFormat object.

Constructor Index

 o RecordDescriptionEvent(Object, int)
Constructs a RecordDescriptionEvent object.

Method Index

 o getID()
Returns the identifier for this event.

Variables

 o FIELD_DESCRIPTION_ADDED
 public static final int FIELD_DESCRIPTION_ADDED
Event id indicating that a field description has been added to a RecordFormat object.

See Also:
addFieldDescription
 o KEY_FIELD_DESCRIPTION_ADDED
 public static final int KEY_FIELD_DESCRIPTION_ADDED
Event id indicating that a key field description has been added to a RecordFormat object.

See Also:
addKeyFieldDescription
 o FIELD_MODIFIED
 public static final int FIELD_MODIFIED
Event id indicating that a field value has been modified in a Record object.

See Also:
setField, setContents

Constructors

 o RecordDescriptionEvent
 public RecordDescriptionEvent(Object source,
                               int id)
Constructs a RecordDescriptionEvent object. It uses the source and ID specified.

Parameters:
source - The object where the event originated.
id - The event identifier. The id must be a valid event id for this class.

Methods

 o getID
 public int getID()
Returns the identifier for this event.

Returns:
The ID.

All Packages  Class Hierarchy  This Package  Previous  Next  Index