org.ota.vehicle
Class VehicleMakeModelGroup

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

public class VehicleMakeModelGroup
extends java.lang.Object

Indicates the make and model of the car with the year. Make and model could be by text or by code. 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="VehicleMakeModelGroup">
   <xs:attributeGroup ref="ns:NameOptionalCodeGroup"/>
   <xs:attribute type="xs:string" use="optional" name="ModelYear"/>
 </xs:attributeGroup>
 
 <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="NameOptionalCodeGroup">
   <xs:attribute type="xs:string" use="required" name="Name"/>
   <xs:attribute type="xs:string" use="optional" name="Code"/>
 </xs:attributeGroup>
 


Constructor Summary
VehicleMakeModelGroup()
           
 
Method Summary
 java.lang.String getCode()
          Get the 'Code' attribute value.
 java.lang.String getModelYear()
          Get the 'ModelYear' attribute value.
 java.lang.String getName()
          Get the 'Name' attribute value.
 void setCode(java.lang.String code)
          Set the 'Code' attribute value.
 void setModelYear(java.lang.String modelYear)
          Set the 'ModelYear' attribute value.
 void setName(java.lang.String name)
          Set the 'Name' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VehicleMakeModelGroup

public VehicleMakeModelGroup()
Method Detail

getName

public java.lang.String getName()
Get the 'Name' attribute value. The name of an item.

Returns:
value

setName

public void setName(java.lang.String name)
Set the 'Name' attribute value. The name of an item.

Parameters:
name -

getCode

public java.lang.String getCode()
Get the 'Code' attribute value. Provides the code identifying the item.

Returns:
value

setCode

public void setCode(java.lang.String code)
Set the 'Code' attribute value. Provides the code identifying the item.

Parameters:
code -

getModelYear

public java.lang.String getModelYear()
Get the 'ModelYear' attribute value. The model year of the vehicle.

Returns:
value

setModelYear

public void setModelYear(java.lang.String modelYear)
Set the 'ModelYear' attribute value. The model year of the vehicle.

Parameters:
modelYear -