jasi.sim.user.model.move
Class StopMovementEvent

java.lang.Object
  extended by jasi.sim.basic.value.AbstractSimValueType
      extended by jasi.sim.basic.value.AbstractComparableObject<Event>
          extended by jasi.sim.basic.event.AbstractEventBean
              extended by jasi.sim.user.model.move.StopMovementEvent
All Implemented Interfaces:
Event, SimObject, ExtendedComparable<Event>, SimValue, java.io.Serializable, java.lang.Comparable<Event>

public class StopMovementEvent
extends AbstractEventBean

Change the movement of a simulation element.

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface jasi.sim.basic.event.Event
COMPARATOR, DEFAULT_PRIORITY
 
Constructor Summary
StopMovementEvent(Movable element, Time time)
          Constructor of a next location element.
StopMovementEvent(Movable element, Time time, int priority)
          Constructor of a next location element.
StopMovementEvent(Time time, int priority)
          Constructor of a next location element for archive.
 
Method Summary
 Id getElement()
          Get the event's element.
 void setElement(Id element)
          Set the event's element.
 
Methods inherited from class jasi.sim.basic.event.AbstractEventBean
addEventListener, calendar, compareTo, equals, getEventListeners, getId, getPriority, getTime, hashCode, imported, inform, isInitialized, isPopped, isPushed, popped, pushed, removeEventListener, setId, setPriority, setTime, toString
 
Methods inherited from class jasi.sim.basic.value.AbstractComparableObject
isEQ, isGE, isGT, isLE, isLT, isNE
 
Methods inherited from class jasi.sim.basic.value.AbstractSimValueType
getContent
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface jasi.sim.basic.value.ExtendedComparable
isEQ, isGE, isGT, isLE, isLT, isNE
 

Constructor Detail

StopMovementEvent

public StopMovementEvent(Time time,
                         int priority)
Constructor of a next location element for archive.

Parameters:
time - The time for the first track point.
priority - The event's priority.

StopMovementEvent

public StopMovementEvent(Movable element,
                         Time time,
                         int priority)
Constructor of a next location element.

Parameters:
element - The moving element.
time - The time for the first track point.
priority - The event's priority.

StopMovementEvent

public StopMovementEvent(Movable element,
                         Time time)
Constructor of a next location element.

Parameters:
element - The moving element.
time - The time for the first track point.
Method Detail

getElement

public Id getElement()
Get the event's element.

Returns:
The event element.

setElement

public void setElement(Id element)
Set the event's element.

Parameters:
element - The event element.