Class Event

java.lang.Object
jadex.micro.messagequeue.Event

public class Event extends Object
Simple message struct.
  • Field Details

    • type

      protected String type
      The type.
    • value

      protected Object value
      The value.
    • source

      protected jadex.core.ComponentIdentifier source
      The source.
  • Constructor Details

    • Event

      public Event()
      Create a new event.
    • Event

      public Event(String type, Object value, jadex.core.ComponentIdentifier source)
      Create a new event.
  • Method Details

    • getType

      public String getType()
      Get the type.
      Returns:
      The type.
    • setType

      public void setType(String type)
      Set the type.
      Parameters:
      type - The type to set.
    • getValue

      public Object getValue()
      Get the value.
      Returns:
      The value.
    • setValue

      public void setValue(Object value)
      Set the value.
      Parameters:
      value - The value to set.
    • getSource

      public jadex.core.ComponentIdentifier getSource()
      Get the source.
      Returns:
      The source.
    • setSource

      public void setSource(jadex.core.ComponentIdentifier source)
      Set the source.
      Parameters:
      source - The source to set.
    • toString

      public String toString()
      Get the string representation.
      Overrides:
      toString in class Object