|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectscheduler.TravelConstraints
A class describing the travel constraints.
Field Summary | |
java.util.Date |
dateLimit
A time limit. |
boolean |
fIsLimitDeparture
Indicates whether the limit date is a limit for the departure (if true) or for the arrival (otherwise). |
boolean |
isAirplaneAllowed
Indicates whether the airplane is an allowed mean of transportation. |
boolean |
isBusAllowed
Indicates whether the bus is an allowed mean of transportation. |
boolean |
isShipAllowed
Indicates whether the ship is an allowed mean of transportation. |
boolean |
isTaxiAllowed
Indicates whether the taxi is an allowed mean of transportation. |
boolean |
isTrainAllowed
Indicates whether the train is an allowed mean of transportation. |
int |
maxChangesCount
Defines a maximal number of changes during the travel. |
int |
maxChangeTime
Defines the maximal time of change (in minutes). |
int |
minChangeTime
Defines the minimal time of change (in minutes). |
int |
timeBeforeCruise
Defines the time (in minutes) one need to be before a cruise at the harbour. |
int |
timeBeforeFlight
Defines the time (in minutes) one need to be before a flight at the airport. |
Constructor Summary | |
TravelConstraints()
Constructor. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public boolean fIsLimitDeparture
public java.util.Date dateLimit
public boolean isTaxiAllowed
public boolean isTrainAllowed
public boolean isBusAllowed
public boolean isAirplaneAllowed
public boolean isShipAllowed
public int maxChangesCount
public int minChangeTime
public int maxChangeTime
public int timeBeforeFlight
public int timeBeforeCruise
Constructor Detail |
public TravelConstraints()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |