org.ota.hotel
Class HotelSearchCriterion.Transportation
java.lang.Object
org.ota.hotel.HotelSearchCriterion.Transportation
- Enclosing class:
- HotelSearchCriterion
public static class HotelSearchCriterion.Transportation
- extends java.lang.Object
Identifies transportation facilities.
Schema fragment(s) for this class:
<xs:element xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="Transportation" minOccurs="0" maxOccurs="5">
<xs:complexType>
<xs:attribute type="xs:string" use="optional" name="Code"/>
</xs:complexType>
</xs:element>
Method Summary |
java.lang.String |
getCode()
Get the 'Code' attribute value. |
void |
setCode(java.lang.String code)
Set the 'Code' attribute value. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HotelSearchCriterion.Transportation
public HotelSearchCriterion.Transportation()
getCode
public java.lang.String getCode()
- Get the 'Code' attribute value. Used to define the mode of available transportation. Refer to OpenTravel Code List Transportation Code (TRP).
- Returns:
- value
setCode
public void setCode(java.lang.String code)
- Set the 'Code' attribute value. Used to define the mode of available transportation. Refer to OpenTravel Code List Transportation Code (TRP).
- Parameters:
code
-