org.ota.shared
Class CompanyIDAttributesGroup

java.lang.Object
  extended by org.ota.shared.CompanyIDAttributesGroup

public class CompanyIDAttributesGroup
extends java.lang.Object

Provides detailed information on a company. 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="CompanyID_AttributesGroup">
   <xs:attribute type="xs:string" use="optional" name="CompanyShortName"/>
   <xs:attribute type="xs:string" use="optional" name="TravelSector"/>
   <xs:attribute type="xs:string" use="optional" name="Code"/>
   <xs:attribute type="xs:string" use="optional" name="CodeContext"/>
 </xs:attributeGroup>
 


Constructor Summary
CompanyIDAttributesGroup()
           
 
Method Summary
 java.lang.String getCode()
          Get the 'Code' attribute value.
 java.lang.String getCodeContext()
          Get the 'CodeContext' attribute value.
 java.lang.String getCompanyShortName()
          Get the 'CompanyShortName' attribute value.
 java.lang.String getTravelSector()
          Get the 'TravelSector' attribute value.
 void setCode(java.lang.String code)
          Set the 'Code' attribute value.
 void setCodeContext(java.lang.String codeContext)
          Set the 'CodeContext' attribute value.
 void setCompanyShortName(java.lang.String companyShortName)
          Set the 'CompanyShortName' attribute value.
 void setTravelSector(java.lang.String travelSector)
          Set the 'TravelSector' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompanyIDAttributesGroup

public CompanyIDAttributesGroup()
Method Detail

getCompanyShortName

public java.lang.String getCompanyShortName()
Get the 'CompanyShortName' attribute value. Used to provide the company common name.

Returns:
value

setCompanyShortName

public void setCompanyShortName(java.lang.String companyShortName)
Set the 'CompanyShortName' attribute value. Used to provide the company common name.

Parameters:
companyShortName -

getTravelSector

public java.lang.String getTravelSector()
Get the 'TravelSector' attribute value. Refer to OpenTravel Code List Travel Sector (TVS).

Returns:
value

setTravelSector

public void setTravelSector(java.lang.String travelSector)
Set the 'TravelSector' attribute value. Refer to OpenTravel Code List Travel Sector (TVS).

Parameters:
travelSector -

getCode

public java.lang.String getCode()
Get the 'Code' attribute value. Identifies a company by the company code.

Returns:
value

setCode

public void setCode(java.lang.String code)
Set the 'Code' attribute value. Identifies a company by the company code.

Parameters:
code -

getCodeContext

public java.lang.String getCodeContext()
Get the 'CodeContext' attribute value. Identifies the context of the identifying code, such as DUNS, IATA or internal code, etc.

Returns:
value

setCodeContext

public void setCodeContext(java.lang.String codeContext)
Set the 'CodeContext' attribute value. Identifies the context of the identifying code, such as DUNS, IATA or internal code, etc.

Parameters:
codeContext -