org.ota.shared
Class CompanyNamePref

java.lang.Object
  extended by org.ota.shared.CompanyNamePref
Direct Known Subclasses:
Profile.PrefCollections.PrefCollection.AirlinePref.VendorPref

public class CompanyNamePref
extends java.lang.Object

Identifies a preferred company by name. Schema fragment(s) for this class:

 <xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="CompanyNamePrefType">
   <xs:simpleContent>
     <xs:extension base="ns:CompanyNameType">
       <xs:attributeGroup ref="ns:PreferLevelGroup"/>
     </xs:extension>
   </xs:simpleContent>
 </xs:complexType>
 
 <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="PreferLevelGroup">
   <xs:attribute type="ns:PreferLevelType" use="optional" name="PreferLevel"/>
 </xs:attributeGroup>
 


Constructor Summary
CompanyNamePref()
           
 
Method Summary
 CompanyName getCompanyName()
          Get the extension value.
 PreferLevel getPreferLevel()
          Get the 'PreferLevel' attribute value.
 void setCompanyName(CompanyName companyName)
          Set the extension value.
 void setPreferLevel(PreferLevel preferLevel)
          Set the 'PreferLevel' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompanyNamePref

public CompanyNamePref()
Method Detail

getCompanyName

public CompanyName getCompanyName()
Get the extension value.

Returns:
value

setCompanyName

public void setCompanyName(CompanyName companyName)
Set the extension value.

Parameters:
companyName -

getPreferLevel

public PreferLevel getPreferLevel()
Get the 'PreferLevel' attribute value. Used to indicate a level of preference for an associated item. Preferred

Returns:
value

setPreferLevel

public void setPreferLevel(PreferLevel preferLevel)
Set the 'PreferLevel' attribute value. Used to indicate a level of preference for an associated item. Preferred

Parameters:
preferLevel -