jasi.airtraffic.model
Class LandEvent

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.airtraffic.model.LandEvent
All Implemented Interfaces:
Event, SimObject, ExtendedComparable<Event>, SimValue, java.io.Serializable, java.lang.Comparable<Event>

public class LandEvent
extends AbstractEventBean

An event for landing an airplane.

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface jasi.sim.basic.event.Event
COMPARATOR, DEFAULT_PRIORITY
 
Constructor Summary
LandEvent(Time time)
          Constructor for Events.
LandEvent(Time time, int priority)
          Constructor for Events.
 
Method Summary
 Id getAirplane()
          Get the event's airplane.
 Id getAirport()
          Get the event's airport.
 void setAirplane(Id airplane)
          Set the event's airplane.
 void setAirport(Id airport)
          Set the event's airport.
 java.lang.String toString()
          Returns a string representation of this object.
 
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
 
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

LandEvent

public LandEvent(Time time,
                 int priority)
Constructor for Events.

Parameters:
time - The event's time.
priority - The event's priority.

LandEvent

public LandEvent(Time time)
Constructor for Events.

Parameters:
time - The event's time.
Method Detail

toString

public java.lang.String toString()
Returns a string representation of this object.

Overrides:
toString in class AbstractEventBean
Returns:
The string.

getAirplane

public Id getAirplane()
Get the event's airplane.

Returns:
The airplane.

setAirplane

public void setAirplane(Id airplane)
Set the event's airplane.

Parameters:
airplane - The airplane.

getAirport

public Id getAirport()
Get the event's airport.

Returns:
The airport.

setAirport

public void setAirport(Id airport)
Set the event's airport.

Parameters:
airport - The airport.