org.ota.hotel
Class RFPResponse.RFPResponseSegment.Sites

java.lang.Object
  extended by org.ota.hotel.RFPResponse.RFPResponseSegment.Sites
Enclosing class:
RFPResponse.RFPResponseSegment

public static class RFPResponse.RFPResponseSegment.Sites
extends java.lang.Object

A collection of sites that the response is being submitted for (e.g. a hotel, national sales office, convention center). 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="Sites" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="Site" maxOccurs="unbounded">
         <!-- Reference to inner class Site -->
       </xs:element>
     </xs:sequence>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class RFPResponse.RFPResponseSegment.Sites.Site
          Specifies an individual destination of the response.
 
Constructor Summary
RFPResponse.RFPResponseSegment.Sites()
           
 
Method Summary
 void addSite(RFPResponse.RFPResponseSegment.Sites.Site item)
          Add a 'Site' element item.
 void clearSites()
          Remove all 'Site' element items.
 RFPResponse.RFPResponseSegment.Sites.Site getSite(int index)
          Get 'Site' element item by position.
 java.util.List<RFPResponse.RFPResponseSegment.Sites.Site> getSites()
          Get the list of 'Site' element items.
 void setSites(java.util.List<RFPResponse.RFPResponseSegment.Sites.Site> list)
          Set the list of 'Site' element items.
 int sizeSites()
          Get the number of 'Site' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RFPResponse.RFPResponseSegment.Sites

public RFPResponse.RFPResponseSegment.Sites()
Method Detail

getSites

public java.util.List<RFPResponse.RFPResponseSegment.Sites.Site> getSites()
Get the list of 'Site' element items.

Returns:
list

setSites

public void setSites(java.util.List<RFPResponse.RFPResponseSegment.Sites.Site> list)
Set the list of 'Site' element items.

Parameters:
list -

sizeSites

public int sizeSites()
Get the number of 'Site' element items.

Returns:
count

addSite

public void addSite(RFPResponse.RFPResponseSegment.Sites.Site item)
Add a 'Site' element item.

Parameters:
item -

getSite

public RFPResponse.RFPResponseSegment.Sites.Site getSite(int index)
Get 'Site' element item by position.

Parameters:
index -
Returns:
item

clearSites

public void clearSites()
Remove all 'Site' element items.