Package ons
Class OrdinaryEvent
java.lang.Object
ons.Event
ons.OrdinaryEvent
public class OrdinaryEvent extends Event
Methods to treat the outgoing of a Flow object.
-
Constructor Summary
Constructors Constructor Description OrdinaryEvent(java.lang.String description)Creates a new OrdinaryEvent object. -
Method Summary
Modifier and Type Method Description java.lang.StringgetDescription()Retrieves the description of the OrdinaryEvent object.java.lang.StringtoString()Prints all information related to the ordinary event.
-
Constructor Details
-
OrdinaryEvent
public OrdinaryEvent(java.lang.String description)Creates a new OrdinaryEvent object.- Parameters:
description- the description of this ordinary event
-
-
Method Details
-
getDescription
public java.lang.String getDescription()Retrieves the description of the OrdinaryEvent object.- Returns:
- the OrdinaryEvent's description attribute
-
toString
public java.lang.String toString()Prints all information related to the ordinary event.- Overrides:
toStringin classjava.lang.Object- Returns:
- string containing all the values of the ordinary event.
-