Class Event
- java.lang.Object
- 
- jadex.micro.examples.messagequeue.Event
 
- 
 public class Event extends java.lang.ObjectSimple message struct.
- 
- 
Field SummaryFields Modifier and Type Field Description protected IComponentIdentifiersourceThe source.protected java.lang.StringtypeThe type.protected java.lang.ObjectvalueThe value.
 - 
Constructor SummaryConstructors Constructor Description Event()Create a new event.Event(java.lang.String type, java.lang.Object value, IComponentIdentifier source)Create a new event.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description IComponentIdentifiergetSource()Get the source.java.lang.StringgetType()Get the type.java.lang.ObjectgetValue()Get the value.voidsetSource(IComponentIdentifier source)Set the source.voidsetType(java.lang.String type)Set the type.voidsetValue(java.lang.Object value)Set the value.java.lang.StringtoString()Get the string representation.
 
- 
- 
- 
Field Detail- 
typeprotected java.lang.String type The type.
 - 
valueprotected java.lang.Object value The value.
 - 
sourceprotected IComponentIdentifier source The source.
 
- 
 - 
Constructor Detail- 
Eventpublic Event() Create a new event.
 - 
Eventpublic Event(java.lang.String type, java.lang.Object value, IComponentIdentifier source)Create a new event.
 
- 
 - 
Method Detail- 
getTypepublic java.lang.String getType() Get the type.- Returns:
- The type.
 
 - 
setTypepublic void setType(java.lang.String type) Set the type.- Parameters:
- type- The type to set.
 
 - 
getValuepublic java.lang.Object getValue() Get the value.- Returns:
- The value.
 
 - 
setValuepublic void setValue(java.lang.Object value) Set the value.- Parameters:
- value- The value to set.
 
 - 
getSourcepublic IComponentIdentifier getSource() Get the source.- Returns:
- The source.
 
 - 
setSourcepublic void setSource(IComponentIdentifier source) Set the source.- Parameters:
- source- The source to set.
 
 - 
toStringpublic java.lang.String toString() Get the string representation.- Overrides:
- toStringin class- java.lang.Object
 
 
- 
 
-