org.ota.hotel
Class HotelDescriptiveContent.AreaInfo.OtherHotels.OtherHotel

java.lang.Object
  extended by org.ota.hotel.HotelDescriptiveContent.AreaInfo.OtherHotels.OtherHotel
Enclosing class:
HotelDescriptiveContent.AreaInfo.OtherHotels

public static class HotelDescriptiveContent.AreaInfo.OtherHotels.OtherHotel
extends java.lang.Object

Provides information on other area hotels. 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="OtherHotel" maxOccurs="99">
   <xs:complexType>
     <xs:sequence>
       <xs:element type="ns:ContactInfosType" name="ContactInfos" minOccurs="0"/>
       <xs:element type="ns:RefPointsType" name="RefPoints" minOccurs="0"/>
     </xs:sequence>
     <xs:attribute type="xs:boolean" use="optional" name="CompetitorIndicator"/>
     <xs:attribute type="xs:string" use="optional" name="SegmentCategoryCode"/>
     <xs:attributeGroup ref="ns:HotelReferenceGroup"/>
     <xs:attribute type="xs:string" use="optional" name="ID"/>
     <xs:attribute type="xs:string" use="optional" name="AlternateID"/>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
HotelDescriptiveContent.AreaInfo.OtherHotels.OtherHotel()
           
 
Method Summary
 java.lang.String getAlternateID()
          Get the 'AlternateID' attribute value.
 java.lang.Boolean getCompetitorIndicator()
          Get the 'CompetitorIndicator' attribute value.
 ContactInfos getContactInfos()
          Get the 'ContactInfos' element value.
 HotelReferenceGroup getHotelReferenceGroup()
          Get the 'HotelReferenceGroup' attributeGroup value.
 java.lang.String getID()
          Get the 'ID' attribute value.
 RefPoints getRefPoints()
          Get the 'RefPoints' element value.
 java.lang.String getSegmentCategoryCode()
          Get the 'SegmentCategoryCode' attribute value.
 void setAlternateID(java.lang.String alternateID)
          Set the 'AlternateID' attribute value.
 void setCompetitorIndicator(java.lang.Boolean competitorIndicator)
          Set the 'CompetitorIndicator' attribute value.
 void setContactInfos(ContactInfos contactInfos)
          Set the 'ContactInfos' element value.
 void setHotelReferenceGroup(HotelReferenceGroup hotelReferenceGroup)
          Set the 'HotelReferenceGroup' attributeGroup value.
 void setID(java.lang.String ID)
          Set the 'ID' attribute value.
 void setRefPoints(RefPoints refPoints)
          Set the 'RefPoints' element value.
 void setSegmentCategoryCode(java.lang.String segmentCategoryCode)
          Set the 'SegmentCategoryCode' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HotelDescriptiveContent.AreaInfo.OtherHotels.OtherHotel

public HotelDescriptiveContent.AreaInfo.OtherHotels.OtherHotel()
Method Detail

getContactInfos

public ContactInfos getContactInfos()
Get the 'ContactInfos' element value. Provides general property information for another hotel.

Returns:
value

setContactInfos

public void setContactInfos(ContactInfos contactInfos)
Set the 'ContactInfos' element value. Provides general property information for another hotel.

Parameters:
contactInfos -

getRefPoints

public RefPoints getRefPoints()
Get the 'RefPoints' element value. Provides information on the location of the other hotel.

Returns:
value

setRefPoints

public void setRefPoints(RefPoints refPoints)
Set the 'RefPoints' element value. Provides information on the location of the other hotel.

Parameters:
refPoints -

getCompetitorIndicator

public java.lang.Boolean getCompetitorIndicator()
Get the 'CompetitorIndicator' attribute value. When true, indicates this hotel is a competitor. When false, this hotel is not a competitor.

Returns:
value

setCompetitorIndicator

public void setCompetitorIndicator(java.lang.Boolean competitorIndicator)
Set the 'CompetitorIndicator' attribute value. When true, indicates this hotel is a competitor. When false, this hotel is not a competitor.

Parameters:
competitorIndicator -

getSegmentCategoryCode

public java.lang.String getSegmentCategoryCode()
Get the 'SegmentCategoryCode' attribute value. Identifies the segment (e.g., luxury, upscale, extended stay) of the other hotel. Refer to OpenTravel Codelist SEG.

Returns:
value

setSegmentCategoryCode

public void setSegmentCategoryCode(java.lang.String segmentCategoryCode)
Set the 'SegmentCategoryCode' attribute value. Identifies the segment (e.g., luxury, upscale, extended stay) of the other hotel. Refer to OpenTravel Codelist SEG.

Parameters:
segmentCategoryCode -

getHotelReferenceGroup

public HotelReferenceGroup getHotelReferenceGroup()
Get the 'HotelReferenceGroup' attributeGroup value.

Returns:
value

setHotelReferenceGroup

public void setHotelReferenceGroup(HotelReferenceGroup hotelReferenceGroup)
Set the 'HotelReferenceGroup' attributeGroup value.

Parameters:
hotelReferenceGroup -

getID

public java.lang.String getID()
Get the 'ID' attribute value. An ID as created by the source system (e.g. when passing competitor information, this would be the ID stored in the competitor's system).

Returns:
value

setID

public void setID(java.lang.String ID)
Set the 'ID' attribute value. An ID as created by the source system (e.g. when passing competitor information, this would be the ID stored in the competitor's system).

Parameters:
ID -

getAlternateID

public java.lang.String getAlternateID()
Get the 'AlternateID' attribute value. An ID as created by the non-source system (e.g. when passing competitor information, this would be the ID stored in the local company's system).

Returns:
value

setAlternateID

public void setAlternateID(java.lang.String alternateID)
Set the 'AlternateID' attribute value. An ID as created by the non-source system (e.g. when passing competitor information, this would be the ID stored in the local company's system).

Parameters:
alternateID -