org.ota.hotel
Class DescriptiveInfoRS.HotelDescriptiveContents

java.lang.Object
  extended by org.ota.hotel.DescriptiveInfoRS.HotelDescriptiveContents
Enclosing class:
DescriptiveInfoRS

public static class DescriptiveInfoRS.HotelDescriptiveContents
extends java.lang.Object

A collection of hotel descriptive information. 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="HotelDescriptiveContents" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="HotelDescriptiveContent" maxOccurs="unbounded">
         <!-- Reference to inner class HotelDescriptiveContent -->
       </xs:element>
     </xs:sequence>
     <xs:attributeGroup ref="ns:HotelReferenceGroup"/>
     <xs:attributeGroup ref="ns:OverWriteGroup"/>
   </xs:complexType>
 </xs:element>
 
 <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="OverWriteGroup">
   <xs:attribute type="xs:boolean" use="optional" name="Overwrite"/>
 </xs:attributeGroup>
 


Nested Class Summary
static class DescriptiveInfoRS.HotelDescriptiveContents.HotelDescriptiveContent
          Hotel descriptive information.
 
Constructor Summary
DescriptiveInfoRS.HotelDescriptiveContents()
           
 
Method Summary
 void addHotelDescriptiveContent(DescriptiveInfoRS.HotelDescriptiveContents.HotelDescriptiveContent item)
          Add a 'HotelDescriptiveContent' element item.
 void clearHotelDescriptiveContents()
          Remove all 'HotelDescriptiveContent' element items.
 DescriptiveInfoRS.HotelDescriptiveContents.HotelDescriptiveContent getHotelDescriptiveContent(int index)
          Get 'HotelDescriptiveContent' element item by position.
 java.util.List<DescriptiveInfoRS.HotelDescriptiveContents.HotelDescriptiveContent> getHotelDescriptiveContents()
          Get the list of 'HotelDescriptiveContent' element items.
 HotelReferenceGroup getHotelReferenceGroup()
          Get the 'HotelReferenceGroup' attributeGroup value.
 java.lang.Boolean getOverwrite()
          Get the 'Overwrite' attribute value.
 void setHotelDescriptiveContents(java.util.List<DescriptiveInfoRS.HotelDescriptiveContents.HotelDescriptiveContent> list)
          Set the list of 'HotelDescriptiveContent' element items.
 void setHotelReferenceGroup(HotelReferenceGroup hotelReferenceGroup)
          Set the 'HotelReferenceGroup' attributeGroup value.
 void setOverwrite(java.lang.Boolean overwrite)
          Set the 'Overwrite' attribute value.
 int sizeHotelDescriptiveContents()
          Get the number of 'HotelDescriptiveContent' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DescriptiveInfoRS.HotelDescriptiveContents

public DescriptiveInfoRS.HotelDescriptiveContents()
Method Detail

getHotelDescriptiveContents

public java.util.List<DescriptiveInfoRS.HotelDescriptiveContents.HotelDescriptiveContent> getHotelDescriptiveContents()
Get the list of 'HotelDescriptiveContent' element items.

Returns:
list

setHotelDescriptiveContents

public void setHotelDescriptiveContents(java.util.List<DescriptiveInfoRS.HotelDescriptiveContents.HotelDescriptiveContent> list)
Set the list of 'HotelDescriptiveContent' element items.

Parameters:
list -

sizeHotelDescriptiveContents

public int sizeHotelDescriptiveContents()
Get the number of 'HotelDescriptiveContent' element items.

Returns:
count

addHotelDescriptiveContent

public void addHotelDescriptiveContent(DescriptiveInfoRS.HotelDescriptiveContents.HotelDescriptiveContent item)
Add a 'HotelDescriptiveContent' element item.

Parameters:
item -

getHotelDescriptiveContent

public DescriptiveInfoRS.HotelDescriptiveContents.HotelDescriptiveContent getHotelDescriptiveContent(int index)
Get 'HotelDescriptiveContent' element item by position.

Parameters:
index -
Returns:
item

clearHotelDescriptiveContents

public void clearHotelDescriptiveContents()
Remove all 'HotelDescriptiveContent' element items.


getHotelReferenceGroup

public HotelReferenceGroup getHotelReferenceGroup()
Get the 'HotelReferenceGroup' attributeGroup value. HotelReferenceGroup attribute has been added to HotelDescriptiveContent layer in 2003B to satisfy the ability to send multiple hotels within the message. It is possible that the HotelReferenceGroup will be removed from HotelDescriptiveContents in a future release.

Returns:
value

setHotelReferenceGroup

public void setHotelReferenceGroup(HotelReferenceGroup hotelReferenceGroup)
Set the 'HotelReferenceGroup' attributeGroup value. HotelReferenceGroup attribute has been added to HotelDescriptiveContent layer in 2003B to satisfy the ability to send multiple hotels within the message. It is possible that the HotelReferenceGroup will be removed from HotelDescriptiveContents in a future release.

Parameters:
hotelReferenceGroup -

getOverwrite

public java.lang.Boolean getOverwrite()
Get the 'Overwrite' attribute value. Indicates whether this message is to replace all information.

Returns:
value

setOverwrite

public void setOverwrite(java.lang.Boolean overwrite)
Set the 'Overwrite' attribute value. Indicates whether this message is to replace all information.

Parameters:
overwrite -