org.ota.cruise
Class GuestTransportation

java.lang.Object
  extended by org.ota.cruise.GuestTransportation

public class GuestTransportation
extends java.lang.Object

Specifies the guest transportation type. 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="GuestTransportationType">
   <xs:sequence>
     <xs:element type="ns:LocationType" name="GuestCity" minOccurs="0"/>
     <xs:element type="ns:LocationType" name="GatewayCity" minOccurs="0"/>
   </xs:sequence>
   <xs:attribute type="xs:string" use="required" name="Mode"/>
   <xs:attribute type="xs:string" use="optional" name="Status"/>
 </xs:complexType>
 


Constructor Summary
GuestTransportation()
           
 
Method Summary
 Location getGatewayCity()
          Get the 'GatewayCity' element value.
 Location getGuestCity()
          Get the 'GuestCity' element value.
 java.lang.String getMode()
          Get the 'Mode' attribute value.
 java.lang.String getStatus()
          Get the 'Status' attribute value.
 void setGatewayCity(Location gatewayCity)
          Set the 'GatewayCity' element value.
 void setGuestCity(Location guestCity)
          Set the 'GuestCity' element value.
 void setMode(java.lang.String mode)
          Set the 'Mode' attribute value.
 void setStatus(java.lang.String status)
          Set the 'Status' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GuestTransportation

public GuestTransportation()
Method Detail

getGuestCity

public Location getGuestCity()
Get the 'GuestCity' element value. City or closest airport where the guest resides.

Returns:
value

setGuestCity

public void setGuestCity(Location guestCity)
Set the 'GuestCity' element value. City or closest airport where the guest resides.

Parameters:
guestCity -

getGatewayCity

public Location getGatewayCity()
Get the 'GatewayCity' element value. Specifies the gateway city for the cruise line (especially when the mode of transportation is air).

Returns:
value

setGatewayCity

public void setGatewayCity(Location gatewayCity)
Set the 'GatewayCity' element value. Specifies the gateway city for the cruise line (especially when the mode of transportation is air).

Parameters:
gatewayCity -

getMode

public java.lang.String getMode()
Get the 'Mode' attribute value. Transportation mode code. Refer to OpenTravel Code List Transportation Code (TRP).

Returns:
value

setMode

public void setMode(java.lang.String mode)
Set the 'Mode' attribute value. Transportation mode code. Refer to OpenTravel Code List Transportation Code (TRP).

Parameters:
mode -

getStatus

public java.lang.String getStatus()
Get the 'Status' attribute value. Status for the mode of transportation. Refer to OpenTravel Code table Status (STS).

Returns:
value

setStatus

public void setStatus(java.lang.String status)
Set the 'Status' attribute value. Status for the mode of transportation. Refer to OpenTravel Code table Status (STS).

Parameters:
status -