org.ota.hotel
Class HotelDescriptiveContent

java.lang.Object
  extended by org.ota.hotel.HotelDescriptiveContent
Direct Known Subclasses:
DescriptiveContentNotifRQ.HotelDescriptiveContent, DescriptiveInfoRS.HotelDescriptiveContents.HotelDescriptiveContent, NotifReportRQ.NotifDetails.HotelNotifReport.HotelDescriptiveContents.HotelDescriptiveContent

public class HotelDescriptiveContent
extends java.lang.Object

The HotelDescriptiveContent element contains the descriptive information about a hotel property. 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="HotelDescriptiveContentType">
   <xs:sequence>
     <xs:element type="ns:DestinationSystemCodesType" name="DestinationSystemsCode" minOccurs="0"/>
     <xs:element type="ns:HotelInfoType" name="HotelInfo" minOccurs="0">
       <!-- Reference to inner class HotelInfo -->
     </xs:element>
     <xs:element type="ns:FacilityInfoType" name="FacilityInfo" minOccurs="0">
       <!-- Reference to inner class FacilityInfo -->
     </xs:element>
     <xs:element name="Policies" minOccurs="0">
       <!-- Reference to inner class Policies -->
     </xs:element>
     <xs:element type="ns:AreaInfoType" name="AreaInfo" minOccurs="0">
       <!-- Reference to inner class AreaInfo -->
     </xs:element>
     <xs:element type="ns:AffiliationInfoType" name="AffiliationInfo" minOccurs="0">
       <!-- Reference to inner class AffiliationInfo -->
     </xs:element>
     <xs:element type="ns:MultimediaDescriptionsType" name="MultimediaDescriptions" minOccurs="0"/>
     <xs:element type="ns:ContactInfosType" name="ContactInfos" minOccurs="0"/>
     <xs:element ref="ns:TPA_Extensions" minOccurs="0"/>
     <xs:element type="ns:GDS_InfoType" name="GDS_Info" minOccurs="0">
       <!-- Reference to inner class GDSInfo -->
     </xs:element>
     <xs:element type="ns:ViewershipsType" name="Viewerships" minOccurs="0"/>
     <xs:element name="EffectivePeriods" minOccurs="0">
       <!-- Reference to inner class EffectivePeriods -->
     </xs:element>
   </xs:sequence>
   <xs:attributeGroup ref="ns:CurrencyCodeGroup"/>
   <xs:attribute type="xs:string" use="optional" name="LanguageCode"/>
   <xs:attributeGroup ref="ns:UnitsOfMeasureGroup"/>
   <xs:attribute type="xs:string" use="optional" name="TimeZone"/>
   <xs:attributeGroup ref="ns:DateTimeSpanGroup"/>
   <xs:attribute type="xs:string" use="optional" name="DistanceUnitOfMeasureCode"/>
   <xs:attribute type="xs:string" use="optional" name="AreaUnitOfMeasureCode"/>
   <xs:attribute type="xs:string" use="optional" name="WeightUnitOfMeasureCode"/>
 </xs:complexType>
 
 <xs:element xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" type="ns:TPA_ExtensionsType" name="TPA_Extensions"/>
 


Nested Class Summary
static class HotelDescriptiveContent.AffiliationInfo
          Provides information regarding affiliations, loyalty programs and award ratings.
static class HotelDescriptiveContent.AreaInfo
          Provides information on area attractions, recreations and reference points.
static class HotelDescriptiveContent.EffectivePeriods
          Collection of effective periods.
static class HotelDescriptiveContent.FacilityInfo
          Provides information pertaining to the hotel facitilty itself.
static class HotelDescriptiveContent.GDSInfo
          This allows for information for GDS's to be specified.
static class HotelDescriptiveContent.HotelInfo
          Contains descriptive information about a hotel.
static class HotelDescriptiveContent.Policies
          A collection of policy information as it applies to the hotel.
 
