|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jasi.airtraffic.defi.FlightBeanFactory
public class FlightBeanFactory
A factory for flights. It will be used by the start events to create flights.
jasi.aitraffic.model.StartEvent#setFlightFactory(jasi.aitraffic.model.FlightFactory)
Constructor Summary | |
---|---|
FlightBeanFactory()
|
Method Summary | |
---|---|
Flight |
createFlight(java.lang.String name,
Airport startAirport,
Time startTime,
Airport landAirport,
Time landTime)
Create a flight. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FlightBeanFactory()
Method Detail |
---|
public Flight createFlight(java.lang.String name, Airport startAirport, Time startTime, Airport landAirport, Time landTime)
createFlight
in interface FlightFactory
name
- The flight's name.startAirport
- The flight's start airport.startTime
- The flight's start time.landAirport
- The flight's landing airport.landTime
- The flight's landing time.
FlightFactory.createFlight(java.lang.String,
jasi.airtraffic.model.Airport, jasi.sim.basic.value.Time,
jasi.airtraffic.model.Airport, jasi.sim.basic.value.Time)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |