org.ota.insurance
Class IndCoverageReqs.PreexistingConditions

java.lang.Object
  extended by org.ota.insurance.IndCoverageReqs.PreexistingConditions
Enclosing class:
IndCoverageReqs

public static class IndCoverageReqs.PreexistingConditions
extends java.lang.Object

Contains a description of the traveler's pre-existing conditions, the diagnosis date of the condition, and the date of last treatment. 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="PreexistingConditions" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="PreexistingCondition" maxOccurs="99">
         <!-- Reference to inner class PreexistingCondition -->
       </xs:element>
     </xs:sequence>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class IndCoverageReqs.PreexistingConditions.PreexistingCondition
          Contains information on a single pre-existing condition.
 
Constructor Summary
IndCoverageReqs.PreexistingConditions()
           
 
Method Summary
 void addPreexistingCondition(IndCoverageReqs.PreexistingConditions.PreexistingCondition item)
          Add a 'PreexistingCondition' element item.
 void clearPreexistingConditions()
          Remove all 'PreexistingCondition' element items.
 IndCoverageReqs.PreexistingConditions.PreexistingCondition getPreexistingCondition(int index)
          Get 'PreexistingCondition' element item by position.
 java.util.List<IndCoverageReqs.PreexistingConditions.PreexistingCondition> getPreexistingConditions()
          Get the list of 'PreexistingCondition' element items.
 void setPreexistingConditions(java.util.List<IndCoverageReqs.PreexistingConditions.PreexistingCondition> list)
          Set the list of 'PreexistingCondition' element items.
 int sizePreexistingConditions()
          Get the number of 'PreexistingCondition' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IndCoverageReqs.PreexistingConditions

public IndCoverageReqs.PreexistingConditions()
Method Detail

getPreexistingConditions

public java.util.List<IndCoverageReqs.PreexistingConditions.PreexistingCondition> getPreexistingConditions()
Get the list of 'PreexistingCondition' element items.

Returns:
list

setPreexistingConditions

public void setPreexistingConditions(java.util.List<IndCoverageReqs.PreexistingConditions.PreexistingCondition> list)
Set the list of 'PreexistingCondition' element items.

Parameters:
list -

sizePreexistingConditions

public int sizePreexistingConditions()
Get the number of 'PreexistingCondition' element items.

Returns:
count

addPreexistingCondition

public void addPreexistingCondition(IndCoverageReqs.PreexistingConditions.PreexistingCondition item)
Add a 'PreexistingCondition' element item.

Parameters:
item -

getPreexistingCondition

public IndCoverageReqs.PreexistingConditions.PreexistingCondition getPreexistingCondition(int index)
Get 'PreexistingCondition' element item by position.

Parameters:
index -
Returns:
item

clearPreexistingConditions

public void clearPreexistingConditions()
Remove all 'PreexistingCondition' element items.