|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--common.FlightOptions
A wrapper that holds the departing and return flight options for a given query.
Constructor Summary | |
FlightOptions(boolean isTwoWay,
int numberOfPassengers,
Date departDate,
Date returnDate)
Constructor for FlightOptions. |
Method Summary | |
Date |
getDepartDate()
Returns the departDate. |
Vector |
getDepartingFlights()
Returns the departingFlights. |
int |
getNumberOfPassengers()
Returns the numberOfPassengers. |
Date |
getReturnDate()
Returns the returnDate. |
Vector |
getReturningFlights()
Returns the returningFlights. |
boolean |
isTwoWay()
Returns the isTwoWay. |
void |
setDepartDate(Date departDate)
Sets the departDate. |
void |
setDepartingFlights(Vector departingFlights)
Sets the departingFlights. |
void |
setIsTwoWay(boolean isTwoWay)
Sets the isTwoWay. |
void |
setNumberOfPassengers(int numberOfPassengers)
Sets the numberOfPassengers. |
void |
setReturnDate(Date returnDate)
Sets the returnDate. |
void |
setReturningFlights(Vector returningFlights)
Sets the returningFlights. |
String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public FlightOptions(boolean isTwoWay, int numberOfPassengers, Date departDate, Date returnDate)
Method Detail |
public Vector getDepartingFlights()
public boolean isTwoWay()
public int getNumberOfPassengers()
public Vector getReturningFlights()
public void setDepartingFlights(Vector departingFlights)
departingFlights
- The departingFlights to setpublic void setIsTwoWay(boolean isTwoWay)
isTwoWay
- The isTwoWay to setpublic void setNumberOfPassengers(int numberOfPassengers)
numberOfPassengers
- The numberOfPassengers to setpublic void setReturningFlights(Vector returningFlights)
returningFlights
- The returningFlights to setpublic Date getDepartDate()
public Date getReturnDate()
public void setDepartDate(Date departDate)
departDate
- The departDate to setpublic void setReturnDate(Date returnDate)
returnDate
- The returnDate to setpublic String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |