org.dbforms.event.eventtype
Class DatabaseEventTypeStrategy

java.lang.Object
  extended by org.dbforms.event.eventtype.DatabaseEventTypeStrategy
All Implemented Interfaces:
EventTypeStrategy

public class DatabaseEventTypeStrategy
extends Object
implements EventTypeStrategy

Database EventTypeStrategy class. Provides implementations of the super class methods for Database events.

Author:
Luca Fossato

Constructor Summary
DatabaseEventTypeStrategy()
           
 
Method Summary
 int getEventGroup(String eventString)
          Gets the eventGroup attribute of the EventTypeStrategyImpl object
 String getEventType(String eventString)
          Gets the eventType attribute of the EventTypeStrategyImpl object
 String getId()
          Gets the EventTypeStrategy identifier.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DatabaseEventTypeStrategy

public DatabaseEventTypeStrategy()
Method Detail

getEventGroup

public int getEventGroup(String eventString)
Gets the eventGroup attribute of the EventTypeStrategyImpl object

Specified by:
getEventGroup in interface EventTypeStrategy
Parameters:
eventString - Description of the Parameter
Returns:
The eventGroup value, or EventType.EVENT_UNDEFINED otherwise

getEventType

public String getEventType(String eventString)
Gets the eventType attribute of the EventTypeStrategyImpl object

Specified by:
getEventType in interface EventTypeStrategy
Parameters:
eventString - Description of the Parameter
Returns:
The eventType value

getId

public String getId()
Gets the EventTypeStrategy identifier.

Specified by:
getId in interface EventTypeStrategy
Returns:
the EventTypeStrategy identifier


Copyright © 2002-2006 DbForms. All Rights Reserved.