|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjasi.sim.basic.value.AbstractSimValueType
jasi.sim.basic.value.AbstractComparableObject<Event>
jasi.sim.basic.event.AbstractEventBean
jasi.airtraffic.model.StartEvent
public class StartEvent
An event to start an airplane and create a flight.
| Field Summary |
|---|
| Fields inherited from interface jasi.sim.basic.event.Event |
|---|
COMPARATOR, DEFAULT_PRIORITY |
| Constructor Summary | |
|---|---|
StartEvent(Time time)
Constructor for Events. |
|
StartEvent(Time time,
int priority)
Constructor for Events. |
|
| Method Summary | |
|---|---|
Id |
getAirplane()
Get the event's airplane. |
java.lang.String |
getFlightName()
Get the name attribute. |
Id |
getLandAirport()
Get the event's airport where to land. |
Speed |
getSpeed()
Get the speed attribute. |
Id |
getStartAirport()
Get the event's airport where to start. |
void |
setAirplane(Id airplane)
Set the event's airplane. |
static void |
setFlightFactory(FlightFactory factory)
Add a factory for flights. |
void |
setFlightName(java.lang.String flightName)
Set the flight name attribute. |
void |
setLandAirport(Id landAirport)
Set the event's airport where to land. |
void |
setSpeed(Speed speed)
Set the speed attribute. |
void |
setStartAirport(Id startAirport)
Set the event's airport where to start. |
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 |
|---|
public StartEvent(Time time,
int priority)
time - The event's time.priority - The event's priority.public StartEvent(Time time)
time - The event's time.| Method Detail |
|---|
public static void setFlightFactory(FlightFactory factory)
factory - The factory.public java.lang.String toString()
toString in class AbstractEventBeanpublic void setFlightName(java.lang.String flightName)
flightName - The new value of the attribute.public java.lang.String getFlightName()
public Id getAirplane()
public void setAirplane(Id airplane)
airplane - The airplane.public final Id getStartAirport()
public void setStartAirport(Id startAirport)
startAirport - The airport.public Id getLandAirport()
public void setLandAirport(Id landAirport)
landAirport - The airport.public Speed getSpeed()
public void setSpeed(Speed speed)
speed - The new value of the attribute.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||