IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

com.ibm.btt.base
Class DSEEventObject

java.lang.Object
  extended by java.util.EventObject
      extended by com.ibm.btt.base.DSEEventObject
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
DSEExceptionEvent, OperationRepliedEvent

public class DSEEventObject
extends java.util.EventObject

The DSEEventObject class is used by notifiers, the Event Manager,and handlers to handle events by name. It provides as many parameters as are required by the notifiers and enables the system to provide the TID (terminal identification) where the event was generated.

See Also:
Serialized Form

Field Summary
protected  java.lang.String name
           
protected  java.lang.String originTID
           
protected  Hashtable parameters
           
protected  java.lang.String sourceName
           
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
DSEEventObject(java.lang.Object aObject)
          This constructor creates a DSEEventObject object.
DSEEventObject(java.lang.String aName, Notifier aSource)
          This constructor creates a DSEEventObject with a name and notifier.
DSEEventObject(java.lang.String aName, Notifier aSource, Hashtable aParametersTable)
          This constructor creates a DSEEventObject with a name and notifier.
 
Method Summary
static DSEEventObject convertEvent(com.ibm.dse.base.DSEEventObject anEvent)
          This class is used for BTT 4.x compatible.
static com.ibm.dse.base.DSEEventObject convertEvent(DSEEventObject anEvent)
          This class is used for BTT 4.x compatible.
 java.lang.String getName()
          Gets the DSEEventObject name attribute.
 java.lang.String getOriginTID()
           
 Hashtable getParameters()
          Gets the DSEEventObject parameters attribute.
 java.lang.String getSourceName()
          Gets the DSEEventObject sourceName.
 java.lang.String getTID()
          Gets the terminal identification.
 void setName(java.lang.String aName)
          Sets the DSEEventObject name to aName.
 void setOriginTID(java.lang.String originTID)
          Set the TID of the originator
 void setParameters(Hashtable aParametersTable)
          Sets the DSEEventObject parameters attribute to aParametersTable.
 void setSourceName(java.lang.String aSourceName)
          Sets the DSEEventObject sourceName to aSourceName.
 java.lang.String toString()
           
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

sourceName

protected java.lang.String sourceName

name

protected java.lang.String name

parameters

protected Hashtable parameters

originTID

protected java.lang.String originTID
Constructor Detail

DSEEventObject

public DSEEventObject(java.lang.Object aObject)
This constructor creates a DSEEventObject object.


DSEEventObject

public DSEEventObject(java.lang.String aName,
                      Notifier aSource)
               throws DSEInvalidArgumentException
This constructor creates a DSEEventObject with a name and notifier. This method generates a DSEInvalidArgumentException when an attempt is made to create a DSEEventObject with null parameters.

Throws:
DSEInvalidArgumentException

DSEEventObject

public DSEEventObject(java.lang.String aName,
                      Notifier aSource,
                      Hashtable aParametersTable)
               throws DSEInvalidArgumentException
This constructor creates a DSEEventObject with a name and notifier. This method generates a DSEInvalidArgumentException when an attempt is made to create a DSEEventObject with null parameters.

Throws:
DSEInvalidArgumentException
Method Detail

getName

public java.lang.String getName()
Gets the DSEEventObject name attribute.


getParameters

public Hashtable getParameters()
Gets the DSEEventObject parameters attribute.


getSourceName

public java.lang.String getSourceName()
Gets the DSEEventObject sourceName.


getTID

public java.lang.String getTID()
Gets the terminal identification.


setName

public void setName(java.lang.String aName)
Sets the DSEEventObject name to aName.


setParameters

public void setParameters(Hashtable aParametersTable)
Sets the DSEEventObject parameters attribute to aParametersTable.


setSourceName

public void setSourceName(java.lang.String aSourceName)
Sets the DSEEventObject sourceName to aSourceName.


getOriginTID

public java.lang.String getOriginTID()
Returns:
the TID of the originator

setOriginTID

public void setOriginTID(java.lang.String originTID)
Set the TID of the originator

Parameters:
originTID - the TID of the originator

toString

public java.lang.String toString()
Overrides:
toString in class java.util.EventObject

convertEvent

public static DSEEventObject convertEvent(com.ibm.dse.base.DSEEventObject anEvent)
This class is used for BTT 4.x compatible. Convert the com.ibm.dse.base.DSEEventObject to com.ibm.btt.base.DSEEventObject

Parameters:
anEvent - com.ibm.dse.base.DSEEventObject
Returns:
com.ibm.btt.base.DSEEventObject

convertEvent

public static com.ibm.dse.base.DSEEventObject convertEvent(DSEEventObject anEvent)
This class is used for BTT 4.x compatible. Convert the com.ibm.btt.base.DSEEventObject to com.ibm.dse.base.DSEEventObject

Parameters:
anEvent - com.ibm.btt.base.DSEEventObject
Returns:
com.ibm.dse.base.DSEEventObject

IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2011