org.ota.profile
Class Profile.CompanyInfo.TripPurpose

java.lang.Object
  extended by org.ota.profile.Profile.CompanyInfo.TripPurpose
Enclosing class:
Profile.CompanyInfo

public static class Profile.CompanyInfo.TripPurpose
extends java.lang.Object

Trip purpose codes used by this company. 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="TripPurpose" minOccurs="0" maxOccurs="unbounded">
   <xs:complexType>
     <xs:attribute type="xs:string" use="optional" name="Code"/>
     <xs:attribute type="xs:string" use="optional" name="Description"/>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
Profile.CompanyInfo.TripPurpose()
           
 
Method Summary
 java.lang.String getCode()
          Get the 'Code' attribute value.
 java.lang.String getDescription()
          Get the 'Description' attribute value.
 void setCode(java.lang.String code)
          Set the 'Code' attribute value.
 void setDescription(java.lang.String description)
          Set the 'Description' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Profile.CompanyInfo.TripPurpose

public Profile.CompanyInfo.TripPurpose()
Method Detail

getCode

public java.lang.String getCode()
Get the 'Code' attribute value. A trip purpose code used by this company.

Returns:
value

setCode

public void setCode(java.lang.String code)
Set the 'Code' attribute value. A trip purpose code used by this company.

Parameters:
code -

getDescription

public java.lang.String getDescription()
Get the 'Description' attribute value. A description of the trip purpose.

Returns:
value

setDescription

public void setDescription(java.lang.String description)
Set the 'Description' attribute value. A description of the trip purpose.

Parameters:
description -