Package jadex.rules.eca
Class Event
- java.lang.Object
- 
- jadex.rules.eca.Event
 
- 
- 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ObjectgetContent()Get the content.EventTypegetType()Get the type.voidsetContent(java.lang.Object content)Set the content.voidsetType(EventType type)Set the type.java.lang.StringtoString()
 
- 
- 
- 
Field Detail- 
typeprotected EventType type The event type.
 - 
contentprotected java.lang.Object content The event content.
 
- 
 - 
Constructor Detail- 
Eventpublic Event() Create a new Event.
 - 
Eventpublic Event(java.lang.String type, java.lang.Object content)Create a new event.
 - 
Eventpublic Event(EventType type, java.lang.Object content) Create a new event.
 
- 
 - 
Method Detail- 
getTypepublic EventType getType() Get the type.
 - 
setTypepublic void setType(EventType type) Set the type.- Parameters:
- type- The type to set.
 
 - 
getContentpublic java.lang.Object getContent() Get the content.- Specified by:
- getContentin interface- IEvent
- Returns:
- the content.
 
 - 
setContentpublic void setContent(java.lang.Object content) Set the content.- Parameters:
- content- The content to set.
 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Object
 
 
- 
 
-