Package bio.singa.simulation.events
Class UpdatableUpdatedEvent
- java.lang.Object
-
- bio.singa.simulation.events.UpdatableUpdatedEvent
-
public class UpdatableUpdatedEvent extends Object
The Event that is emitted from theNodeEventEmitter, encapsulating a updatable.- Author:
- cl
-
-
Constructor Summary
Constructors Constructor Description UpdatableUpdatedEvent(javax.measure.Quantity<javax.measure.quantity.Time> time, Updatable updatable)Creates a new NodeUpdatedEvent.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.measure.Quantity<javax.measure.quantity.Time>getTime()Returns the time the event was emitted.UpdatablegetUpdatable()Returns the updatable
-
-
-
Constructor Detail
-
UpdatableUpdatedEvent
public UpdatableUpdatedEvent(javax.measure.Quantity<javax.measure.quantity.Time> time, Updatable updatable)Creates a new NodeUpdatedEvent.- Parameters:
time- The time the event was emitted.updatable- The encapsulated updatable.
-
-
Method Detail
-
getTime
public javax.measure.Quantity<javax.measure.quantity.Time> getTime()
Returns the time the event was emitted.- Returns:
- The time the event was emitted.
-
getUpdatable
public Updatable getUpdatable()
Returns the updatable- Returns:
- The updatable
-
-