com.xtravelsystem.online.published.V1_0RC1.rentACar.answers
Class GetReservationRS

java.lang.Object
  extended by com.xtravelsystem.online.published.V1_0RC1.common.AbstractGetReservationRS
      extended by com.xtravelsystem.online.published.V1_0RC1.rentACar.answers.GetReservationRS
Direct Known Subclasses:
CallerModificationRS, CancelRS, CheckinModificationRS, CheckoutModificationRS, ConfirmRS, DriverModificationRS, RentACarBooking, ServicesModificationRS

public class GetReservationRS
extends AbstractGetReservationRS

holder for the getreservation method request. Please note it extends the AbstractGetReservationRS class

Author:
Miguel Pérez

Field Summary
 
Fields inherited from class com.xtravelsystem.online.published.V1_0RC1.common.AbstractGetReservationRS
SERVICE_STATUS_CONFIRMED, SERVICE_STATUS_OK, SERVICE_VISIBLE_STATUS_CANCEL, SERVICE_VISIBLE_STATUS_CLOSED, SERVICE_VISIBLE_STATUS_OPEN, SERVICE_VISIBLE_STATUS_PSEUD_CANCEL
 
Constructor Summary
GetReservationRS()
           
 
Method Summary
 void fromBooking(PersistenceManager pm, RentACarBooking booking)
           
 CarDetails getCarInfo()
          car details
 CheckDetails getCheckin()
          where and when to get the car
 CheckDetails getCheckout()
          where and when to return the car
 Driver getDriver()
          driver data
 void setCarInfo(CarDetails carInfo)
          car details
 void setCheckin(CheckDetails checkin)
          where and when to get the car
 void setCheckout(CheckDetails checkout)
          where and when to return the car
 void setDriver(Driver driver)
          driver data
 
Methods inherited from class com.xtravelsystem.online.published.V1_0RC1.common.AbstractGetReservationRS
addComments, convertComment, getBasket, getCancellationDate, getCancellationTerms, getComments, getCommision, getContractId, getDescription, getHandlingFees, getInitialDate, getOkDate, getPointOfSaleId, getPositionInBasket, getRequestDate, getServiceId, getStatus, getTotal, getUserId, getValuationLines, getVoucherUrl, setBasket, setCancellationDate, setCancellationTerms, setComments, setComments, setCommision, setContractId, setDescription, setHandlingFees, setOkDate, setPointOfSaleId, setPositionInBasket, setRequestDate, setServiceId, setStatus, setTotal, setUserId, setValuationLines, setVoucherUrl, setWorkflowProcessed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GetReservationRS

public GetReservationRS()
Method Detail

getCarInfo

public CarDetails getCarInfo()
car details


setCarInfo

public void setCarInfo(CarDetails carInfo)
car details


getCheckin

public CheckDetails getCheckin()
where and when to get the car


setCheckin

public void setCheckin(CheckDetails checkin)
where and when to get the car


getCheckout

public CheckDetails getCheckout()
where and when to return the car


setCheckout

public void setCheckout(CheckDetails checkout)
where and when to return the car


getDriver

public Driver getDriver()
driver data


setDriver

public void setDriver(Driver driver)
driver data


fromBooking

public void fromBooking(PersistenceManager pm,
                        RentACarBooking booking)