org.ota.hotel
Class RFPTransientRQ.Comments

java.lang.Object
  extended by org.ota.hotel.RFPTransientRQ.Comments
Enclosing class:
RFPTransientRQ

public static class RFPTransientRQ.Comments
extends java.lang.Object

A collection of Comment elements. 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="Comments" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="Comment" maxOccurs="unbounded">
         <!-- Reference to inner class Comment -->
       </xs:element>
     </xs:sequence>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class RFPTransientRQ.Comments.Comment
          May be used to send textual information regarding the request such as questions, legal text, special requests, etc.
 
Constructor Summary
RFPTransientRQ.Comments()
           
 
Method Summary
 void addComment(RFPTransientRQ.Comments.Comment item)
          Add a 'Comment' element item.
 void clearComments()
          Remove all 'Comment' element items.
 RFPTransientRQ.Comments.Comment getComment(int index)
          Get 'Comment' element item by position.
 java.util.List<RFPTransientRQ.Comments.Comment> getComments()
          Get the list of 'Comment' element items.
 void setComments(java.util.List<RFPTransientRQ.Comments.Comment> list)
          Set the list of 'Comment' element items.
 int sizeComments()
          Get the number of 'Comment' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RFPTransientRQ.Comments

public RFPTransientRQ.Comments()
Method Detail

getComments

public java.util.List<RFPTransientRQ.Comments.Comment> getComments()
Get the list of 'Comment' element items.

Returns:
list

setComments

public void setComments(java.util.List<RFPTransientRQ.Comments.Comment> list)
Set the list of 'Comment' element items.

Parameters:
list -

sizeComments

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

Returns:
count

addComment

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

Parameters:
item -

getComment

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

Parameters:
index -
Returns:
item

clearComments

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