org.ota.profile
Class Profile.CompanyInfo

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

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

Company information related to the profile. 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" type="ns:CompanyInfoType" name="CompanyInfo" minOccurs="0"/>
 
 <xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="CompanyInfoType">
   <xs:sequence>
     <xs:element type="ns:CompanyNameType" name="CompanyName" minOccurs="0" maxOccurs="unbounded"/>
     <xs:element name="AddressInfo" minOccurs="0" maxOccurs="unbounded">
       <!-- Reference to inner class AddressInfo -->
     </xs:element>
     <xs:element name="TelephoneInfo" minOccurs="0" maxOccurs="unbounded">
       <!-- Reference to inner class TelephoneInfo -->
     </xs:element>
     <xs:element name="Email" minOccurs="0" maxOccurs="unbounded">
       <!-- Reference to inner class Email -->
     </xs:element>
     <xs:element type="ns:URL_Type" name="URL" minOccurs="0" maxOccurs="unbounded"/>
     <xs:element type="ns:AddressType" name="BusinessLocale" minOccurs="0" maxOccurs="unbounded"/>
     <xs:element name="PaymentForm" minOccurs="0" maxOccurs="unbounded">
       <!-- Reference to inner class PaymentForm -->
     </xs:element>
     <xs:element type="ns:ContactPersonType" name="ContactPerson" minOccurs="0" maxOccurs="unbounded"/>
     <xs:element type="ns:TravelArrangerType" name="TravelArranger" minOccurs="0" maxOccurs="unbounded"/>
     <xs:element type="ns:LoyaltyProgramType" name="LoyaltyProgram" minOccurs="0" maxOccurs="unbounded"/>
     <xs:element name="TripPurpose" minOccurs="0" maxOccurs="unbounded">
       <!-- Reference to inner class TripPurpose -->
     </xs:element>
   </xs:sequence>
   <xs:attributeGroup ref="ns:CurrencyCodeGroup"/>
 </xs:complexType>
 


Nested Class Summary
static class Profile.CompanyInfo.AddressInfo
          Detailed information on an address for the company.
static class Profile.CompanyInfo.Email
          Information on an email address for the company.
static class Profile.CompanyInfo.PaymentForm
          Method of providing funds for travel by the company.
static class Profile.CompanyInfo.TelephoneInfo
          Information on a telephone number for the company.
static class Profile.CompanyInfo.TripPurpose
          Trip purpose codes used by this company.
 
Constructor Summary
Profile.CompanyInfo()
           
 
Method Summary
 void addAddressInfo(Profile.CompanyInfo.AddressInfo item)
          Add a 'AddressInfo' element item.
 void addBusinessLocale(Address item)
          Add a 'BusinessLocale' element item.
 void addCompanyName(CompanyName item)
          Add a 'CompanyName' element item.
 void addContactPerson(ContactPerson item)
          Add a 'ContactPerson' element item.
 void addEmail(Profile.CompanyInfo.Email item)
          Add a 'Email' element item.
 void addLoyaltyProgram(LoyaltyProgram item)
          Add a 'LoyaltyProgram' element item.
 void addPaymentForm(Profile.CompanyInfo.PaymentForm item)
          Add a 'PaymentForm' element item.
 void addTelephoneInfo(Profile.CompanyInfo.TelephoneInfo item)
          Add a 'TelephoneInfo' element item.
 void addTravelArranger(TravelArranger item)
          Add a 'TravelArranger' element item.
 void addTripPurpose(Profile.CompanyInfo.TripPurpose item)
          Add a 'TripPurpose' element item.
 void addURL(URL item)
          Add a 'URL' element item.
 void clearAddressInfos()
          Remove all 'AddressInfo' element items.
 void clearBusinessLocales()
          Remove all 'BusinessLocale' element items.
 void clearCompanyNames()
          Remove all 'CompanyName' element items.
 void clearContactPersons()
          Remove all 'ContactPerson' element items.
 void clearEmails()
          Remove all 'Email' element items.
 void clearLoyaltyPrograms()
          Remove all 'LoyaltyProgram' element items.
 void clearPaymentForms()
          Remove all 'PaymentForm' element items.
 void clearTelephoneInfos()
          Remove all 'TelephoneInfo' element items.
 void clearTravelArrangers()
          Remove all 'TravelArranger' element items.
 void clearTripPurposes()
          Remove all 'TripPurpose' element items.
 void clearURLs()
          Remove all 'URL' element items.
 Profile.CompanyInfo.AddressInfo getAddressInfo(int index)
          Get 'AddressInfo' element item by position.
 java.util.List<Profile.CompanyInfo.AddressInfo> getAddressInfos()
          Get the list of 'AddressInfo' element items.
 Address getBusinessLocale(int index)
          Get 'BusinessLocale' element item by position.
 java.util.List<Address> getBusinessLocales()
          Get the list of 'BusinessLocale' element items.
 CompanyName getCompanyName(int index)
          Get 'CompanyName' element item by position.
 java.util.List<CompanyName> getCompanyNames()
          Get the list of 'CompanyName' element items.
 ContactPerson getContactPerson(int index)
          Get 'ContactPerson' element item by position.
 java.util.List<ContactPerson> getContactPersons()
          Get the list of 'ContactPerson' element items.
 CurrencyCodeGroup getCurrencyCodeGroup()
          Get the 'CurrencyCodeGroup' attributeGroup value.
 Profile.CompanyInfo.Email getEmail(int index)
          Get 'Email' element item by position.
 java.util.List<Profile.CompanyInfo.Email> getEmails()
          Get the list of 'Email' element items.
 LoyaltyProgram getLoyaltyProgram(int index)
          Get 'LoyaltyProgram' element item by position.
 java.util.List<LoyaltyProgram> getLoyaltyPrograms()
          Get the list of 'LoyaltyProgram' element items.
 Profile.CompanyInfo.PaymentForm getPaymentForm(int index)
          Get 'PaymentForm' element item by position.
 java.util.List<Profile.CompanyInfo.PaymentForm> getPaymentForms()
          Get the list of 'PaymentForm' element items.
 Profile.CompanyInfo.TelephoneInfo getTelephoneInfo(int index)
          Get 'TelephoneInfo' element item by position.
 java.util.List<Profile.CompanyInfo.TelephoneInfo> getTelephoneInfos()
          Get the list of 'TelephoneInfo' element items.
 TravelArranger getTravelArranger(int index)
          Get 'TravelArranger' element item by position.
 java.util.List<TravelArranger> getTravelArrangers()
          Get the list of 'TravelArranger' element items.
 Profile.CompanyInfo.TripPurpose getTripPurpose(int index)
          Get 'TripPurpose' element item by position.
 java.util.List<Profile.CompanyInfo.TripPurpose> getTripPurposes()
          Get the list of 'TripPurpose' element items.
 URL getURL(int index)
          Get 'URL' element item by position.
 java.util.List<URL> getURLs()
          Get the list of 'URL' element items.
 void setAddressInfos(java.util.List<Profile.CompanyInfo.AddressInfo> list)
          Set the list of 'AddressInfo' element items.
 void setBusinessLocales(java.util.List<Address> list)
          Set the list of 'BusinessLocale' element items.
 void setCompanyNames(java.util.List<CompanyName> list)
          Set the list of 'CompanyName' element items.
 void setContactPersons(java.util.List<ContactPerson> list)
          Set the list of 'ContactPerson' element items.
 void setCurrencyCodeGroup(CurrencyCodeGroup currencyCodeGroup)
          Set the 'CurrencyCodeGroup' attributeGroup value.
 void setEmails(java.util.List<Profile.CompanyInfo.Email> list)
          Set the list of 'Email' element items.
 void setLoyaltyPrograms(java.util.List<LoyaltyProgram> list)
          Set the list of 'LoyaltyProgram' element items.
 void setPaymentForms(java.util.List<Profile.CompanyInfo.PaymentForm> list)
          Set the list of 'PaymentForm' element items.
 void setTelephoneInfos(java.util.List<Profile.CompanyInfo.TelephoneInfo> list)
          Set the list of 'TelephoneInfo' element items.
 void setTravelArrangers(java.util.List<TravelArranger> list)
          Set the list of 'TravelArranger' element items.
 void setTripPurposes(java.util.List<Profile.CompanyInfo.TripPurpose> list)
          Set the list of 'TripPurpose' element items.
 void setURLs(java.util.List<URL> list)
          Set the list of 'URL' element items.
 int sizeAddressInfos()
          Get the number of 'AddressInfo' element items.
 int sizeBusinessLocales()
          Get the number of 'BusinessLocale' element items.
 int sizeCompanyNames()
          Get the number of 'CompanyName' element items.
 int sizeContactPersons()
          Get the number of 'ContactPerson' element items.
 int sizeEmails()
          Get the number of 'Email' element items.
 int sizeLoyaltyPrograms()
          Get the number of 'LoyaltyProgram' element items.
 int sizePaymentForms()
          Get the number of 'PaymentForm' element items.
 int sizeTelephoneInfos()
          Get the number of 'TelephoneInfo' element items.
 int sizeTravelArrangers()
          Get the number of 'TravelArranger' element items.
 int sizeTripPurposes()
          Get the number of 'TripPurpose' element items.
 int sizeURLs()
          Get the number of 'URL' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Profile.CompanyInfo

