org.ota.hotel
Class Viewerships.Viewership.SystemCodes

java.lang.Object
  extended by org.ota.hotel.Viewerships.Viewership.SystemCodes
Enclosing class:
Viewerships.Viewership

public static class Viewerships.Viewership.SystemCodes
extends java.lang.Object

A collection of system codes. 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="SystemCodes" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="SystemCode" maxOccurs="unbounded">
         <!-- Reference to inner class SystemCode -->
       </xs:element>
     </xs:sequence>
     <xs:attribute type="xs:boolean" use="optional" name="SystemCodesInclusive"/>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class Viewerships.Viewership.SystemCodes.SystemCode
          The system code (e.g., AA, 1P, 1G, 1A) associated with this viewership record.
 
Constructor Summary
Viewerships.Viewership.SystemCodes()
           
 
Method Summary
 void addSystemCode(Viewerships.Viewership.SystemCodes.SystemCode item)
          Add a 'SystemCode' element item.
 void clearSystemCodes()
          Remove all 'SystemCode' element items.
 Viewerships.Viewership.SystemCodes.SystemCode getSystemCode(int index)
          Get 'SystemCode' element item by position.
 java.util.List<Viewerships.Viewership.SystemCodes.SystemCode> getSystemCodes()
          Get the list of 'SystemCode' element items.
 java.lang.Boolean getSystemCodesInclusive()
          Get the 'SystemCodesInclusive' attribute value.
 void setSystemCodes(java.util.List<Viewerships.Viewership.SystemCodes.SystemCode> list)
          Set the list of 'SystemCode' element items.
 void setSystemCodesInclusive(java.lang.Boolean systemCodesInclusive)
          Set the 'SystemCodesInclusive' attribute value.
 int sizeSystemCodes()
          Get the number of 'SystemCode' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Viewerships.Viewership.SystemCodes

public Viewerships.Viewership.SystemCodes()
Method Detail

getSystemCodes

public java.util.List<Viewerships.Viewership.SystemCodes.SystemCode> getSystemCodes()
Get the list of 'SystemCode' element items.

Returns:
list

setSystemCodes

public void setSystemCodes(java.util.List<Viewerships.Viewership.SystemCodes.SystemCode> list)
Set the list of 'SystemCode' element items.

Parameters:
list -

sizeSystemCodes

public int sizeSystemCodes()
Get the number of 'SystemCode' element items.

Returns:
count

addSystemCode

public void addSystemCode(Viewerships.Viewership.SystemCodes.SystemCode item)
Add a 'SystemCode' element item.

Parameters:
item -

getSystemCode

public Viewerships.Viewership.SystemCodes.SystemCode getSystemCode(int index)
Get 'SystemCode' element item by position.

Parameters:
index -
Returns:
item

clearSystemCodes

public void clearSystemCodes()
Remove all 'SystemCode' element items.


getSystemCodesInclusive

public java.lang.Boolean getSystemCodesInclusive()
Get the 'SystemCodesInclusive' attribute value. Indicates whether the collection of System Codes is inclusive or exclusive.Values: false=Exclusive, true=Inclusive.

Returns:
value

setSystemCodesInclusive

public void setSystemCodesInclusive(java.lang.Boolean systemCodesInclusive)
Set the 'SystemCodesInclusive' attribute value. Indicates whether the collection of System Codes is inclusive or exclusive.Values: false=Exclusive, true=Inclusive.

Parameters:
systemCodesInclusive -