Package jadex.rules.eca
Class Event
- java.lang.Object
-
- jadex.rules.eca.Event
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
getContent()
Get the content.EventType
getType()
Get the type.void
setContent(java.lang.Object content)
Set the content.void
setType(EventType type)
Set the type.java.lang.String
toString()
-
-
-
Field Detail
-
type
protected EventType type
The event type.
-
content
protected java.lang.Object content
The event content.
-
-
Constructor Detail
-
Event
public Event()
Create a new Event.
-
Event
public Event(java.lang.String type, java.lang.Object content)
Create a new event.
-
Event
public Event(EventType type, java.lang.Object content)
Create a new event.
-
-
Method Detail
-
getType
public EventType getType()
Get the type.
-
setType
public void setType(EventType type)
Set the type.- Parameters:
type
- The type to set.
-
getContent
public java.lang.Object getContent()
Get the content.- Specified by:
getContent
in interfaceIEvent
- Returns:
- the content.
-
setContent
public void setContent(java.lang.Object content)
Set the content.- Parameters:
content
- The content to set.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-