org.ota.hotel
Class HotelDescriptiveContent.HotelInfo.CategoryCodes

java.lang.Object
  extended by org.ota.hotel.HotelDescriptiveContent.HotelInfo.CategoryCodes
Enclosing class:
HotelDescriptiveContent.HotelInfo

public static class HotelDescriptiveContent.HotelInfo.CategoryCodes
extends java.lang.Object

Collection of descriptive details about a hotel. 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" type="ns:CategoryCodesType" name="CategoryCodes" minOccurs="0"/>
 
 <xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="CategoryCodesType">
   <xs:sequence>
     <xs:element name="LocationCategory" minOccurs="0" maxOccurs="unbounded">
       <!-- Reference to inner class LocationCategory -->
     </xs:element>
     <xs:element name="SegmentCategory" minOccurs="0" maxOccurs="unbounded">
       <!-- Reference to inner class SegmentCategory -->
     </xs:element>
     <xs:element name="HotelCategory" minOccurs="0" maxOccurs="unbounded">
       <!-- Reference to inner class HotelCategory -->
     </xs:element>
     <xs:element name="ArchitecturalStyle" minOccurs="0" maxOccurs="unbounded">
       <!-- Reference to inner class ArchitecturalStyle -->
     </xs:element>
     <xs:element name="GuestRoomInfo" minOccurs="0" maxOccurs="unbounded">
       <!-- Reference to inner class GuestRoomInfo -->
     </xs:element>
   </xs:sequence>
 </xs:complexType>
 


Nested Class Summary
static class HotelDescriptiveContent.HotelInfo.CategoryCodes.ArchitecturalStyle
          Describes the appearance of the building such as art deco, modern, historic.
static class HotelDescriptiveContent.HotelInfo.CategoryCodes.GuestRoomInfo
          The types and quantities of guest rooms at a hotel.
static class HotelDescriptiveContent.HotelInfo.CategoryCodes.HotelCategory
          Defines the particular type of hotel (e.g., golf, ski, bed and breakfast).
static class HotelDescriptiveContent.HotelInfo.CategoryCodes.LocationCategory
          Defines the general location of the hotel such as airport, suburban, downtown.
static class HotelDescriptiveContent.HotelInfo.CategoryCodes.SegmentCategory
          Defines the type of hotel such as luxury, extended stay, economy.
 
