|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--vo.ReservationValue
Contains the data of a flight reservation. (This is a value object - the value object design pattern is used to facilitante data transfers between objects and minimize the amount of data transferred.)
Constructor Summary | |
ReservationValue()
|
Method Summary | |
String |
getBookingPassenger()
Returns the bookingPasssenger. |
CreditCardValue |
getCcVo()
|
Date |
getDepartDate()
Returns the departDate. |
FlightValue |
getDepartingFlight()
Returns the departingFlight. |
Date |
getExpirationDate()
Returns the ExpirationDate. |
Integer |
getInvoiceId()
Returns the invoiceId. |
Vector |
getPassengers()
Returns the Vector of String objects with passenger names. |
int |
getReservationId()
Returns the reservation ID. |
Date |
getReturnDate()
Returns the returnDate. |
FlightValue |
getReturningFlight()
Returns the returningFlight. |
boolean |
isTwoWay()
Returns the isTwoWay. |
void |
setBookingPasssenger(String bookingPassenger)
Sets the bookingPasssenger. |
void |
setCcVo(CreditCardValue ccVo)
|
void |
setDepartDate(Date departDate)
Sets the departDate. |
void |
setDepartingFlight(FlightValue departingFlight)
Sets the departingFlight. |
void |
setExpirationDate(Date expirationDate)
Sets the Expiration date of the reservation. |
void |
setInvoiceId(Integer invoiceId)
Sets the invoice ID. |
void |
setIsTwoWay(boolean isTwoWay)
Sets the isTwoWay. |
void |
setPassengers(Vector passengers)
Sets the Vector of String objects with passenger names. |
void |
setReservationId(int reservationId)
Sets the reservation ID. |
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 ReservationValue()
Method Detail |
public int getReservationId()
public FlightValue getDepartingFlight()
public FlightValue getReturningFlight()
public Date getDepartDate()
public Date getReturnDate()
public boolean isTwoWay()
public String getBookingPassenger()
public CreditCardValue getCcVo()
public Vector getPassengers()
public Date getExpirationDate()
public Integer getInvoiceId()
public void setReservationId(int reservationId)
public void setDepartingFlight(FlightValue departingFlight)
departingFlight
- The departingFlight to setpublic void setReturningFlight(FlightValue returningFlight)
returningFlight
- The returningFlight to setpublic void setDepartDate(Date departDate)
departDate
- The departDate to setpublic void setReturnDate(Date returnDate)
returnDate
- The returnDate to setpublic void setIsTwoWay(boolean isTwoWay)
isTwoWay
- The isTwoWay to setpublic void setBookingPasssenger(String bookingPassenger)
String
- The bookingPasssenger to setpublic void setCcVo(CreditCardValue ccVo)
public void setPassengers(Vector passengers)
passengers
- Vecotr of 0 to 6 String objects with passenger namespublic void setExpirationDate(Date expirationDate)
Expiration
- date or null if tickets were already purchased.public void setInvoiceId(Integer invoiceId)
invoiceId
- Integer object with invoice ID or null if
tickets not purchased yet.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |