com.xtravelsystem.online.published.V1_0RC1.common.answers
Class PingRS

java.lang.Object
  extended by com.xtravelsystem.online.published.V1_0RC1.common.answers.PingRS

public class PingRS
extends java.lang.Object

holder for the ping method response. Just says a little more than hello...

Author:
Miguel Pérez

Constructor Summary
PingRS()
           
PingRS(java.lang.String systemStatus, java.util.Date systemDate, java.lang.String agencyStatus)
           
 
Method Summary
 java.lang.String getAgencyStatus()
          how are you?
 java.lang.String[] getEnabledServices()
          array of enabled services codes (HT for hotel, RC for rentacar, EX for excursion, TR for transfer)
 java.util.Date getSystemDate()
          the date at our servers.
 java.lang.String getSystemStatus()
          the system status.
 void setAgencyStatus(java.lang.String agencyStatus)
          how are you?
 void setEnabledServices(java.lang.String[] enabledServices)
          array of enabled services codes (HT for hotel, RC for rentacar, EX for excursion, TR for transfer)
 void setSystemDate(java.util.Date systemDate)
          the date at our servers.
 void setSystemStatus(java.lang.String systemStatus)
          the system status.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PingRS

public PingRS()

PingRS

public PingRS(java.lang.String systemStatus,
              java.util.Date systemDate,
              java.lang.String agencyStatus)
Method Detail

getAgencyStatus

public java.lang.String getAgencyStatus()
how are you? possible values are:


setAgencyStatus

public void setAgencyStatus(java.lang.String agencyStatus)
how are you? possible values are:


getSystemDate

public java.util.Date getSystemDate()
the date at our servers. Usuful to synchronize with us


setSystemDate

public void setSystemDate(java.util.Date systemDate)
the date at our servers. Usuful to synchronize with us


getSystemStatus

public java.lang.String getSystemStatus()
the system status. The possible values are:


setSystemStatus

public void setSystemStatus(java.lang.String systemStatus)
the system status. The possible values are:


getEnabledServices

public java.lang.String[] getEnabledServices()
array of enabled services codes (HT for hotel, RC for rentacar, EX for excursion, TR for transfer)


setEnabledServices

public void setEnabledServices(java.lang.String[] enabledServices)
array of enabled services codes (HT for hotel, RC for rentacar, EX for excursion, TR for transfer)