Constructor Summary
HotelDescriptiveContent()
           
 
Method Summary
 HotelDescriptiveContent.AffiliationInfo getAffiliationInfo()
          Get the 'AffiliationInfo' element value.
 HotelDescriptiveContent.AreaInfo getAreaInfo()
          Get the 'AreaInfo' element value.
 java.lang.String getAreaUnitOfMeasureCode()
          Get the 'AreaUnitOfMeasureCode' attribute value.
 ContactInfos getContactInfos()
          Get the 'ContactInfos' element value.
 CurrencyCodeGroup getCurrencyCodeGroup()
          Get the 'CurrencyCodeGroup' attributeGroup value.
 DateTimeSpanGroup getDateTimeSpanGroup()
          Get the 'DateTimeSpanGroup' attributeGroup value.
 DestinationSystemCodes getDestinationSystemsCode()
          Get the 'DestinationSystemsCode' element value.
 java.lang.String getDistanceUnitOfMeasureCode()
          Get the 'DistanceUnitOfMeasureCode' attribute value.
 HotelDescriptiveContent.EffectivePeriods getEffectivePeriods()
          Get the 'EffectivePeriods' element value.
 HotelDescriptiveContent.FacilityInfo getFacilityInfo()
          Get the 'FacilityInfo' element value.
 HotelDescriptiveContent.GDSInfo getGDSInfo1()
          Get the 'GDS_Info' element value.
 HotelDescriptiveContent.HotelInfo getHotelInfo()
          Get the 'HotelInfo' element value.
 java.lang.String getLanguageCode()
          Get the 'LanguageCode' attribute value.
 MultimediaDescriptions getMultimediaDescriptions()
          Get the 'MultimediaDescriptions' element value.
 HotelDescriptiveContent.Policies getPolicies()
          Get the 'Policies' element value.
 java.lang.String getTimeZone()
          Get the 'TimeZone' attribute value.
 TPAExtensions getTPAExtensions()
          Get the 'TPA_Extensions' element value.
 UnitsOfMeasureGroup getUnitsOfMeasureGroup()
          Get the 'UnitsOfMeasureGroup' attributeGroup value.
 Viewerships getViewerships()
          Get the 'Viewerships' element value.
 java.lang.String getWeightUnitOfMeasureCode()
          Get the 'WeightUnitOfMeasureCode' attribute value.
 void setAffiliationInfo(HotelDescriptiveContent.AffiliationInfo affiliationInfo)
          Set the 'AffiliationInfo' element value.
 void setAreaInfo(HotelDescriptiveContent.AreaInfo areaInfo)
          Set the 'AreaInfo' element value.
 void setAreaUnitOfMeasureCode(java.lang.String areaUnitOfMeasureCode)
          Set the 'AreaUnitOfMeasureCode' attribute value.
 void setContactInfos(ContactInfos contactInfos)
          Set the 'ContactInfos' element value.
 void setCurrencyCodeGroup(CurrencyCodeGroup currencyCodeGroup)
          Set the 'CurrencyCodeGroup' attributeGroup value.
 void setDateTimeSpanGroup(DateTimeSpanGroup dateTimeSpanGroup)
          Set the 'DateTimeSpanGroup' attributeGroup value.
 void setDestinationSystemsCode(DestinationSystemCodes destinationSystemsCode)
          Set the 'DestinationSystemsCode' element value.
 void setDistanceUnitOfMeasureCode(java.lang.String distanceUnitOfMeasureCode)
          Set the 'DistanceUnitOfMeasureCode' attribute value.
 void setEffectivePeriods(HotelDescriptiveContent.EffectivePeriods effectivePeriods)
          Set the 'EffectivePeriods' element value.
 void setFacilityInfo(HotelDescriptiveContent.FacilityInfo facilityInfo)
          Set the 'FacilityInfo' element value.
 void setGDSInfo1(HotelDescriptiveContent.GDSInfo GDSInfo1)
          Set the 'GDS_Info' element value.
 void setHotelInfo(HotelDescriptiveContent.HotelInfo hotelInfo)
          Set the 'HotelInfo' element value.
 void setLanguageCode(java.lang.String languageCode)
          Set the 'LanguageCode' attribute value.
 void setMultimediaDescriptions(MultimediaDescriptions multimediaDescriptions)
          Set the 'MultimediaDescriptions' element value.
 void setPolicies(HotelDescriptiveContent.Policies policies)
          Set the 'Policies' element value.
 void setTimeZone(java.lang.String timeZone)
          Set the 'TimeZone' attribute value.
 void setTPAExtensions(TPAExtensions TPAExtensions)
          Set the 'TPA_Extensions' element value.
 void setUnitsOfMeasureGroup(UnitsOfMeasureGroup unitsOfMeasureGroup)
          Set the 'UnitsOfMeasureGroup' attributeGroup value.
 void setViewerships(Viewerships viewerships)
          Set the 'Viewerships' element value.
 void setWeightUnitOfMeasureCode(java.lang.String weightUnitOfMeasureCode)
          Set the 'WeightUnitOfMeasureCode' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HotelDescriptiveContent

public HotelDescriptiveContent()
Method Detail

getDestinationSystemsCode

