org.ota.hotel
Class RFPResponse.RFPResponseSegment

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

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

This is the response data for a block of rooms and/or meeting space. 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="RFP_ResponseSegment" maxOccurs="99">
   <xs:complexType>
     <xs:sequence>
       <xs:element type="ns:ProfilesType" name="Profiles" minOccurs="0"/>
       <xs:element name="Sites" minOccurs="0">
         <!-- Reference to inner class Sites -->
       </xs:element>
       <xs:element type="ns:ParagraphType" name="Comment" minOccurs="0" maxOccurs="5"/>
       <xs:element type="ns:UniqueID_Type" name="RFP_ID" minOccurs="0" maxOccurs="9"/>
       <xs:element ref="ns:TPA_Extensions" minOccurs="0"/>
     </xs:sequence>
   </xs:complexType>
 </xs:element>
 
 <xs:element xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" type="ns:TPA_ExtensionsType" name="TPA_Extensions"/>
 


Nested Class Summary
static class RFPResponse.RFPResponseSegment.Sites
          A collection of sites that the response is being submitted for (e.g.
 
Constructor Summary
RFPResponse.RFPResponseSegment()
           
 
Method Summary
 void addComment(Paragraph item)
          Add a 'Comment' element item.
 void addRFPID(UniqueID item)
          Add a 'RFP_ID' element item.
 void clearComments()
          Remove all 'Comment' element items.
 void clearRFPIDs()
          Remove all 'RFP_ID' element items.
 Paragraph getComment(int index)
          Get 'Comment' element item by position.
 java.util.List<Paragraph> getComments()
          Get the list of 'Comment' element items.
 Profiles getProfiles()
          Get the 'Profiles' element value.
 UniqueID getRFPID(int index)
          Get 'RFP_ID' element item by position.
 java.util.List<UniqueID> getRFPIDs()
          Get the list of 'RFP_ID' element items.
 RFPResponse.RFPResponseSegment.Sites getSites()
          Get the 'Sites' element value.
 TPAExtensions getTPAExtensions()
          Get the 'TPA_Extensions' element value.
 void setComments(java.util.List<Paragraph> list)
          Set the list of 'Comment' element items.
 void setProfiles(Profiles profiles)
          Set the 'Profiles' element value.
 void setRFPIDs(java.util.List<UniqueID> list)
          Set the list of 'RFP_ID' element items.
 void setSites(RFPResponse.RFPResponseSegment.Sites sites)
          Set the 'Sites' element value.
 void setTPAExtensions(TPAExtensions TPAExtensions)
          Set the 'TPA_Extensions' element value.
 int sizeComments()
          Get the number of 'Comment' element items.
 int sizeRFPIDs()
          Get the number of 'RFP_ID' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RFPResponse.RFPResponseSegment

public RFPResponse.RFPResponseSegment()
Method Detail

getProfiles

public Profiles getProfiles()
Get the 'Profiles' element value. This can be used to echo back the profile information of the submitter of the request.

Returns:
value

setProfiles

public void setProfiles(Profiles profiles)
Set the 'Profiles' element value. This can be used to echo back the profile information of the submitter of the request.

Parameters:
profiles -

getSites

public RFPResponse.RFPResponseSegment.Sites getSites()
Get the 'Sites' element value.

Returns:
value

setSites

public void setSites(RFPResponse.RFPResponseSegment.Sites sites)
Set the 'Sites' element value.

Parameters:
sites -

getComments

public java.util.List<Paragraph> getComments()
Get the list of 'Comment' element items. This holds information that pertains to all sites requested.

Returns:
list

setComments

public void setComments(java.util.List<Paragraph> list)
Set the list of 'Comment' element items. This holds information that pertains to all sites requested.

Parameters:
list -

sizeComments

public int sizeComments()
Get the number of 'Comment' element items.

Returns:
count

addComment

public void addComment(Paragraph item)
Add a 'Comment' element item.

Parameters:
item -

getComment

public Paragraph getComment(int index)
Get 'Comment' element item by position.

Parameters:
index -
Returns:
item

clearComments

public void clearComments()
Remove all 'Comment' element items.


getRFPIDs

public java.util.List<UniqueID> getRFPIDs()
Get the list of 'RFP_ID' element items. This is a UniqueID that is associated with an individual RFP. This element repeats to accommodate the IDs of multiple systems.

Returns:
list

setRFPIDs

public void setRFPIDs(java.util.List<UniqueID> list)
Set the list of 'RFP_ID' element items. This is a UniqueID that is associated with an individual RFP. This element repeats to accommodate the IDs of multiple systems.

Parameters:
list -

sizeRFPIDs

public int sizeRFPIDs()
Get the number of 'RFP_ID' element items.

Returns:
count

addRFPID

public void addRFPID(UniqueID item)
Add a 'RFP_ID' element item.

Parameters:
item -

getRFPID

public UniqueID getRFPID(int index)
Get 'RFP_ID' element item by position.

Parameters:
index -
Returns:
item

clearRFPIDs

public void clearRFPIDs()
Remove all 'RFP_ID' element items.


getTPAExtensions

public TPAExtensions getTPAExtensions()
Get the 'TPA_Extensions' element value. A placeholder in the schema to allow for additional elements and attributes to be included if required, per Trading Partner Agreement (TPA).

Returns:
value

setTPAExtensions

public void setTPAExtensions(TPAExtensions TPAExtensions)
Set the 'TPA_Extensions' element value. A placeholder in the schema to allow for additional elements and attributes to be included if required, per Trading Partner Agreement (TPA).

Parameters:
TPAExtensions -