org.ota.hotel
Class Statistics

java.lang.Object
  extended by org.ota.hotel.Statistics

public class Statistics
extends java.lang.Object

Collection of Statistic Elements. Schema fragment(s) for this class:

 <xs:complexType xmlns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="StatisticsType">
   <xs:sequence>
     <xs:element type="StatisticType" name="Statistic" maxOccurs="unbounded">
       <!-- Reference to inner class Statistic -->
     </xs:element>
   </xs:sequence>
 </xs:complexType>
 


Nested Class Summary
static class Statistics.Statistic
          Used to define the report fiscal date, report code, and the hotel(s) for which data is being reported.
 
Constructor Summary
Statistics()
           
 
Method Summary
 void addStatistic(Statistics.Statistic item)
          Add a 'Statistic' element item.
 void clearStatistics()
          Remove all 'Statistic' element items.
 Statistics.Statistic getStatistic(int index)
          Get 'Statistic' element item by position.
 java.util.List<Statistics.Statistic> getStatistics()
          Get the list of 'Statistic' element items.
 void setStatistics(java.util.List<Statistics.Statistic> list)
          Set the list of 'Statistic' element items.
 int sizeStatistics()
          Get the number of 'Statistic' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Statistics

public Statistics()
Method Detail

getStatistics

public java.util.List<Statistics.Statistic> getStatistics()
Get the list of 'Statistic' element items.

Returns:
list

setStatistics

public void setStatistics(java.util.List<Statistics.Statistic> list)
Set the list of 'Statistic' element items.

Parameters:
list -

sizeStatistics

public int sizeStatistics()
Get the number of 'Statistic' element items.

Returns:
count

addStatistic

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

Parameters:
item -

getStatistic

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

Parameters:
index -
Returns:
item

clearStatistics

public void clearStatistics()
Remove all 'Statistic' element items.