org.ota.shared
Class RateQualifier.RateComments

java.lang.Object
  extended by org.ota.shared.RateQualifier.RateComments
Enclosing class:
RateQualifier

public static class RateQualifier.RateComments
extends java.lang.Object

Collection of rate comments. 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="RateComments" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="RateComment" maxOccurs="15">
         <!-- Reference to inner class RateComment -->
       </xs:element>
     </xs:sequence>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class RateQualifier.RateComments.RateComment
          This may be used to provide any additional information about rates (e.g., must return by Monday at 8 AM).
 
Constructor Summary
RateQualifier.RateComments()
           
 
Method Summary
 void addRateComment(RateQualifier.RateComments.RateComment item)
          Add a 'RateComment' element item.
 void clearRateComments()
          Remove all 'RateComment' element items.
 RateQualifier.RateComments.RateComment getRateComment(int index)
          Get 'RateComment' element item by position.
 java.util.List<RateQualifier.RateComments.RateComment> getRateComments()
          Get the list of 'RateComment' element items.
 void setRateComments(java.util.List<RateQualifier.RateComments.RateComment> list)
          Set the list of 'RateComment' element items.
 int sizeRateComments()
          Get the number of 'RateComment' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RateQualifier.RateComments

public RateQualifier.RateComments()
Method Detail

getRateComments

public java.util.List<RateQualifier.RateComments.RateComment> getRateComments()
Get the list of 'RateComment' element items.

Returns:
list

setRateComments

public void setRateComments(java.util.List<RateQualifier.RateComments.RateComment> list)
Set the list of 'RateComment' element items.

Parameters:
list -

sizeRateComments

public int sizeRateComments()
Get the number of 'RateComment' element items.

Returns:
count

addRateComment

public void addRateComment(RateQualifier.RateComments.RateComment item)
Add a 'RateComment' element item.

Parameters:
item -

getRateComment

public RateQualifier.RateComments.RateComment getRateComment(int index)
Get 'RateComment' element item by position.

Parameters:
index -
Returns:
item

clearRateComments

public void clearRateComments()
Remove all 'RateComment' element items.