public Profile.CompanyInfo()
Method Detail

getCompanyNames

public java.util.List<CompanyName> getCompanyNames()
Get the list of 'CompanyName' element items. Detailed name information for the company.

Returns:
list

setCompanyNames

public void setCompanyNames(java.util.List<CompanyName> list)
Set the list of 'CompanyName' element items. Detailed name information for the company.

Parameters:
list -

sizeCompanyNames

public int sizeCompanyNames()
Get the number of 'CompanyName' element items.

Returns:
count

addCompanyName

public void addCompanyName(CompanyName item)
Add a 'CompanyName' element item.

Parameters:
item -

getCompanyName

public CompanyName getCompanyName(int index)
Get 'CompanyName' element item by position.

Parameters:
index -
Returns:
item

clearCompanyNames

public void clearCompanyNames()
Remove all 'CompanyName' element items.


getAddressInfos

public java.util.List<Profile.CompanyInfo.AddressInfo> getAddressInfos()
Get the list of 'AddressInfo' element items. Detailed information about a company.

Returns:
list

setAddressInfos

public void setAddressInfos(java.util.List<Profile.CompanyInfo.AddressInfo> list)
Set the list of 'AddressInfo' element items. Detailed information about a company.

Parameters:
list -

sizeAddressInfos

public int sizeAddressInfos()
Get the number of 'AddressInfo' element items.

Returns:
count

addAddressInfo

public void addAddressInfo(Profile.CompanyInfo.AddressInfo item)
Add a 'AddressInfo' element item.

Parameters:
item -

getAddressInfo

public Profile.CompanyInfo.AddressInfo getAddressInfo(int index)
Get 'AddressInfo' element item by position.

Parameters:
index -
Returns:
item

clearAddressInfos

public void clearAddressInfos()
Remove all 'AddressInfo' element items.


getTelephoneInfos

public java.util.List<Profile.CompanyInfo.TelephoneInfo> getTelephoneInfos()
Get the list of 'TelephoneInfo' element items. Detailed information about a company.

Returns:
list

setTelephoneInfos

public void setTelephoneInfos(java.util.List<Profile.CompanyInfo.TelephoneInfo> list)
Set the list of 'TelephoneInfo' element items. Detailed information about a company.

Parameters:
list -

sizeTelephoneInfos

public int sizeTelephoneInfos()
Get the number of 'TelephoneInfo' element items.

Returns:
count

addTelephoneInfo

public void addTelephoneInfo(Profile.CompanyInfo.TelephoneInfo item)
Add a 'TelephoneInfo' element item.

