org.openbandy.example.test
Class TestEvent
java.lang.Object
org.openbandy.event.Event
org.openbandy.example.test.TestEvent
public class TestEvent
- extends Event
A simple example of an event. In addition to the attributes
of the basic Event
class, this class also contains
a message.
(c) Copyright Philipp Bolliger 2007, ALL RIGHTS RESERVED.
- Version:
- 1.0
- Author:
- Philipp Bolliger (philipp@bolliger.name)
Constructor Summary |
TestEvent(java.lang.String eventMessage)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TestEvent
public TestEvent(java.lang.String eventMessage)
getEventMessage
public java.lang.String getEventMessage()
- Read the message
- Returns:
- The message stored
setEventMessage
public void setEventMessage(java.lang.String eventMessage)
- Write the message
- Parameters:
eventMessage
- The message to write