org.ota.hotel
Class Statistics.Statistic.StatisticApplicationSet.StatisticCodes

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

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

Collection of StatisticCode elements. Used if data is partitioned/aggregated. 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="StatisticCodes" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="StatisticCode" maxOccurs="5">
         <!-- Reference to inner class StatisticCode -->
       </xs:element>
     </xs:sequence>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class Statistics.Statistic.StatisticApplicationSet.StatisticCodes.StatisticCode
          Defines the codes and corresponding categories for which the data in the other elements has been gathered.
 
Constructor Summary
Statistics.Statistic.StatisticApplicationSet.StatisticCodes()
           
 
Method Summary
 void addStatisticCode(Statistics.Statistic.StatisticApplicationSet.StatisticCodes.StatisticCode item)
          Add a 'StatisticCode' element item.
 void clearStatisticCodes()
          Remove all 'StatisticCode' element items.
 Statistics.Statistic.StatisticApplicationSet.StatisticCodes.StatisticCode getStatisticCode(int index)
          Get 'StatisticCode' element item by position.
 java.util.List<Statistics.Statistic.StatisticApplicationSet.StatisticCodes.StatisticCode> getStatisticCodes()
          Get the list of 'StatisticCode' element items.
 void setStatisticCodes(java.util.List<Statistics.Statistic.StatisticApplicationSet.StatisticCodes.StatisticCode> list)
          Set the list of 'StatisticCode' element items.
 int sizeStatisticCodes()
          Get the number of 'StatisticCode' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Statistics.Statistic.StatisticApplicationSet.StatisticCodes

public Statistics.Statistic.StatisticApplicationSet.StatisticCodes()
Method Detail

getStatisticCodes

public java.util.List<Statistics.Statistic.StatisticApplicationSet.StatisticCodes.StatisticCode> getStatisticCodes()
Get the list of 'StatisticCode' element items.

Returns:
list

setStatisticCodes

public void setStatisticCodes(java.util.List<Statistics.Statistic.StatisticApplicationSet.StatisticCodes.StatisticCode> list)
Set the list of 'StatisticCode' element items.

Parameters:
list -

sizeStatisticCodes

public int sizeStatisticCodes()
Get the number of 'StatisticCode' element items.

Returns:
count

addStatisticCode

public void addStatisticCode(Statistics.Statistic.StatisticApplicationSet.StatisticCodes.StatisticCode item)
Add a 'StatisticCode' element item.

Parameters:
item -

getStatisticCode

public Statistics.Statistic.StatisticApplicationSet.StatisticCodes.StatisticCode getStatisticCode(int index)
Get 'StatisticCode' element item by position.

Parameters:
index -
Returns:
item

clearStatisticCodes

public void clearStatisticCodes()
Remove all 'StatisticCode' element items.