org.ota.tour
Class InformationNotifRQ

java.lang.Object
  extended by org.ota.tour.InformationNotifRQ

public class InformationNotifRQ
extends java.lang.Object

Used to push information about one or more tours. 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="OTA_TourInformationNotifRQ">
   <xs:complexType>
     <xs:sequence>
       <xs:element type="ns:POS_Type" name="POS" minOccurs="0"/>
       <xs:element name="TourInformationItems">
         <xs:complexType>
           <xs:sequence>
             <xs:element type="ns:TourInformationType" name="TourInformationItem" maxOccurs="unbounded"/>
           </xs:sequence>
         </xs:complexType>
       </xs:element>
     </xs:sequence>
     <xs:attributeGroup ref="ns:OTA_PayloadStdAttributes"/>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
InformationNotifRQ()
           
 
Method Summary
 void addTourInformationItem(TourInformation item)
          Add a 'TourInformationItem' element item.
 void clearTourInformationItems()
          Remove all 'TourInformationItem' element items.
 OTAPayloadStdAttributes getOTAPayloadStdAttributes()
          Get the 'OTA_PayloadStdAttributes' attributeGroup value.
 POS getPOS()
          Get the 'POS' element value.
 TourInformation getTourInformationItem(int index)
          Get 'TourInformationItem' element item by position.
 java.util.List<TourInformation> getTourInformationItems()
          Get the list of 'TourInformationItem' element items.
 void setOTAPayloadStdAttributes(OTAPayloadStdAttributes OTAPayloadStdAttributes)
          Set the 'OTA_PayloadStdAttributes' attributeGroup value.
 void setPOS(POS POS)
          Set the 'POS' element value.
 void setTourInformationItems(java.util.List<TourInformation> list)
          Set the list of 'TourInformationItem' element items.
 int sizeTourInformationItems()
          Get the number of 'TourInformationItem' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InformationNotifRQ

public InformationNotifRQ()
Method Detail

getPOS

public POS getPOS()
Get the 'POS' element value. Identifies the party sending the information.

Returns:
value

setPOS

public void setPOS(POS POS)
Set the 'POS' element value. Identifies the party sending the information.

Parameters:
POS -

getTourInformationItems

public java.util.List<TourInformation> getTourInformationItems()
Get the list of 'TourInformationItem' element items. A collection of tour information items.

Returns:
list

setTourInformationItems

public void setTourInformationItems(java.util.List<TourInformation> list)
Set the list of 'TourInformationItem' element items. A collection of tour information items.

Parameters:
list -

sizeTourInformationItems

public int sizeTourInformationItems()
Get the number of 'TourInformationItem' element items.

Returns:
count

addTourInformationItem

public void addTourInformationItem(TourInformation item)
Add a 'TourInformationItem' element item.

Parameters:
item -

getTourInformationItem

public TourInformation getTourInformationItem(int index)
Get 'TourInformationItem' element item by position.

Parameters:
index -
Returns:
item

clearTourInformationItems

public void clearTourInformationItems()
Remove all 'TourInformationItem' element items.


getOTAPayloadStdAttributes

public OTAPayloadStdAttributes getOTAPayloadStdAttributes()
Get the 'OTA_PayloadStdAttributes' attributeGroup value. This element defines standard attributes that appear on the root element for all OpenTravel Messages.

Returns:
value

setOTAPayloadStdAttributes

public void setOTAPayloadStdAttributes(OTAPayloadStdAttributes OTAPayloadStdAttributes)
Set the 'OTA_PayloadStdAttributes' attributeGroup value. This element defines standard attributes that appear on the root element for all OpenTravel Messages.

Parameters:
OTAPayloadStdAttributes -