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.Stringcreatorthe agent that generated this event (e.g.: Jomi)protected java.util.DateendTimethe time the event has finishedprotected java.util.DateinitTimethe time the event has startedprivate static longserialVersionUID -
Constructor Summary
-
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 initTimethe time the event has started -
endTime
protected java.util.Date endTimethe time the event has finished -
creator
protected java.lang.String creatorthe 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 startedag- 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
-