org.ota.hotel
Class Statistics.Statistic

java.lang.Object
  extended by org.ota.hotel.Statistics.Statistic
Enclosing class:
Statistics

public static class Statistics.Statistic
extends java.lang.Object

Used to define the report fiscal date, report code, and the hotel(s) for which data is being reported. 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:StatisticType" name="Statistic" maxOccurs="unbounded"/>
 
 <xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="StatisticType">
   <xs:sequence>
     <xs:element name="StatisticApplicationSets">
       <xs:complexType>
         <xs:sequence>
           <xs:element type="ns:StatisticApplicationSetType" name="StatisticApplicationSet" maxOccurs="unbounded">
             <!-- Reference to inner class StatisticApplicationSet -->
           </xs:element>
         </xs:sequence>
       </xs:complexType>
     </xs:element>
   </xs:sequence>
   <xs:attributeGroup ref="ns:HotelReferenceGroup"/>
   <xs:attributeGroup ref="ns:StatisticReportGroup"/>
 </xs:complexType>
 


Nested Class Summary
static class Statistics.Statistic.StatisticApplicationSet
          Repeated for each date or set of statistic codes.
 
Constructor Summary
Statistics.Statistic()
           
 
Method Summary
 void addStatisticApplicationSet(Statistics.Statistic.StatisticApplicationSet item)
          Add a 'StatisticApplicationSet' element item.
 void clearStatisticApplicationSets()
          Remove all 'StatisticApplicationSet' element items.
 HotelReferenceGroup getHotelReferenceGroup()
          Get the 'HotelReferenceGroup' attributeGroup value.
 Statistics.Statistic.StatisticApplicationSet getStatisticApplicationSet(int index)
          Get 'StatisticApplicationSet' element item by position.
 java.util.List<Statistics.Statistic.StatisticApplicationSet> getStatisticApplicationSets()
          Get the list of 'StatisticApplicationSet' element items.
 StatisticReportGroup getStatisticReportGroup()
          Get the 'StatisticReportGroup' attributeGroup value.
 void setHotelReferenceGroup(HotelReferenceGroup hotelReferenceGroup)
          Set the 'HotelReferenceGroup' attributeGroup value.
 void setStatisticApplicationSets(java.util.List<Statistics.Statistic.StatisticApplicationSet> list)
          Set the list of 'StatisticApplicationSet' element items.
 void setStatisticReportGroup(StatisticReportGroup statisticReportGroup)
          Set the 'StatisticReportGroup' attributeGroup value.
 int sizeStatisticApplicationSets()
          Get the number of 'StatisticApplicationSet' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Statistics.Statistic

public Statistics.Statistic()
Method Detail

getStatisticApplicationSets

public java.util.List<Statistics.Statistic.StatisticApplicationSet> getStatisticApplicationSets()
Get the list of 'StatisticApplicationSet' element items. Collection of StatisticApplicationSet Elements.

Returns:
list

setStatisticApplicationSets

public void setStatisticApplicationSets(java.util.List<Statistics.Statistic.StatisticApplicationSet> list)
Set the list of 'StatisticApplicationSet' element items. Collection of StatisticApplicationSet Elements.

Parameters:
list -

sizeStatisticApplicationSets

public int sizeStatisticApplicationSets()
Get the number of 'StatisticApplicationSet' element items.

Returns:
count

addStatisticApplicationSet

public void addStatisticApplicationSet(Statistics.Statistic.StatisticApplicationSet item)
Add a 'StatisticApplicationSet' element item.

Parameters:
item -

getStatisticApplicationSet

public Statistics.Statistic.StatisticApplicationSet getStatisticApplicationSet(int index)
Get 'StatisticApplicationSet' element item by position.

Parameters:
index -
Returns:
item

clearStatisticApplicationSets

public void clearStatisticApplicationSets()
Remove all 'StatisticApplicationSet' element items.


getHotelReferenceGroup

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

Returns:
value

setHotelReferenceGroup

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

Parameters:
hotelReferenceGroup -

getStatisticReportGroup

public StatisticReportGroup getStatisticReportGroup()
Get the 'StatisticReportGroup' attributeGroup value.

Returns:
value

setStatisticReportGroup

public void setStatisticReportGroup(StatisticReportGroup statisticReportGroup)
Set the 'StatisticReportGroup' attributeGroup value.

Parameters:
statisticReportGroup -