org.ota.hotel
Class HotelSearchCriterion.Media
java.lang.Object
org.ota.hotel.HotelSearchCriterion.Media
- Enclosing class:
- HotelSearchCriterion
public static class HotelSearchCriterion.Media
- extends java.lang.Object
Used to search for hotels based on available media content.
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="Media" minOccurs="0" maxOccurs="5">
<xs:complexType>
<xs:attribute type="xs:string" use="optional" name="ContentCode"/>
</xs:complexType>
</xs:element>
Method Summary |
java.lang.String |
getContentCode()
Get the 'ContentCode' attribute value. |
void |
setContentCode(java.lang.String contentCode)
Set the 'ContentCode' attribute value. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HotelSearchCriterion.Media
public HotelSearchCriterion.Media()
getContentCode
public java.lang.String getContentCode()
- Get the 'ContentCode' attribute value. Type of media that is used as a qualifier when searching for properties. Refer to OpenTravel Code list Content Code (CTT).
- Returns:
- value
setContentCode
public void setContentCode(java.lang.String contentCode)
- Set the 'ContentCode' attribute value. Type of media that is used as a qualifier when searching for properties. Refer to OpenTravel Code list Content Code (CTT).
- Parameters:
contentCode
-