org.ota.cruise
Class InfoRQ

java.lang.Object
  extended by org.ota.cruise.InfoRQ

public class InfoRQ
extends java.lang.Object

Used to request miscellaneous structured cruise information (e.g., cruise ship characteristics, embark/debark time for cruise, cruise policy, cruise line contact). 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_CruiseInfoRQ">
   <xs:complexType>
     <xs:sequence>
       <xs:element type="ns:POS_Type" name="POS"/>
       <xs:element name="InformationType" maxOccurs="100">
         <!-- Reference to inner class Information -->
       </xs:element>
     </xs:sequence>
     <xs:attributeGroup ref="ns:OTA_PayloadStdAttributes"/>
     <xs:attributeGroup ref="ns:ResponseGroup"/>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class InfoRQ.Information
          Used to define an information request.
 
Constructor Summary
InfoRQ()
           
 
Method Summary
 void addInformation(InfoRQ.Information item)
          Add a 'InformationType' element item.
 void clearInformations()
          Remove all 'InformationType' element items.
 InfoRQ.Information getInformation(int index)
          Get 'InformationType' element item by position.
 java.util.List<InfoRQ.Information> getInformations()
          Get the list of 'InformationType' element items.
 OTAPayloadStdAttributes getOTAPayloadStdAttributes()
          Get the 'OTA_PayloadStdAttributes' attributeGroup value.
 POS getPOS()
          Get the 'POS' element value.
 ResponseGroup getResponseGroup()
          Get the 'ResponseGroup' attributeGroup value.
 void setInformations(java.util.List<InfoRQ.Information> list)
          Set the list of 'InformationType' element items.
 void setOTAPayloadStdAttributes(OTAPayloadStdAttributes OTAPayloadStdAttributes)
          Set the 'OTA_PayloadStdAttributes' attributeGroup value.
 void setPOS(POS POS)
          Set the 'POS' element value.
 void setResponseGroup(ResponseGroup responseGroup)
          Set the 'ResponseGroup' attributeGroup value.
 int sizeInformations()
          Get the number of 'InformationType' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InfoRQ

public InfoRQ()
Method Detail

getPOS

public POS getPOS()
Get the 'POS' element value. Point of sale object.

Returns:
value

setPOS

public void setPOS(POS POS)
Set the 'POS' element value. Point of sale object.

Parameters:
POS -

getInformations

public java.util.List<InfoRQ.Information> getInformations()
Get the list of 'InformationType' element items.

Returns:
list

setInformations

public void setInformations(java.util.List<InfoRQ.Information> list)
Set the list of 'InformationType' element items.

Parameters:
list -

sizeInformations

public int sizeInformations()
Get the number of 'InformationType' element items.

Returns:
count

addInformation

public void addInformation(InfoRQ.Information item)
Add a 'InformationType' element item.

Parameters:
item -

getInformation

public InfoRQ.Information getInformation(int index)
Get 'InformationType' element item by position.

Parameters:
index -
Returns:
item

clearInformations

public void clearInformations()
Remove all 'InformationType' element items.


getOTAPayloadStdAttributes

public OTAPayloadStdAttributes getOTAPayloadStdAttributes()
Get the 'OTA_PayloadStdAttributes' attributeGroup value. The 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. The standard attributes that appear on the root element for all OpenTravel Messages.

Parameters:
OTAPayloadStdAttributes -

getResponseGroup

public ResponseGroup getResponseGroup()
Get the 'ResponseGroup' attributeGroup value. Provides the echo token to be used to retrieve additional records.

Returns:
value

setResponseGroup

public void setResponseGroup(ResponseGroup responseGroup)
Set the 'ResponseGroup' attributeGroup value. Provides the echo token to be used to retrieve additional records.

Parameters:
responseGroup -