com.ibm.as400.access
Class AS400FileRecordDescriptionEvent
java.lang.Object
java.util.EventObject
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. |
Method Summary |
int |
getID()
Returns the identifier for this event. |
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
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.
getID
public int getID()
- Returns the identifier for this event.
- Returns:
- The identifier for this event.