org.ota.vehicle
Class CoverageCoreGroup

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

public class CoverageCoreGroup
extends java.lang.Object

The CoverageCoreType complex type defines the required and most often used components that together define a specific Vehicle Coverage. Schema fragment(s) for this class:

 <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="CoverageCoreGroup">
   <xs:attribute type="xs:string" use="required" name="CoverageType"/>
   <xs:attribute type="xs:string" use="optional" name="Code"/>
 </xs:attributeGroup>
 


Constructor Summary
CoverageCoreGroup()
           
 
Method Summary
 java.lang.String getCode()
          Get the 'Code' attribute value.
 java.lang.String getCoverage()
          Get the 'CoverageType' attribute value.
 void setCode(java.lang.String code)
          Set the 'Code' attribute value.
 void setCoverage(java.lang.String coverage)
          Set the 'CoverageType' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CoverageCoreGroup

public CoverageCoreGroup()
Method Detail

getCoverage

public java.lang.String getCoverage()
Get the 'CoverageType' attribute value. Identifies the type of coverage, for example, collision damage waiver. Refer to OpenTravel Code List Vehicle Coverage Type (VCT).

Returns:
value

setCoverage

public void setCoverage(java.lang.String coverage)
Set the 'CoverageType' attribute value. Identifies the type of coverage, for example, collision damage waiver. Refer to OpenTravel Code List Vehicle Coverage Type (VCT).

Parameters:
coverage -

getCode

public java.lang.String getCode()
Get the 'Code' attribute value. Allows for an industry-specific code that describes this coverage to be specified, for example, CDW may be indicated when the coverage type is Collision Damage Waiver.

Returns:
value

setCode

public void setCode(java.lang.String code)
Set the 'Code' attribute value. Allows for an industry-specific code that describes this coverage to be specified, for example, CDW may be indicated when the coverage type is Collision Damage Waiver.

Parameters:
code -