org.ota.hotel
Class RFPResponse.RFPResponseSegment.Sites.Site.InsuranceInfos

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

public static class RFPResponse.RFPResponseSegment.Sites.Site.InsuranceInfos
extends java.lang.Object

A collection of Insurance Information 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="InsuranceInfos" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="InsuranceInfo" minOccurs="0" maxOccurs="99">
         <!-- Reference to inner class InsuranceInfo -->
       </xs:element>
       <xs:element type="ns:ParagraphType" name="Comments" minOccurs="0" maxOccurs="5"/>
     </xs:sequence>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class RFPResponse.RFPResponseSegment.Sites.Site.InsuranceInfos.InsuranceInfo
          Indicates the type of insurance that the site carries and the coverage amount.
 
Constructor Summary
RFPResponse.RFPResponseSegment.Sites.Site.InsuranceInfos()
           
 
Method Summary
 void addComment(Paragraph item)
          Add a 'Comments' element item.
 void addInsuranceInfo(RFPResponse.RFPResponseSegment.Sites.Site.InsuranceInfos.InsuranceInfo item)
          Add a 'InsuranceInfo' element item.
 void clearComments()
          Remove all 'Comments' element items.
 void clearInsuranceInfos()
          Remove all 'InsuranceInfo' element items.
 Paragraph getComment(int index)
          Get 'Comments' element item by position.
 java.util.List<Paragraph> getComments()
          Get the list of 'Comments' element items.
 RFPResponse.RFPResponseSegment.Sites.Site.InsuranceInfos.InsuranceInfo getInsuranceInfo(int index)
          Get 'InsuranceInfo' element item by position.
 java.util.List<RFPResponse.RFPResponseSegment.Sites.Site.InsuranceInfos.InsuranceInfo> getInsuranceInfos()
          Get the list of 'InsuranceInfo' element items.
 void setComments(java.util.List<Paragraph> list)
          Set the list of 'Comments' element items.
 void setInsuranceInfos(java.util.List<RFPResponse.RFPResponseSegment.Sites.Site.InsuranceInfos.InsuranceInfo> list)
          Set the list of 'InsuranceInfo' element items.
 int sizeComments()
          Get the number of 'Comments' element items.
 int sizeInsuranceInfos()
          Get the number of 'InsuranceInfo' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RFPResponse.RFPResponseSegment.Sites.Site.InsuranceInfos

public RFPResponse.RFPResponseSegment.Sites.Site.InsuranceInfos()
Method Detail

getInsuranceInfos

public java.util.List<RFPResponse.RFPResponseSegment.Sites.Site.InsuranceInfos.InsuranceInfo> getInsuranceInfos()
Get the list of 'InsuranceInfo' element items.

Returns:
list

setInsuranceInfos

public void setInsuranceInfos(java.util.List<RFPResponse.RFPResponseSegment.Sites.Site.InsuranceInfos.InsuranceInfo> list)
Set the list of 'InsuranceInfo' element items.

Parameters:
list -

sizeInsuranceInfos

public int sizeInsuranceInfos()
Get the number of 'InsuranceInfo' element items.

Returns:
count

addInsuranceInfo

public void addInsuranceInfo(RFPResponse.RFPResponseSegment.Sites.Site.InsuranceInfos.InsuranceInfo item)
Add a 'InsuranceInfo' element item.

Parameters:
item -

getInsuranceInfo

public RFPResponse.RFPResponseSegment.Sites.Site.InsuranceInfos.InsuranceInfo getInsuranceInfo(int index)
Get 'InsuranceInfo' element item by position.

Parameters:
index -
Returns:
item

clearInsuranceInfos

public void clearInsuranceInfos()
Remove all 'InsuranceInfo' element items.


getComments

public java.util.List<Paragraph> getComments()
Get the list of 'Comments' element items. An open field to comment on insurance information.

Returns:
list

setComments

public void setComments(java.util.List<Paragraph> list)
Set the list of 'Comments' element items. An open field to comment on insurance information.

Parameters:
list -

sizeComments

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

Returns:
count

addComment

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

Parameters:
item -

getComment

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

Parameters:
index -
Returns:
item

clearComments

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