Constructor Summary
HotelDescriptiveContent.HotelInfo.CategoryCodes()
           
 
Method Summary
 void addArchitecturalStyle(HotelDescriptiveContent.HotelInfo.CategoryCodes.ArchitecturalStyle item)
          Add a 'ArchitecturalStyle' element item.
 void addGuestRoomInfo(HotelDescriptiveContent.HotelInfo.CategoryCodes.GuestRoomInfo item)
          Add a 'GuestRoomInfo' element item.
 void addHotelCategory(HotelDescriptiveContent.HotelInfo.CategoryCodes.HotelCategory item)
          Add a 'HotelCategory' element item.
 void addLocationCategory(HotelDescriptiveContent.HotelInfo.CategoryCodes.LocationCategory item)
          Add a 'LocationCategory' element item.
 void addSegmentCategory(HotelDescriptiveContent.HotelInfo.CategoryCodes.SegmentCategory item)
          Add a 'SegmentCategory' element item.
 void clearArchitecturalStyles()
          Remove all 'ArchitecturalStyle' element items.
 void clearGuestRoomInfos()
          Remove all 'GuestRoomInfo' element items.
 void clearHotelCategories()
          Remove all 'HotelCategory' element items.
 void clearLocationCategories()
          Remove all 'LocationCategory' element items.
 void clearSegmentCategories()
          Remove all 'SegmentCategory' element items.
 HotelDescriptiveContent.HotelInfo.CategoryCodes.ArchitecturalStyle getArchitecturalStyle(int index)
          Get 'ArchitecturalStyle' element item by position.
 java.util.List<HotelDescriptiveContent.HotelInfo.CategoryCodes.ArchitecturalStyle> getArchitecturalStyles()
          Get the list of 'ArchitecturalStyle' element items.
 HotelDescriptiveContent.HotelInfo.CategoryCodes.GuestRoomInfo getGuestRoomInfo(int index)
          Get 'GuestRoomInfo' element item by position.
 java.util.List<HotelDescriptiveContent.HotelInfo.CategoryCodes.GuestRoomInfo> getGuestRoomInfos()
          Get the list of 'GuestRoomInfo' element items.
 java.util.List<HotelDescriptiveContent.HotelInfo.CategoryCodes.HotelCategory> getHotelCategories()
          Get the list of 'HotelCategory' element items.
 HotelDescriptiveContent.HotelInfo.CategoryCodes.HotelCategory getHotelCategory(int index)
          Get 'HotelCategory' element item by position.
 java.util.List<HotelDescriptiveContent.HotelInfo.CategoryCodes.LocationCategory> getLocationCategories()
          Get the list of 'LocationCategory' element items.
 HotelDescriptiveContent.HotelInfo.CategoryCodes.LocationCategory getLocationCategory(int index)
          Get 'LocationCategory' element item by position.
 java.util.List<HotelDescriptiveContent.HotelInfo.CategoryCodes.SegmentCategory> getSegmentCategories()
          Get the list of 'SegmentCategory' element items.
 HotelDescriptiveContent.HotelInfo.CategoryCodes.SegmentCategory getSegmentCategory(int index)
          Get 'SegmentCategory' element item by position.
 void setArchitecturalStyles(java.util.List<HotelDescriptiveContent.HotelInfo.CategoryCodes.ArchitecturalStyle> list)
          Set the list of 'ArchitecturalStyle' element items.
 void setGuestRoomInfos(java.util.List<HotelDescriptiveContent.HotelInfo.CategoryCodes.GuestRoomInfo> list)
          Set the list of 'GuestRoomInfo' element items.
 void setHotelCategories(java.util.List<HotelDescriptiveContent.HotelInfo.CategoryCodes.HotelCategory> list)
          Set the list of 'HotelCategory' element items.
 void setLocationCategories(java.util.List<HotelDescriptiveContent.HotelInfo.CategoryCodes.LocationCategory> list)
          Set the list of 'LocationCategory' element items.
 void setSegmentCategories(java.util.List<HotelDescriptiveContent.HotelInfo.CategoryCodes.SegmentCategory> list)
          Set the list of 'SegmentCategory' element items.
 int sizeArchitecturalStyles()
          Get the number of 'ArchitecturalStyle' element items.
 int sizeGuestRoomInfos()
          Get the number of 'GuestRoomInfo' element items.
 int sizeHotelCategories()
          Get the number of 'HotelCategory' element items.
 int sizeLocationCategories()
          Get the number of 'LocationCategory' element items.
 int sizeSegmentCategories()
          Get the number of 'SegmentCategory' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HotelDescriptiveContent.HotelInfo.CategoryCodes

public HotelDescriptiveContent.HotelInfo.CategoryCodes()
Method Detail

getLocationCategories

public java.util.List<HotelDescriptiveContent.HotelInfo.CategoryCodes.LocationCategory> getLocationCategories()
Get the list of 'LocationCategory' element items. Used to define specific hotel information such as the type, location and architectural style.

Returns:
list

setLocationCategories

public void setLocationCategories(java.util.List<HotelDescriptiveContent.HotelInfo.CategoryCodes.LocationCategory> list)
Set the list of 'LocationCategory' element items. Used to define specific hotel information such as the type, location and architectural style.

Parameters:
list -

sizeLocationCategories

public int sizeLocationCategories()
Get the number of 'LocationCategory' element items.

Returns:
count

addLocationCategory

public void addLocationCategory(HotelDescriptiveContent.HotelInfo.CategoryCodes.LocationCategory item)
Add a 'LocationCategory' element item.

Parameters:
item -

getLocationCategory

public HotelDescriptiveContent.HotelInfo.CategoryCodes.LocationCategory getLocationCategory(int index)
Get 'LocationCategory' element item by position.

Parameters:
index -
Returns:
item

clearLocationCategories

public void clearLocationCategories()
Remove all 'LocationCategory' element items.


getSegmentCategories

public java.util.List<HotelDescriptiveContent.HotelInfo.CategoryCodes.SegmentCategory> getSegmentCategories()
Get the list of 'SegmentCategory' element items. Used to define specific hotel information such as the type, location and architectural style.

Returns:
list

setSegmentCategories

public void setSegmentCategories(java.util.List<HotelDescriptiveContent.HotelInfo.CategoryCodes.SegmentCategory> list)
Set the list of 'SegmentCategory' element items. Used to define specific hotel information such as the type, location and architectural style.

Parameters:
list -

sizeSegmentCategories

public int sizeSegmentCategories()
Get the number of 'SegmentCategory' element items.