Parameters:
item -

getTelephoneInfo

public Profile.CompanyInfo.TelephoneInfo getTelephoneInfo(int index)
Get 'TelephoneInfo' element item by position.

Parameters:
index -
Returns:
item

clearTelephoneInfos

public void clearTelephoneInfos()
Remove all 'TelephoneInfo' element items.


getEmails

public java.util.List<Profile.CompanyInfo.Email> getEmails()
Get the list of 'Email' element items. Detailed information about a company.

Returns:
list

setEmails

public void setEmails(java.util.List<Profile.CompanyInfo.Email> list)
Set the list of 'Email' element items. Detailed information about a company.

Parameters:
list -

sizeEmails

public int sizeEmails()
Get the number of 'Email' element items.

Returns:
count

addEmail

public void addEmail(Profile.CompanyInfo.Email item)
Add a 'Email' element item.

Parameters:
item -

getEmail

public Profile.CompanyInfo.Email getEmail(int index)
Get 'Email' element item by position.

Parameters:
index -
Returns:
item

clearEmails

public void clearEmails()
Remove all 'Email' element items.


getURLs

public java.util.List<URL> getURLs()
Get the list of 'URL' element items. Information on a URL for the company.

Returns:
list

setURLs

public void setURLs(java.util.List<URL> list)
Set the list of 'URL' element items. Information on a URL for the company.

Parameters:
list -

sizeURLs

public int sizeURLs()
Get the number of 'URL' element items.

Returns:
count

addURL

public void addURL(URL item)
Add a 'URL' element item.

Parameters:
item -

getURL

public URL getURL(int index)
Get 'URL' element item by position.

Parameters:
index -
Returns:
item

clearURLs

public void clearURLs()
Remove all 'URL' element items.


getBusinessLocales

public java.util.List<Address> getBusinessLocales()
Get the list of 'BusinessLocale' element items. A jurisdiction in which a company is authorized to do business. Uses the Address entity to indicate the location of business using any of the components of the address (e.g., city, state, zip code, country).

Returns:
list

setBusinessLocales

public void setBusinessLocales(java.util.List<Address> list)
Set the list of 'BusinessLocale' element items. A jurisdiction in which a company is authorized to do business. Uses the Address entity to indicate the location of business using any of the components of the address (e.g., city, state, zip code, country).

Parameters:
list -

sizeBusinessLocales

public int sizeBusinessLocales()
Get the number of 'BusinessLocale' element items.

Returns:
count

addBusinessLocale

public void addBusinessLocale(Address item)
Add a 'BusinessLocale' element item.

Parameters:
item -

getBusinessLocale

public Address getBusinessLocale(int index)
Get 'BusinessLocale' element item by position.

Parameters:
index -
Returns:
item

clearBusinessLocales

public void clearBusinessLocales()
Remove all 'BusinessLocale' element items.


getPaymentForms

public java.util.List<Profile.CompanyInfo.PaymentForm> getPaymentForms()
Get the list of 'PaymentForm' element items. Detailed information about a company.

Returns:
list

setPaymentForms

public void setPaymentForms(java.util.List<Profile.CompanyInfo.PaymentForm> list)
Set the list of 'PaymentForm' element items. Detailed information about a company.

Parameters:
list -

sizePaymentForms

public int sizePaymentForms()
Get the number of 'PaymentForm' element items.

Returns:
count

addPaymentForm

public void addPaymentForm(Profile.CompanyInfo.PaymentForm item)
Add a 'PaymentForm' element item.

Parameters:
item -

getPaymentForm

public Profile.CompanyInfo.PaymentForm getPaymentForm(int index)
Get 'PaymentForm' element item by position.

Parameters:
index -
Returns:
item

clearPaymentForms

public void clearPaymentForms()
Remove all 'PaymentForm' element items.


getContactPersons

public java.util.List<ContactPerson> getContactPersons()
Get the list of 'ContactPerson' element items. Information on a contact person for the company.

Returns:
list

setContactPersons