public DestinationSystemCodes getDestinationSystemsCode()
Get the 'DestinationSystemsCode' element value. A collection of destination systems codes.

Returns:
value

setDestinationSystemsCode

public void setDestinationSystemsCode(DestinationSystemCodes destinationSystemsCode)
Set the 'DestinationSystemsCode' element value. A collection of destination systems codes.

Parameters:
destinationSystemsCode -

getHotelInfo

public HotelDescriptiveContent.HotelInfo getHotelInfo()
Get the 'HotelInfo' element value.

Returns:
value

setHotelInfo

public void setHotelInfo(HotelDescriptiveContent.HotelInfo hotelInfo)
Set the 'HotelInfo' element value.

Parameters:
hotelInfo -

getFacilityInfo

public HotelDescriptiveContent.FacilityInfo getFacilityInfo()
Get the 'FacilityInfo' element value.

Returns:
value

setFacilityInfo

public void setFacilityInfo(HotelDescriptiveContent.FacilityInfo facilityInfo)
Set the 'FacilityInfo' element value.

Parameters:
facilityInfo -

getPolicies

public HotelDescriptiveContent.Policies getPolicies()
Get the 'Policies' element value.

Returns:
value

setPolicies

public void setPolicies(HotelDescriptiveContent.Policies policies)
Set the 'Policies' element value.

Parameters:
policies -

getAreaInfo

public HotelDescriptiveContent.AreaInfo getAreaInfo()
Get the 'AreaInfo' element value.

Returns:
value

setAreaInfo

public void setAreaInfo(HotelDescriptiveContent.AreaInfo areaInfo)
Set the 'AreaInfo' element value.

Parameters:
areaInfo -

getAffiliationInfo

public HotelDescriptiveContent.AffiliationInfo getAffiliationInfo()
Get the 'AffiliationInfo' element value.

Returns:
value

setAffiliationInfo

public void setAffiliationInfo(HotelDescriptiveContent.AffiliationInfo affiliationInfo)
Set the 'AffiliationInfo' element value.

Parameters:
affiliationInfo -

getMultimediaDescriptions

public MultimediaDescriptions getMultimediaDescriptions()
Get the 'MultimediaDescriptions' element value. Multimedia information about a collection of multimedia objects.

Returns:
value

setMultimediaDescriptions

public void setMultimediaDescriptions(MultimediaDescriptions multimediaDescriptions)
Set the 'MultimediaDescriptions' element value. Multimedia information about a collection of multimedia objects.

Parameters:
multimediaDescriptions -

getContactInfos

public ContactInfos getContactInfos()
Get the 'ContactInfos' element value. Provides contact information.

Returns:
value

setContactInfos

public void setContactInfos(ContactInfos contactInfos)
Set the 'ContactInfos' element value. Provides contact information.

Parameters:
contactInfos -

getTPAExtensions

public TPAExtensions getTPAExtensions()
Get the 'TPA_Extensions' element value. A placeholder in the schema to allow for additional elements and attributes to be included if required, per Trading Partner Agreement (TPA).

Returns:
value

setTPAExtensions

public void setTPAExtensions(TPAExtensions TPAExtensions)
Set the 'TPA_Extensions' element value. A placeholder in the schema to allow for additional elements and attributes to be included if required, per Trading Partner Agreement (TPA).

Parameters:
TPAExtensions -

getGDSInfo1

public HotelDescriptiveContent.GDSInfo getGDSInfo1()
Get the 'GDS_Info' element value.

Returns:
value

setGDSInfo1

public void setGDSInfo1(HotelDescriptiveContent.GDSInfo GDSInfo1)
Set the 'GDS_Info' element value.

Parameters:
GDSInfo1 -

getViewerships

public Viewerships getViewerships()
Get the 'Viewerships' element value. Collection for viewerships.

Returns:
value

setViewerships

public void setViewerships(Viewerships viewerships)
Set the 'Viewerships' element value. Collection for viewerships.

Parameters:
viewerships -

getEffectivePeriods

public HotelDescriptiveContent.EffectivePeriods getEffectivePeriods()
Get the 'EffectivePeriods' element value.

Returns:
value

setEffectivePeriods

public void setEffectivePeriods(HotelDescriptiveContent.EffectivePeriods effectivePeriods)
Set the 'EffectivePeriods' element value.

Parameters:
effectivePeriods -

getCurrencyCodeGroup

public CurrencyCodeGroup getCurrencyCodeGroup()
Get the 'CurrencyCodeGroup' attributeGroup value.

Returns:
value

setCurrencyCodeGroup

