at.spardat.xma.boot.component
Class NamedEvent
java.lang.Object
java.util.EventObject
at.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
| 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 |
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 eventname - the name of the eventvalue - a value for the event
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