public void setContactPersons(java.util.List<ContactPerson> list)
Set the list of 'ContactPerson' element items. Information on a contact person for the company.

Parameters:
list -

sizeContactPersons

public int sizeContactPersons()
Get the number of 'ContactPerson' element items.

Returns:
count

addContactPerson

public void addContactPerson(ContactPerson item)
Add a 'ContactPerson' element item.

Parameters:
item -

getContactPerson

public ContactPerson getContactPerson(int index)
Get 'ContactPerson' element item by position.

Parameters:
index -
Returns:
item

clearContactPersons

public void clearContactPersons()
Remove all 'ContactPerson' element items.


getTravelArrangers

public java.util.List<TravelArranger> getTravelArrangers()
Get the list of 'TravelArranger' element items. Information on the organization responsible for arranging travel for the company.

Returns:
list

setTravelArrangers

public void setTravelArrangers(java.util.List<TravelArranger> list)
Set the list of 'TravelArranger' element items. Information on the organization responsible for arranging travel for the company.

Parameters:
list -

sizeTravelArrangers

public int sizeTravelArrangers()
Get the number of 'TravelArranger' element items.

Returns:
count

addTravelArranger

public void addTravelArranger(TravelArranger item)
Add a 'TravelArranger' element item.

Parameters:
item -

getTravelArranger

public TravelArranger getTravelArranger(int index)
Get 'TravelArranger' element item by position.

Parameters:
index -
Returns:
item

clearTravelArrangers

public void clearTravelArrangers()
Remove all 'TravelArranger' element items.


getLoyaltyPrograms

public java.util.List<LoyaltyProgram> getLoyaltyPrograms()
Get the list of 'LoyaltyProgram' element items. Company's loyalty program information.

Returns:
list

setLoyaltyPrograms

public void setLoyaltyPrograms(java.util.List<LoyaltyProgram> list)
Set the list of 'LoyaltyProgram' element items. Company's loyalty program information.

Parameters:
list -

sizeLoyaltyPrograms

public int sizeLoyaltyPrograms()
Get the number of 'LoyaltyProgram' element items.

Returns:
count

addLoyaltyProgram

public void addLoyaltyProgram(LoyaltyProgram item)
Add a 'LoyaltyProgram' element item.

Parameters:
item -

getLoyaltyProgram

public LoyaltyProgram getLoyaltyProgram(int index)
Get 'LoyaltyProgram' element item by position.

Parameters:
index -
Returns:
item

clearLoyaltyPrograms

public void clearLoyaltyPrograms()
Remove all 'LoyaltyProgram' element items.


getTripPurposes

public java.util.List<Profile.CompanyInfo.TripPurpose> getTripPurposes()
Get the list of 'TripPurpose' element items. Detailed information about a company.

Returns:
list

setTripPurposes

public void setTripPurposes(java.util.List<Profile.CompanyInfo.TripPurpose> list)
Set the list of 'TripPurpose' element items. Detailed information about a company.

Parameters:
list -

sizeTripPurposes

public int sizeTripPurposes()
Get the number of 'TripPurpose' element items.

Returns:
count

addTripPurpose

public void addTripPurpose(Profile.CompanyInfo.TripPurpose item)
Add a 'TripPurpose' element item.

Parameters:
item -

getTripPurpose

public Profile.CompanyInfo.TripPurpose getTripPurpose(int index)
Get 'TripPurpose' element item by position.

Parameters:
index -
Returns:
item

clearTripPurposes

public void clearTripPurposes()
Remove all 'TripPurpose' element items.


getCurrencyCodeGroup

public CurrencyCodeGroup getCurrencyCodeGroup()
Get the 'CurrencyCodeGroup' attributeGroup value. The currency used by this company.

Returns:
value

setCurrencyCodeGroup

public void setCurrencyCodeGroup(CurrencyCodeGroup currencyCodeGroup)
Set the 'CurrencyCodeGroup' attributeGroup value. The currency used by this company.

Parameters:
currencyCodeGroup -