org.ota.hotel
Class TransportInfo

java.lang.Object
  extended by org.ota.hotel.TransportInfo

public class TransportInfo
extends java.lang.Object

A TransportInfo object is used to indicate transportation information for a guest. 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="TransportInfoType">
   <xs:sequence>
     <xs:element name="TransportInfo">
       <xs:complexType>
         <xs:attribute type="xs:string" use="optional" name="Type"/>
         <xs:attribute type="xs:string" use="optional" name="ID"/>
         <xs:attribute type="xs:string" use="optional" name="LocationCode"/>
         <xs:attribute type="xs:dateTime" use="optional" name="Time"/>
       </xs:complexType>
     </xs:element>
   </xs:sequence>
 </xs:complexType>
 


Constructor Summary
TransportInfo()
           
 
Method Summary
 java.lang.String getTransportInfoID()
          Get the 'ID' attribute value.
 java.lang.String getTransportInfoLocationCode()
          Get the 'LocationCode' attribute value.
 java.util.Date getTransportInfoTime()
          Get the 'Time' attribute value.
 java.lang.String getTransportInfoType()
          Get the 'Type' attribute value.
 void setTransportInfoID(java.lang.String transportInfoID)
          Set the 'ID' attribute value.
 void setTransportInfoLocationCode(java.lang.String transportInfoLocationCode)
          Set the 'LocationCode' attribute value.
 void setTransportInfoTime(java.util.Date transportInfoTime)
          Set the 'Time' attribute value.
 void setTransportInfoType(java.lang.String transportInfoType)
          Set the 'Type' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransportInfo

public TransportInfo()
Method Detail

getTransportInfoType

public java.lang.String getTransportInfoType()
Get the 'Type' attribute value. Method of conveyance of this guest. Values: Air, Rail, Bus, Boat, Private Auto, Other.

Returns:
value

setTransportInfoType

public void setTransportInfoType(java.lang.String transportInfoType)
Set the 'Type' attribute value. Method of conveyance of this guest. Values: Air, Rail, Bus, Boat, Private Auto, Other.

Parameters:
transportInfoType -

getTransportInfoID

public java.lang.String getTransportInfoID()
Get the 'ID' attribute value. Identifier of this transportation method (e.g., flight number).

Returns:
value

setTransportInfoID

public void setTransportInfoID(java.lang.String transportInfoID)
Set the 'ID' attribute value. Identifier of this transportation method (e.g., flight number).

Parameters:
transportInfoID -

getTransportInfoLocationCode

public java.lang.String getTransportInfoLocationCode()
Get the 'LocationCode' attribute value. Identifier of the arrival or delivery point (e.g., airport code)

Returns:
value

setTransportInfoLocationCode

public void setTransportInfoLocationCode(java.lang.String transportInfoLocationCode)
Set the 'LocationCode' attribute value. Identifier of the arrival or delivery point (e.g., airport code)

Parameters:
transportInfoLocationCode -

getTransportInfoTime

public java.util.Date getTransportInfoTime()
Get the 'Time' attribute value. Time of transportation. Local time of the location indicated by the LocationCode.

Returns:
value

setTransportInfoTime

public void setTransportInfoTime(java.util.Date transportInfoTime)
Set the 'Time' attribute value. Time of transportation. Local time of the location indicated by the LocationCode.

Parameters:
transportInfoTime -