com.xtravelsystem.online.published.V1_0RC1.common
Class AbstractGetReservationRS

java.lang.Object
  extended by com.xtravelsystem.online.published.V1_0RC1.common.AbstractGetReservationRS
Direct Known Subclasses:
GetReservationRS, GetReservationRS, GetReservationRS, GetReservationRSBase, GetTransferReservationRS

public class AbstractGetReservationRS
extends java.lang.Object

this class is the mother of all the getreservation methods responses. Here you will find all the fields shared by all the getreservation method responses

Author:
Miguel Pérez

Field Summary
static java.lang.String SERVICE_STATUS_CONFIRMED
           
static java.lang.String SERVICE_STATUS_OK
           
static java.lang.String SERVICE_VISIBLE_STATUS_CANCEL
           
static java.lang.String SERVICE_VISIBLE_STATUS_CLOSED
           
static java.lang.String SERVICE_VISIBLE_STATUS_OPEN
           
static java.lang.String SERVICE_VISIBLE_STATUS_PSEUD_CANCEL
           
 
Constructor Summary
AbstractGetReservationRS()
           
AbstractGetReservationRS(Basket basket, java.lang.String serviceId, java.lang.String userId, java.util.Date requestDate, java.util.Date okDate, java.util.Date cancellationDate, java.lang.String status, ValuationLine[] valuationLines, com.jumbotours.disponibility.Amount total, CancellationTerm[] cancellationTerms, Comment[] comments)
           
 
Method Summary
 void addComments(java.util.Collection<Comment> comments)
           
 Comment convertComment(com.jumbotours.model.common.Comment pComment)
           
 Basket getBasket()
           
 java.util.Date getCancellationDate()
           
 CancellationTerm[] getCancellationTerms()
           
 Comment[] getComments()
           
 Commision getCommision()
           
 java.lang.String getContractId()
           
 java.lang.String getDescription()
           
 HandlingFee[] getHandlingFees()
           
 java.util.Date getInitialDate()
           
 java.util.Date getOkDate()
           
 java.lang.String getPointOfSaleId()
           
 int getPositionInBasket()
           
 java.util.Date getRequestDate()
           
 java.lang.String getServiceId()
           
 java.lang.String getStatus()
           
 com.jumbotours.disponibility.Amount getTotal()
           
 java.lang.String getUserId()
           
 ValuationLine[] getValuationLines()
           
 java.lang.String getVoucherUrl()
           
 void setBasket(Basket basket)
           
 void setCancellationDate(java.util.Date cancellationDate)
           
 void setCancellationTerms(CancellationTerm[] cancellationTerms)
           
protected  void setComments(AbstractServiceBooking pBooking)
           
 void setComments(Comment[] comments)
           
 void setCommision(Commision commision)
           
 void setContractId(java.lang.String contractId)
           
 void setDescription(java.lang.String description)
           
 void setHandlingFees(HandlingFee[] handlingFees)
           
 void setOkDate(java.util.Date okDate)
           
 void setPointOfSaleId(java.lang.String pointOfSaleId)
           
 void setPositionInBasket(int positionInBasket)
           
 void setRequestDate(java.util.Date requestDate)
           
 void setServiceId(java.lang.String serviceId)
           
 void setStatus(java.lang.String status)
           
 void setTotal(com.jumbotours.disponibility.Amount total)
           
 void setUserId(java.lang.String userId)
           
 void setValuationLines(ValuationLine[] valuationLines)
           
 void setVoucherUrl(java.lang.String voucherUrl)
           
 void setWorkflowProcessed(boolean workflowProcessed)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SERVICE_STATUS_OK

public static final java.lang.String SERVICE_STATUS_OK
See Also:
Constant Field Values

SERVICE_STATUS_CONFIRMED

public static final java.lang.String SERVICE_STATUS_CONFIRMED
See Also:
Constant Field Values

SERVICE_VISIBLE_STATUS_CLOSED

public static final java.lang.String SERVICE_VISIBLE_STATUS_CLOSED
See Also:
Constant Field Values

SERVICE_VISIBLE_STATUS_OPEN

public static final java.lang.String SERVICE_VISIBLE_STATUS_OPEN
See Also:
Constant Field Values

SERVICE_VISIBLE_STATUS_CANCEL

public static final java.lang.String SERVICE_VISIBLE_STATUS_CANCEL
See Also:
Constant Field Values

SERVICE_VISIBLE_STATUS_PSEUD_CANCEL

public static final java.lang.String SERVICE_VISIBLE_STATUS_PSEUD_CANCEL
See Also:
Constant Field Values
Constructor Detail

AbstractGetReservationRS

public AbstractGetReservationRS()

AbstractGetReservationRS

public AbstractGetReservationRS(Basket basket,
                                java.lang.String serviceId,
                                java.lang.String userId,
                                java.util.Date requestDate,
                                java.util.Date okDate,
                                java.util.Date cancellationDate,
                                java.lang.String status,
                                ValuationLine[] valuationLines,
                                com.jumbotours.disponibility.Amount total,
                                CancellationTerm[] cancellationTerms,
                                Comment[] comments)
Method Detail

setWorkflowProcessed

public void setWorkflowProcessed(boolean workflowProcessed)

getBasket

public Basket getBasket()

setBasket

public void setBasket(Basket basket)

getServiceId

public java.lang.String getServiceId()

setServiceId

public void setServiceId(java.lang.String serviceId)

getCancellationDate

public java.util.Date getCancellationDate()

setCancellationDate

public void setCancellationDate(java.util.Date cancellationDate)

getCancellationTerms

public CancellationTerm[] getCancellationTerms()

setCancellationTerms

public void setCancellationTerms(CancellationTerm[] cancellationTerms)

getComments

public Comment[] getComments()

setComments

public void setComments(Comment[] comments)

getVoucherUrl

public java.lang.String getVoucherUrl()

setVoucherUrl

public void setVoucherUrl(java.lang.String voucherUrl)

getOkDate

public java.util.Date getOkDate()

setOkDate

public void setOkDate(java.util.Date okDate)

getRequestDate

public java.util.Date getRequestDate()

setRequestDate

public void setRequestDate(java.util.Date requestDate)

getStatus

public java.lang.String getStatus()

setStatus

public void setStatus(java.lang.String status)

getTotal

public com.jumbotours.disponibility.Amount getTotal()

setTotal

public void setTotal(com.jumbotours.disponibility.Amount total)

getUserId

public java.lang.String getUserId()

setUserId

public void setUserId(java.lang.String userId)

getValuationLines

public ValuationLine[] getValuationLines()

setValuationLines

public void setValuationLines(ValuationLine[] valuationLines)

getDescription

public java.lang.String getDescription()

setDescription

public void setDescription(java.lang.String description)

getContractId

public java.lang.String getContractId()

setContractId

public void setContractId(java.lang.String contractId)

getPointOfSaleId

public java.lang.String getPointOfSaleId()

setPointOfSaleId

public void setPointOfSaleId(java.lang.String pointOfSaleId)

getCommision

public Commision getCommision()

setCommision

public void setCommision(Commision commision)

getHandlingFees

public HandlingFee[] getHandlingFees()

setHandlingFees

public void setHandlingFees(HandlingFee[] handlingFees)

getPositionInBasket

public int getPositionInBasket()

setPositionInBasket

public void setPositionInBasket(int positionInBasket)

getInitialDate

public java.util.Date getInitialDate()

setComments

protected void setComments(AbstractServiceBooking pBooking)

convertComment

public Comment convertComment(com.jumbotours.model.common.Comment pComment)

addComments

public void addComments(java.util.Collection<Comment> comments)