org.ota.vehicle
Class Coverage

java.lang.Object
  extended by org.ota.vehicle.Coverage

public class Coverage
extends java.lang.Object

The CoverageType complex type describes the data that is needed to fully describe a vehicle coverage, including the core details along with optional descriptions. Schema fragment(s) for this class:

 <xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="CoverageType">
   <xs:sequence>
     <xs:element type="ns:CoverageDetailsType" name="Details" minOccurs="0" maxOccurs="3"/>
   </xs:sequence>
   <xs:attributeGroup ref="ns:CoverageCoreGroup"/>
 </xs:complexType>
 


Constructor Summary
Coverage()
           
 
Method Summary
 void addDetail(CoverageDetails item)
          Add a 'Details' element item.
 void clearDetails()
          Remove all 'Details' element items.
 CoverageCoreGroup getCoverageCoreGroup()
          Get the 'CoverageCoreGroup' attributeGroup value.
 CoverageDetails getDetail(int index)
          Get 'Details' element item by position.
 java.util.List<CoverageDetails> getDetails()
          Get the list of 'Details' element items.
 void setCoverageCoreGroup(CoverageCoreGroup coverageCoreGroup)
          Set the 'CoverageCoreGroup' attributeGroup value.
 void setDetails(java.util.List<CoverageDetails> list)
          Set the list of 'Details' element items.
 int sizeDetails()
          Get the number of 'Details' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Coverage

public Coverage()
Method Detail

getDetails

public java.util.List<CoverageDetails> getDetails()
Get the list of 'Details' element items. Textual information about coverage, such as coverage limit or descriptions.

Returns:
list

setDetails

public void setDetails(java.util.List<CoverageDetails> list)
Set the list of 'Details' element items. Textual information about coverage, such as coverage limit or descriptions.

Parameters:
list -

sizeDetails

public int sizeDetails()
Get the number of 'Details' element items.

Returns:
count

addDetail

public void addDetail(CoverageDetails item)
Add a 'Details' element item.

Parameters:
item -

getDetail

public CoverageDetails getDetail(int index)
Get 'Details' element item by position.

Parameters:
index -
Returns:
item

clearDetails

public void clearDetails()
Remove all 'Details' element items.


getCoverageCoreGroup

public CoverageCoreGroup getCoverageCoreGroup()
Get the 'CoverageCoreGroup' attributeGroup value.

Returns:
value

setCoverageCoreGroup

public void setCoverageCoreGroup(CoverageCoreGroup coverageCoreGroup)
Set the 'CoverageCoreGroup' attributeGroup value.

Parameters:
coverageCoreGroup -