org.ota.hotel
Class HotelDescriptiveContent.AreaInfo.Recreations

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

public static class HotelDescriptiveContent.AreaInfo.Recreations
extends java.lang.Object

A collection of Recreation objects identifying the different types of recreation facilities available to the guest. 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="Recreations" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="Recreation" maxOccurs="unbounded">
         <!-- Reference to inner class Recreation -->
       </xs:element>
     </xs:sequence>
     <xs:attribute type="xs:dateTime" use="optional" name="LastUpdated"/>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class HotelDescriptiveContent.AreaInfo.Recreations.Recreation
          A recreation facility available to the guest.
 
Constructor Summary
HotelDescriptiveContent.AreaInfo.Recreations()
           
 
Method Summary
 void addRecreation(HotelDescriptiveContent.AreaInfo.Recreations.Recreation item)
          Add a 'Recreation' element item.
 void clearRecreations()
          Remove all 'Recreation' element items.
 java.util.Date getLastUpdated()
          Get the 'LastUpdated' attribute value.
 HotelDescriptiveContent.AreaInfo.Recreations.Recreation getRecreation(int index)
          Get 'Recreation' element item by position.
 java.util.List<HotelDescriptiveContent.AreaInfo.Recreations.Recreation> getRecreations()
          Get the list of 'Recreation' element items.
 void setLastUpdated(java.util.Date lastUpdated)
          Set the 'LastUpdated' attribute value.
 void setRecreations(java.util.List<HotelDescriptiveContent.AreaInfo.Recreations.Recreation> list)
          Set the list of 'Recreation' element items.
 int sizeRecreations()
          Get the number of 'Recreation' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HotelDescriptiveContent.AreaInfo.Recreations

public HotelDescriptiveContent.AreaInfo.Recreations()
Method Detail

getRecreations

public java.util.List<HotelDescriptiveContent.AreaInfo.Recreations.Recreation> getRecreations()
Get the list of 'Recreation' element items.

Returns:
list

setRecreations

public void setRecreations(java.util.List<HotelDescriptiveContent.AreaInfo.Recreations.Recreation> list)
Set the list of 'Recreation' element items.

Parameters:
list -

sizeRecreations

public int sizeRecreations()
Get the number of 'Recreation' element items.

Returns:
count

addRecreation

public void addRecreation(HotelDescriptiveContent.AreaInfo.Recreations.Recreation item)
Add a 'Recreation' element item.

Parameters:
item -

getRecreation

public HotelDescriptiveContent.AreaInfo.Recreations.Recreation getRecreation(int index)
Get 'Recreation' element item by position.

Parameters:
index -
Returns:
item

clearRecreations

public void clearRecreations()
Remove all 'Recreation' element items.


getLastUpdated

public java.util.Date getLastUpdated()
Get the 'LastUpdated' attribute value. The date and time when Recreations was last updated.

Returns:
value

setLastUpdated

public void setLastUpdated(java.util.Date lastUpdated)
Set the 'LastUpdated' attribute value. The date and time when Recreations was last updated.

Parameters:
lastUpdated -