Returns:
count

addSegmentCategory

public void addSegmentCategory(HotelDescriptiveContent.HotelInfo.CategoryCodes.SegmentCategory item)
Add a 'SegmentCategory' element item.

Parameters:
item -

getSegmentCategory

public HotelDescriptiveContent.HotelInfo.CategoryCodes.SegmentCategory getSegmentCategory(int index)
Get 'SegmentCategory' element item by position.

Parameters:
index -
Returns:
item

clearSegmentCategories

public void clearSegmentCategories()
Remove all 'SegmentCategory' element items.


getHotelCategories

public java.util.List<HotelDescriptiveContent.HotelInfo.CategoryCodes.HotelCategory> getHotelCategories()
Get the list of 'HotelCategory' element items. Used to define specific hotel information such as the type, location and architectural style.

Returns:
list

setHotelCategories

public void setHotelCategories(java.util.List<HotelDescriptiveContent.HotelInfo.CategoryCodes.HotelCategory> list)
Set the list of 'HotelCategory' element items. Used to define specific hotel information such as the type, location and architectural style.

Parameters:
list -

sizeHotelCategories

public int sizeHotelCategories()
Get the number of 'HotelCategory' element items.

Returns:
count

addHotelCategory

public void addHotelCategory(HotelDescriptiveContent.HotelInfo.CategoryCodes.HotelCategory item)
Add a 'HotelCategory' element item.

Parameters:
item -

getHotelCategory

public HotelDescriptiveContent.HotelInfo.CategoryCodes.HotelCategory getHotelCategory(int index)
Get 'HotelCategory' element item by position.

Parameters:
index -
Returns:
item

clearHotelCategories

public void clearHotelCategories()
Remove all 'HotelCategory' element items.


getArchitecturalStyles

public java.util.List<HotelDescriptiveContent.HotelInfo.CategoryCodes.ArchitecturalStyle> getArchitecturalStyles()
Get the list of 'ArchitecturalStyle' element items. Used to define specific hotel information such as the type, location and architectural style.

Returns:
list

setArchitecturalStyles

public void setArchitecturalStyles(java.util.List<HotelDescriptiveContent.HotelInfo.CategoryCodes.ArchitecturalStyle> list)
Set the list of 'ArchitecturalStyle' element items. Used to define specific hotel information such as the type, location and architectural style.

Parameters:
list -

sizeArchitecturalStyles

public int sizeArchitecturalStyles()
Get the number of 'ArchitecturalStyle' element items.

Returns:
count

addArchitecturalStyle

public void addArchitecturalStyle(HotelDescriptiveContent.HotelInfo.CategoryCodes.ArchitecturalStyle item)
Add a 'ArchitecturalStyle' element item.

Parameters:
item -

getArchitecturalStyle

public HotelDescriptiveContent.HotelInfo.CategoryCodes.ArchitecturalStyle getArchitecturalStyle(int index)
Get 'ArchitecturalStyle' element item by position.

Parameters:
index -
Returns:
item

clearArchitecturalStyles

public void clearArchitecturalStyles()
Remove all 'ArchitecturalStyle' element items.


getGuestRoomInfos

public java.util.List<HotelDescriptiveContent.HotelInfo.CategoryCodes.GuestRoomInfo> getGuestRoomInfos()
Get the list of 'GuestRoomInfo' element items. Used to define specific hotel information such as the type, location and architectural style.

Returns:
list

setGuestRoomInfos

public void setGuestRoomInfos(java.util.List<HotelDescriptiveContent.HotelInfo.CategoryCodes.GuestRoomInfo> list)
Set the list of 'GuestRoomInfo' element items. Used to define specific hotel information such as the type, location and architectural style.

Parameters:
list -

sizeGuestRoomInfos

public int sizeGuestRoomInfos()
Get the number of 'GuestRoomInfo' element items.

Returns:
count

addGuestRoomInfo

public void addGuestRoomInfo(HotelDescriptiveContent.HotelInfo.CategoryCodes.GuestRoomInfo item)
Add a 'GuestRoomInfo' element item.

Parameters:
item -

getGuestRoomInfo

public HotelDescriptiveContent.HotelInfo.CategoryCodes.GuestRoomInfo getGuestRoomInfo(int index)
Get 'GuestRoomInfo' element item by position.

Parameters:
index -
Returns:
item

clearGuestRoomInfos

public void clearGuestRoomInfos()
Remove all 'GuestRoomInfo' element items.