at.spardat.xma.boot.component
Class NamedEvent

java.lang.Object
  extended byjava.util.EventObject
      extended byat.spardat.xma.boot.component.NamedEvent
All Implemented Interfaces:
java.io.Serializable

public class NamedEvent
extends java.util.EventObject

EventObject to transport the information assosiated with a named event of a component.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
NamedEvent(java.lang.Object source, java.lang.String name, java.lang.String value)
          Constructs a new NamedEvent.
 
Method Summary
 java.lang.String getName()
          Gets the name of the event.
 java.lang.String getValue()
          Gets the value of the 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
 

Constructor Detail

NamedEvent

public NamedEvent(java.lang.Object source,
                  java.lang.String name,
                  java.lang.String value)
Constructs a new NamedEvent.

Parameters:
source - the bean that fired the event
name - the name of the event
value - a value for the event
Method Detail

getName

public java.lang.String getName()
Gets the name of the event. The name is choosen by the fireing component and must be documented there.

Returns:
the name of the event

getValue

public java.lang.String getValue()
Gets the value of the event. Possible values are defined by the fireing component und must be documented there.

Returns:
the value for the event