uk.ac.standrews.cs.nds.eventModel
Class TimeStampedEvent

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap<java.lang.String,java.lang.Object>
          extended by uk.ac.standrews.cs.nds.eventModel.Event
              extended by uk.ac.standrews.cs.nds.eventModel.TimeStampedEvent
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.util.Map<java.lang.String,java.lang.Object>, IEvent, ITimeStampedEvent

public class TimeStampedEvent
extends Event
implements ITimeStampedEvent

Extends event to store a event-creation-time-stamp

Author:
markus
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface java.util.Map
java.util.Map.Entry<K,V>
 
Constructor Summary
TimeStampedEvent(java.lang.String type)
          Creates a new time stamped event.
 
Method Summary
 long getEventCreationTime()
           
 
Methods inherited from class uk.ac.standrews.cs.nds.eventModel.Event
equals, getType, toString
 
Methods inherited from class java.util.HashMap
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
hashCode
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface uk.ac.standrews.cs.nds.eventModel.IEvent
getType
 
Methods inherited from interface java.util.Map
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values
 

Constructor Detail

TimeStampedEvent

public TimeStampedEvent(java.lang.String type)
Creates a new time stamped event.

Parameters:
type - the type of the event
Method Detail

getEventCreationTime

public long getEventCreationTime()
Specified by:
getEventCreationTime in interface ITimeStampedEvent
Returns:
the creation time of the event (java time stamp [ms])