Package moise.common

Class Event

java.lang.Object
moise.common.Event
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
OE

public class Event
extends java.lang.Object
implements java.io.Serializable
This class represents an organisational event in an MAS (agent entrance, role adoption, group creation, etc.)
Author:
Jomi Fred Hubner
See Also:
Serialized Form
  • Field Summary

    Fields
    Modifier and Type Field Description
    protected java.lang.String creator
    the agent that generated this event (e.g.: Jomi)
    protected java.util.Date endTime
    the time the event has finished
    protected java.util.Date initTime
    the time the event has started
    private static long serialVersionUID  
  • Constructor Summary

    Constructors
    Constructor Description
    Event()
    Creates new Event object
    Event​(java.util.Date init)
    Creates new Event object
    Event​(java.util.Date init, java.lang.String ag)
    Creates new Event object
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
      Constant Field Values
    • initTime

      protected java.util.Date initTime
      the time the event has started
    • endTime

      protected java.util.Date endTime
      the time the event has finished
    • creator

      protected java.lang.String creator
      the agent that generated this event (e.g.: Jomi)
  • Constructor Details

    • Event

      public Event​(java.util.Date init, java.lang.String ag)
      Creates new Event object
      Parameters:
      init - the time this event has started
      ag - the agent that generated this event
    • Event

      public Event​(java.util.Date init)
      Creates new Event object
      Parameters:
      init - the time this event has started
    • Event

      public Event()
      Creates new Event object