org.ota.vehicle
Class VehicleLocationLiabilities.Coverages.Coverage

java.lang.Object
  extended by org.ota.vehicle.VehicleLocationLiabilities.Coverages.Coverage
Enclosing class:
VehicleLocationLiabilities.Coverages

public static class VehicleLocationLiabilities.Coverages.Coverage
extends java.lang.Object

This element is used to identify one specific coverage, insuranc or waiver, and to identify any fees that may be associated with it. 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="Coverage" minOccurs="0" maxOccurs="99">
   <xs:complexType>
     <xs:sequence>
       <xs:element type="ns:FormattedTextType" name="CoverageInfo" minOccurs="0"/>
       <xs:element name="CoverageFees" minOccurs="0">
         <!-- Reference to inner class CoverageFees -->
       </xs:element>
     </xs:sequence>
     <xs:attribute type="xs:string" use="required" name="Type"/>
     <xs:attribute type="xs:boolean" use="optional" name="RequiredInd"/>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class VehicleLocationLiabilities.Coverages.Coverage.CoverageFees
          A collection of fees associated with this coverage, insurance or waiver.
 
Constructor Summary
VehicleLocationLiabilities.Coverages.Coverage()
           
 
Method Summary
 VehicleLocationLiabilities.Coverages.Coverage.CoverageFees getCoverageFees()
          Get the 'CoverageFees' element value.
 FormattedText getCoverageInfo()
          Get the 'CoverageInfo' element value.
 java.lang.Boolean getRequiredInd()
          Get the 'RequiredInd' attribute value.
 java.lang.String getType()
          Get the 'Type' attribute value.
 void setCoverageFees(VehicleLocationLiabilities.Coverages.Coverage.CoverageFees coverageFees)
          Set the 'CoverageFees' element value.
 void setCoverageInfo(FormattedText coverageInfo)
          Set the 'CoverageInfo' element value.
 void setRequiredInd(java.lang.Boolean requiredInd)
          Set the 'RequiredInd' attribute value.
 void setType(java.lang.String type)
          Set the 'Type' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VehicleLocationLiabilities.Coverages.Coverage

public VehicleLocationLiabilities.Coverages.Coverage()
Method Detail

getCoverageInfo

public FormattedText getCoverageInfo()
Get the 'CoverageInfo' element value. General information about this specific coverage, insurance or fees.

Returns:
value

setCoverageInfo

public void setCoverageInfo(FormattedText coverageInfo)
Set the 'CoverageInfo' element value. General information about this specific coverage, insurance or fees.

Parameters:
coverageInfo -

getCoverageFees

public VehicleLocationLiabilities.Coverages.Coverage.CoverageFees getCoverageFees()
Get the 'CoverageFees' element value.

Returns:
value

setCoverageFees

public void setCoverageFees(VehicleLocationLiabilities.Coverages.Coverage.CoverageFees coverageFees)
Set the 'CoverageFees' element value.

Parameters:
coverageFees -

getType

public java.lang.String getType()
Get the 'Type' attribute value. Used to describe the specific coverage type or waiver type. Refer to OpenTravel Code List Vehicle Coverage Type (VCT).

Returns:
value

setType

public void setType(java.lang.String type)
Set the 'Type' attribute value. Used to describe the specific coverage type or waiver type. Refer to OpenTravel Code List Vehicle Coverage Type (VCT).

Parameters:
type -

getRequiredInd

public java.lang.Boolean getRequiredInd()
Get the 'RequiredInd' attribute value. If true, this type of coverage must be purchased. If false, it is optional.

Returns:
value

setRequiredInd

public void setRequiredInd(java.lang.Boolean requiredInd)
Set the 'RequiredInd' attribute value. If true, this type of coverage must be purchased. If false, it is optional.

Parameters:
requiredInd -