|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--common.FlightSelection
The choices made by the customer wrt flights to be reserved.
Constructor Summary | |
FlightSelection()
|
Method Summary | |
String |
getBookingPassenger()
Returns the bookingPasssenger. |
Date |
getDepartDate()
Returns the departDate. |
FlightValue |
getDepartingFlight()
Returns the departingFlight. |
int |
getNumberOfPassengers()
Returns the numberOfPassengers. |
Date |
getReturnDate()
Returns the returnDate. |
FlightValue |
getReturningFlight()
Returns the returningFlight. |
boolean |
isTwoWay()
Returns the isTwoWay. |
boolean |
isValid()
Performs field level validation of the FlighSelection |
void |
setBookingPasssenger(String bookingPassenger)
Sets the bookingPasssenger. |
void |
setDepartDate(Date departDate)
Sets the departDate. |
void |
setDepartingFlight(FlightValue departingFlight)
Sets the departingFlight. |
void |
setIsTwoWay(boolean isTwoWay)
Sets the isTwoWay. |
void |
setNumberOfPassengers(int numberOfPassengers)
Sets the numberOfPassengers. |
void |
setReturnDate(Date returnDate)
Sets the returnDate. |
void |
setReturningFlight(FlightValue returningFlight)
Sets the returningFlight. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FlightSelection()
Method Detail |
public Date getDepartDate()
public FlightValue getDepartingFlight()
public boolean isTwoWay()
public int getNumberOfPassengers()
public Date getReturnDate()
public FlightValue getReturningFlight()
public void setDepartDate(Date departDate)
departDate
- The departDate to setpublic void setDepartingFlight(FlightValue departingFlight)
departingFlight
- The departingFlight to setpublic void setIsTwoWay(boolean isTwoWay)
isTwoWay
- The isTwoWay to setpublic void setNumberOfPassengers(int numberOfPassengers)
numberOfPassengers
- The numberOfPassengers to setpublic void setReturnDate(Date returnDate)
returnDate
- The returnDate to setpublic void setReturningFlight(FlightValue returningFlight)
returningFlight
- The returningFlight to setpublic String getBookingPassenger()
public void setBookingPasssenger(String bookingPassenger)
String
- The bookingPasssenger to setpublic boolean isValid()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |