org.ota.shared
Class Source

java.lang.Object
  extended by org.ota.shared.Source
Direct Known Subclasses:
BookingHistoryRS.HistoryInfos.HistoryInfo

public class Source
extends java.lang.Object

Provides information on the source of a request. Schema fragment(s) for this class:

 <xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="SourceType">
   <xs:sequence>
     <xs:element name="RequestorID" minOccurs="0">
       <!-- Reference to inner class RequestorID -->
     </xs:element>
     <xs:element name="Position" minOccurs="0">
       <xs:complexType>
         <xs:attributeGroup ref="ns:PositionGroup"/>
       </xs:complexType>
     </xs:element>
     <xs:element name="BookingChannel" minOccurs="0">
       <!-- Reference to inner class BookingChannel -->
     </xs:element>
   </xs:sequence>
   <xs:attribute type="xs:string" use="optional" name="AgentSine"/>
   <xs:attribute type="xs:string" use="optional" name="PseudoCityCode"/>
   <xs:attribute type="xs:string" use="optional" name="ISOCountry"/>
   <xs:attribute type="xs:string" use="optional" name="ISOCurrency"/>
   <xs:attribute type="xs:string" use="optional" name="AgentDutyCode"/>
   <xs:attribute type="xs:string" use="optional" name="AirlineVendorID"/>
   <xs:attribute type="xs:string" use="optional" name="AirportCode"/>
   <xs:attribute type="xs:string" use="optional" name="FirstDepartPoint"/>
   <xs:attribute type="xs:string" use="optional" name="ERSP_UserID"/>
   <xs:attribute type="xs:string" use="optional" name="TerminalID"/>
 </xs:complexType>
 


Nested Class Summary
static class Source.BookingChannel
          Specifies the booking channel type and whether it is the primary means of connectivity of the source.
