Class EventType

java.lang.Object
jadex.rules.eca.EventType

public class EventType extends Object
Event type that consists of concatenated strings.
  • Field Details

  • Constructor Details

    • EventType

      public EventType(String... types)
      Create an event type from a string.
    • EventType

      public EventType()
      Create an event type.
  • Method Details

    • getTypes

      public String[] getTypes()
      Get the types.
      Returns:
      The types.
    • getType

      public String getType(int i)
      Get the type.
      Returns:
      The type.
    • setTypes

      public void setTypes(String[] types)
      Set the types.
      Parameters:
      types - The types to set.
    • hashCode

      public int hashCode()
      Get the hashcode.
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Test if equals to another object.
      Overrides:
      equals in class Object
    • toString

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