Class TriggerEvent
- java.lang.Object
-
- org.goplanit.utils.id.IdAbleImpl
-
- org.goplanit.utils.event.EventImpl
-
- org.goplanit.assignment.ltm.eltm.event.CumulativeEvent
-
- org.goplanit.assignment.ltm.eltm.event.TriggerEvent
-
- All Implemented Interfaces:
Cloneable,Comparable<IdAble>,Event,IdAble
- Direct Known Subclasses:
TriggerFlowEvent
public abstract class TriggerEvent extends CumulativeEvent
A trigger event emanates from a link boundary (its source) with a particular cumulative value and time and potentially other information which should be constructed by subclassing this class- Author:
- markr
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedTriggerEvent(EventType type, LinkSegmentBoundary linkBoundarySource, CumulativePoint cumulativePoint, Serializable singleParameter)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LinkSegmentBoundarygetLinkBoundary()-
Methods inherited from class org.goplanit.assignment.ltm.eltm.event.CumulativeEvent
generateEventId, getCumulativePoint, getEventContentByIndex, getId, setEventContentByIndex
-
Methods inherited from class org.goplanit.utils.event.EventImpl
clone, getContent, getSource, getType, toString
-
Methods inherited from class org.goplanit.utils.id.IdAbleImpl
equals, generateAndSetId, generateId, hashCode, setId
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.goplanit.utils.id.IdAble
compareTo, idEquals, idHashCode
-
-
-
-
Constructor Detail
-
TriggerEvent
protected TriggerEvent(EventType type, LinkSegmentBoundary linkBoundarySource, CumulativePoint cumulativePoint, Serializable singleParameter)
Constructor- Parameters:
type- the trigger event typelinkBoundarySource- , the source of each trigger is a link boundarycumulativePoint- the cumulative reference pointsingleParameter- additional parameter
-
-
Method Detail
-
getLinkBoundary
public LinkSegmentBoundary getLinkBoundary()
- Returns:
- the link boundary this event emanates from, i.e., the source
-
-