com.ibm.as400.access
Class AS400FileRecordDescriptionEvent

java.lang.Object
  extended by java.util.EventObject
      extended by com.ibm.as400.access.AS400FileRecordDescriptionEvent
All Implemented Interfaces:
Serializable

public class AS400FileRecordDescriptionEvent
extends EventObject

The AS400FileRecordDescriptionEvent class represents a RecordDescriptionEvent. This class is used to fire events from the record description classes, RecordFormat and Record.

See Also:
Serialized Form

Field Summary
static int RECORD_FORMAT_RETRIEVED
          Event ID indicating that the record formats for a file have been retrieved.
static int RECORD_FORMAT_SOURCE_CREATED
          Event ID indicating that source files containing the RecordFormat classes for a file have been created.
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
AS400FileRecordDescriptionEvent(Object source, int id)
          Constructs a AS400FileRecordDescriptionEvent object.
 
Method Summary
 int getID()
          Returns the identifier for this event.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

RECORD_FORMAT_RETRIEVED

public static final int RECORD_FORMAT_RETRIEVED
Event ID indicating that the record formats for a file have been retrieved.

See Also:
AS400FileRecordDescription.retrieveRecordFormat(), Constant Field Values

RECORD_FORMAT_SOURCE_CREATED

public static final int RECORD_FORMAT_SOURCE_CREATED
Event ID indicating that source files containing the RecordFormat classes for a file have been created.

See Also:
AS400FileRecordDescription.createRecordFormatSource(java.lang.String, java.lang.String), Constant Field Values
Constructor Detail

AS400FileRecordDescriptionEvent

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

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

getID

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

Returns:
The identifier for this event.