static class Source.RequestorID
          An identifier of the entity making the request (e.g.
 
Constructor Summary
Source()
           
 
Method Summary
 java.lang.String getAgentDutyCode()
          Get the 'AgentDutyCode' attribute value.
 java.lang.String getAgentSine()
          Get the 'AgentSine' attribute value.
 java.lang.String getAirlineVendorID()
          Get the 'AirlineVendorID' attribute value.
 java.lang.String getAirportCode()
          Get the 'AirportCode' attribute value.
 Source.BookingChannel getBookingChannel()
          Get the 'BookingChannel' element value.
 java.lang.String getERSPUserID()
          Get the 'ERSP_UserID' attribute value.
 java.lang.String getFirstDepartPoint()
          Get the 'FirstDepartPoint' attribute value.
 java.lang.String getISOCountry()
          Get the 'ISOCountry' attribute value.
 java.lang.String getISOCurrency()
          Get the 'ISOCurrency' attribute value.
 PositionGroup getPosition()
          Get the 'PositionGroup' attributeGroup value.
 java.lang.String getPseudoCityCode()
          Get the 'PseudoCityCode' attribute value.
 Source.RequestorID getRequestorID()
          Get the 'RequestorID' element value.
 java.lang.String getTerminalID()
          Get the 'TerminalID' attribute value.
 void setAgentDutyCode(java.lang.String agentDutyCode)
          Set the 'AgentDutyCode' attribute value.
 void setAgentSine(java.lang.String agentSine)
          Set the 'AgentSine' attribute value.
 void setAirlineVendorID(java.lang.String airlineVendorID)
          Set the 'AirlineVendorID' attribute value.
 void setAirportCode(java.lang.String airportCode)
          Set the 'AirportCode' attribute value.
 void setBookingChannel(Source.BookingChannel bookingChannel)
          Set the 'BookingChannel' element value.
 void setERSPUserID(java.lang.String ERSPUserID)
          Set the 'ERSP_UserID' attribute value.
 void setFirstDepartPoint(java.lang.String firstDepartPoint)
          Set the 'FirstDepartPoint' attribute value.
 void setISOCountry(java.lang.String ISOCountry)
          Set the 'ISOCountry' attribute value.
 void setISOCurrency(java.lang.String ISOCurrency)
          Set the 'ISOCurrency' attribute value.
 void setPosition(PositionGroup position)
          Set the 'PositionGroup' attributeGroup value.
 void setPseudoCityCode(java.lang.String pseudoCityCode)
          Set the 'PseudoCityCode' attribute value.
 void setRequestorID(Source.RequestorID requestorID)
          Set the 'RequestorID' element value.
 void setTerminalID(java.lang.String terminalID)
          Set the 'TerminalID' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Source

public Source()
Method Detail

getRequestorID

public Source.RequestorID getRequestorID()
Get the 'RequestorID' element value.

Returns:
value

setRequestorID

public void setRequestorID(Source.RequestorID requestorID)
Set the 'RequestorID' element value.

Parameters:
requestorID -

getPosition

public PositionGroup getPosition()
Get the 'PositionGroup' attributeGroup value. Used to specify the geographic coordinates of the source of the request.

Returns:
value

setPosition

public void setPosition(PositionGroup position)
Set the 'PositionGroup' attributeGroup value. Used to specify the geographic coordinates of the source of the request.

Parameters:
position -

getBookingChannel

public Source.BookingChannel getBookingChannel()
Get the 'BookingChannel' element value.

Returns:
value

setBookingChannel

public void setBookingChannel(Source.BookingChannel bookingChannel)
Set the 'BookingChannel' element value.

Parameters:
bookingChannel -

getAgentSine

public java.lang.String getAgentSine()
Get the 'AgentSine' attribute value. Identifies the party within the requesting entity.

Returns:
value

setAgentSine

public void setAgentSine(java.lang.String agentSine)
Set the 'AgentSine' attribute value. Identifies the party within the requesting entity.

Parameters:
agentSine -

getPseudoCityCode

public java.lang.String getPseudoCityCode()
Get the 'PseudoCityCode' attribute value. An identification code assigned to an office/agency by a reservation system.

Returns:
value

setPseudoCityCode

public void setPseudoCityCode(java.lang.String pseudoCityCode)
Set the 'PseudoCityCode' attribute value. An identification code assigned to an office/agency by a reservation system.

Parameters:
pseudoCityCode -

getISOCountry

public java.lang.String getISOCountry()
Get the 'ISOCountry' attribute value. The country code of the requesting party.

Returns:
value

setISOCountry

public void setISOCountry(java.lang.String ISOCountry)
Set the 'ISOCountry' attribute value. The country code of the requesting party.

Parameters:
ISOCountry -

getISOCurrency

public java.lang.String getISOCurrency()
Get the 'ISOCurrency' attribute value. The currency code in which the reservation will be ticketed.

Returns:
value

setISOCurrency

public void setISOCurrency(java.lang.String ISOCurrency)
Set the 'ISOCurrency' attribute value. The currency code in which the reservation will be ticketed.

Parameters:
ISOCurrency -

getAgentDutyCode

public java.lang.String getAgentDutyCode()
Get the 'AgentDutyCode' attribute value. An authority code assigned to a requestor.

Returns:
value

setAgentDutyCode

public void setAgentDutyCode(java.lang.String agentDutyCode)
Set the 'AgentDutyCode' attribute value. An authority code assigned to a requestor.

Parameters:
agentDutyCode -

getAirlineVendorID

public java.lang.String getAirlineVendorID()
Get the 'AirlineVendorID' attribute value. The IATA assigned airline code.

Returns:
value

setAirlineVendorID

public void setAirlineVendorID(java.lang.String airlineVendorID)
Set the 'AirlineVendorID' attribute value. The IATA assigned airline code.

Parameters:
airlineVendorID -

getAirportCode

public java.lang.String getAirportCode()
Get the 'AirportCode' attribute value. The IATA assigned airport code.

Returns:
value

setAirportCode

public void setAirportCode(java.lang.String airportCode)
Set the 'AirportCode' attribute value. The IATA assigned airport code.

Parameters:
airportCode -

getFirstDepartPoint

public java.lang.String getFirstDepartPoint()
Get the 'FirstDepartPoint' attribute value. The point of first departure in a trip.

Returns:
value

setFirstDepartPoint

public void setFirstDepartPoint(java.lang.String firstDepartPoint)
Set the 'FirstDepartPoint' attribute value. The point of first departure in a trip.

Parameters:
firstDepartPoint -

getERSPUserID

public java.lang.String getERSPUserID()
Get the 'ERSP_UserID' attribute value. Electronic Reservation Service Provider (ERSP) assigned identifier used to identify the individual using the ERSP system.

Returns:
value

setERSPUserID

public void setERSPUserID(java.lang.String ERSPUserID)
Set the 'ERSP_UserID' attribute value. Electronic Reservation Service Provider (ERSP) assigned identifier used to identify the individual using the ERSP system.

Parameters:
ERSPUserID -

getTerminalID

public java.lang.String getTerminalID()
Get the 'TerminalID' attribute value. This is the electronic address of the device from which information is entered.

Returns:
value

setTerminalID

public void setTerminalID(java.lang.String terminalID)
Set the 'TerminalID' attribute value. This is the electronic address of the device from which information is entered.

Parameters:
terminalID -