public void setCurrencyCodeGroup(CurrencyCodeGroup currencyCodeGroup)
Set the 'CurrencyCodeGroup' attributeGroup value.

Parameters:
currencyCodeGroup -

getLanguageCode

public java.lang.String getLanguageCode()
Get the 'LanguageCode' attribute value. Identification of the requested language to be used for the hotel descriptive information. ISO standard for human-readable languages.

Returns:
value

setLanguageCode

public void setLanguageCode(java.lang.String languageCode)
Set the 'LanguageCode' attribute value. Identification of the requested language to be used for the hotel descriptive information. ISO standard for human-readable languages.

Parameters:
languageCode -

getUnitsOfMeasureGroup

public UnitsOfMeasureGroup getUnitsOfMeasureGroup()
Get the 'UnitsOfMeasureGroup' attributeGroup value. UnitOfMeasureGroup should not have been used here. The only attribute needed is UnitOfMeasure. Our intent is to remove UnitOfMeasureQuantity in a future release.

Returns:
value

setUnitsOfMeasureGroup

public void setUnitsOfMeasureGroup(UnitsOfMeasureGroup unitsOfMeasureGroup)
Set the 'UnitsOfMeasureGroup' attributeGroup value. UnitOfMeasureGroup should not have been used here. The only attribute needed is UnitOfMeasure. Our intent is to remove UnitOfMeasureQuantity in a future release.

Parameters:
unitsOfMeasureGroup -

getTimeZone

public java.lang.String getTimeZone()
Get the 'TimeZone' attribute value. Describes the local time zone in which the hotel is located. This could include additional information regarding time zones (e.g., Daylight Saving Time observed), a proprietary code, the difference between the local time and GMT.

Returns:
value

setTimeZone

public void setTimeZone(java.lang.String timeZone)
Set the 'TimeZone' attribute value. Describes the local time zone in which the hotel is located. This could include additional information regarding time zones (e.g., Daylight Saving Time observed), a proprietary code, the difference between the local time and GMT.

Parameters:
timeZone -

getDateTimeSpanGroup

public DateTimeSpanGroup getDateTimeSpanGroup()
Get the 'DateTimeSpanGroup' attributeGroup value. Used to define the lifespan of the hotel content.

Returns:
value

setDateTimeSpanGroup

public void setDateTimeSpanGroup(DateTimeSpanGroup dateTimeSpanGroup)
Set the 'DateTimeSpanGroup' attributeGroup value. Used to define the lifespan of the hotel content.

Parameters:
dateTimeSpanGroup -

getDistanceUnitOfMeasureCode

public java.lang.String getDistanceUnitOfMeasureCode()
Get the 'DistanceUnitOfMeasureCode' attribute value. Provides the unit of measure in which distance is provided in this message. Refer to OpenTravel Code List Unit of Measure (UOM).

Returns:
value

setDistanceUnitOfMeasureCode

public void setDistanceUnitOfMeasureCode(java.lang.String distanceUnitOfMeasureCode)
Set the 'DistanceUnitOfMeasureCode' attribute value. Provides the unit of measure in which distance is provided in this message. Refer to OpenTravel Code List Unit of Measure (UOM).

Parameters:
distanceUnitOfMeasureCode -

getAreaUnitOfMeasureCode

public java.lang.String getAreaUnitOfMeasureCode()
Get the 'AreaUnitOfMeasureCode' attribute value. Provides the unit of measure in which area is provided in this message. Refer to OpenTravel Code List Unit of Measure (UOM).

Returns:
value

setAreaUnitOfMeasureCode

public void setAreaUnitOfMeasureCode(java.lang.String areaUnitOfMeasureCode)
Set the 'AreaUnitOfMeasureCode' attribute value. Provides the unit of measure in which area is provided in this message. Refer to OpenTravel Code List Unit of Measure (UOM).

Parameters:
areaUnitOfMeasureCode -

getWeightUnitOfMeasureCode

public java.lang.String getWeightUnitOfMeasureCode()
Get the 'WeightUnitOfMeasureCode' attribute value. Provides the unit of measure in which weight is provided in this message. Refer to OpenTravel Code List Unit of Measure (UOM).

Returns:
value

setWeightUnitOfMeasureCode

public void setWeightUnitOfMeasureCode(java.lang.String weightUnitOfMeasureCode)
Set the 'WeightUnitOfMeasureCode' attribute value. Provides the unit of measure in which weight is provided in this message. Refer to OpenTravel Code List Unit of Measure (UOM).

Parameters:
weightUnitOfMeasureCode -