org.dbforms.config
Class TableEvents

java.lang.Object
  extended by org.dbforms.config.TableEvents
All Implemented Interfaces:
Serializable

public class TableEvents
extends Object
implements Serializable

Handles the events related to the linked table object.

Author:
Luca Fossato
See Also:
Serialized Form

Constructor Summary
TableEvents()
          Default constructor.
 
Method Summary
 void addEventInfo(EventInfo einfo)
          Set a new event for the linked Table.
 String getEventId(String eventType)
          Get the event id related to the input event type.
 Table getTable()
          Gets the table attribute of the TableEvent object
 void setTable(Table table)
          Sets the table attribute of the TableEvent object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TableEvents

public TableEvents()
Default constructor.

Method Detail

getEventId

public String getEventId(String eventType)
Get the event id related to the input event type.

Parameters:
eventType - the event type
Returns:
the event id related to the input event type, or null if the object does not exist

setTable

public void setTable(Table table)
Sets the table attribute of the TableEvent object

Parameters:
table - The new table value

getTable

public Table getTable()
Gets the table attribute of the TableEvent object

Returns:
The table value

addEventInfo

public void addEventInfo(EventInfo einfo)
Set a new event for the linked Table.

Parameters:
einfo - the event info


Copyright © 2002-2006 DbForms. All Rights Reserved.