Class ReleaseEvent
- 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.ReleaseEvent
-
- All Implemented Interfaces:
Comparable<IdAble>
,Event
,IdAble
- Direct Known Subclasses:
ReleaseFlowEvent
public class ReleaseEvent extends CumulativeEvent
A release event represents the arrival of a trigger event at the opposite link boundary from where it originated. Additional information with this event is to be provided by subclassing it- Author:
- markr
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ReleaseEvent(EventType type, TriggerEvent triggerEvent, CumulativePoint cumulativePoint, Serializable singleParameter)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LinkSegmentBoundary.Location
getLinkBoundaryLocation()
collect the link boundary location of this release event, i.e., the opposite link boundary of its source trigger eventTriggerEvent
getSourceTriggerEvent()
Collect the source trigger event that is the cause of this release event being scheduled-
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
deepClone, getContent, getSource, getType, shallowClone, toString
-
Methods inherited from class org.goplanit.utils.id.IdAbleImpl
equals, generateAndSetId, generateId, hashCode, setId
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.goplanit.utils.id.IdAble
compareTo, idEquals, idHashCode
-
-
-
-
Constructor Detail
-
ReleaseEvent
protected ReleaseEvent(EventType type, TriggerEvent triggerEvent, CumulativePoint cumulativePoint, Serializable singleParameter)
Constructor- Parameters:
type
- the release event typetriggerEvent
- , the source of each release event is a trigger eventcumulativePoint
- the cumulative reference pointsingleParameter
- additional parameter
-
-
Method Detail
-
getSourceTriggerEvent
public TriggerEvent getSourceTriggerEvent()
Collect the source trigger event that is the cause of this release event being scheduled- Returns:
- source trigger event
-
getLinkBoundaryLocation
public LinkSegmentBoundary.Location getLinkBoundaryLocation()
collect the link boundary location of this release event, i.e., the opposite link boundary of its source trigger event- Returns:
- link boundary location
-
-