org.ota.hotel
Class RFPResponse

java.lang.Object
  extended by org.ota.hotel.RFPResponse
Direct Known Subclasses:
RFPMeetingNotifRQ

public class RFPResponse
extends java.lang.Object

Provides detailed RFP information. Schema fragment(s) for this class:

 <xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="RFP_ResponseType">
   <xs:sequence>
     <xs:element name="RFP_ResponseSegments">
       <xs:complexType>
         <xs:sequence>
           <xs:element name="RFP_ResponseSegment" maxOccurs="99">
             <!-- Reference to inner class RFPResponseSegment -->
           </xs:element>
         </xs:sequence>
       </xs:complexType>
     </xs:element>
     <xs:element type="ns:UniqueID_Type" name="MessageID" minOccurs="0"/>
   </xs:sequence>
 </xs:complexType>
 


Nested Class Summary
static class RFPResponse.RFPResponseSegment
          This is the response data for a block of rooms and/or meeting space.
 
Constructor Summary
RFPResponse()
           
 
Method Summary
 void addRFPResponseSegment(RFPResponse.RFPResponseSegment item)
          Add a 'RFP_ResponseSegment' element item.
 void clearRFPResponseSegments()
          Remove all 'RFP_ResponseSegment' element items.
 UniqueID getMessageID()
          Get the 'MessageID' element value.
 RFPResponse.RFPResponseSegment getRFPResponseSegment(int index)
          Get 'RFP_ResponseSegment' element item by position.
 java.util.List<RFPResponse.RFPResponseSegment> getRFPResponseSegments()
          Get the list of 'RFP_ResponseSegment' element items.
 void setMessageID(UniqueID messageID)
          Set the 'MessageID' element value.
 void setRFPResponseSegments(java.util.List<RFPResponse.RFPResponseSegment> list)
          Set the list of 'RFP_ResponseSegment' element items.
 int sizeRFPResponseSegments()
          Get the number of 'RFP_ResponseSegment' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RFPResponse

public RFPResponse()
Method Detail

getRFPResponseSegments

public java.util.List<RFPResponse.RFPResponseSegment> getRFPResponseSegments()
Get the list of 'RFP_ResponseSegment' element items. A collection of ResponseSegments that allows multiple responses for different blocks of rooms and/or meeting space to be sent in one message.

Returns:
list

setRFPResponseSegments

public void setRFPResponseSegments(java.util.List<RFPResponse.RFPResponseSegment> list)
Set the list of 'RFP_ResponseSegment' element items. A collection of ResponseSegments that allows multiple responses for different blocks of rooms and/or meeting space to be sent in one message.

Parameters:
list -

sizeRFPResponseSegments

public int sizeRFPResponseSegments()
Get the number of 'RFP_ResponseSegment' element items.

Returns:
count

addRFPResponseSegment

public void addRFPResponseSegment(RFPResponse.RFPResponseSegment item)
Add a 'RFP_ResponseSegment' element item.

Parameters:
item -

getRFPResponseSegment

public RFPResponse.RFPResponseSegment getRFPResponseSegment(int index)
Get 'RFP_ResponseSegment' element item by position.

Parameters:
index -
Returns:
item

clearRFPResponseSegments

public void clearRFPResponseSegments()
Remove all 'RFP_ResponseSegment' element items.


getMessageID

public UniqueID getMessageID()
Get the 'MessageID' element value. This is a UniqueID that is associated with the messages that may include more than one RFP. The instance attribute is used to indicate subsequent transmissions of new or updated information (e.g. an initial message will be instance 1 and an update to this message will be reflected with instance 2).

Returns:
value

setMessageID

public void setMessageID(UniqueID messageID)
Set the 'MessageID' element value. This is a UniqueID that is associated with the messages that may include more than one RFP. The instance attribute is used to indicate subsequent transmissions of new or updated information (e.g. an initial message will be instance 1 and an update to this message will be reflected with instance 2).

Parameters:
messageID -