org.ota.profile
Class Affiliations.Employer

java.lang.Object
  extended by org.ota.profile.Affiliations.Employer
Enclosing class:
Affiliations

public static class Affiliations.Employer
extends java.lang.Object

Employer information associated to this affiliation. 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:EmployerType" name="Employer" minOccurs="0" maxOccurs="unbounded"/>
 
 <xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="EmployerType">
   <xs:sequence>
     <xs:element type="ns:CompanyNameType" name="CompanyName" minOccurs="0"/>
     <xs:element type="ns:CompanyNameType" name="RelatedEmployer" minOccurs="0" maxOccurs="unbounded"/>
     <xs:element type="ns:EmployeeInfoType" name="EmployeeInfo" minOccurs="0" maxOccurs="3"/>
     <xs:element type="ns:FreeTextType" name="InternalRefNmbr" 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:sequence>
   <xs:attributeGroup ref="ns:DefaultIndGroup"/>
   <xs:attributeGroup ref="ns:OfficeTypeGroup"/>
   <xs:attributeGroup ref="ns:EffectiveExpireOptionalDateGroup"/>
 </xs:complexType>
 
 <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="DefaultIndGroup">
   <xs:attribute type="xs:boolean" use="optional" name="DefaultInd"/>
 </xs:attributeGroup>
 


Constructor Summary
Affiliations.Employer()
           
 
Method Summary
 void addEmployeeInfo(EmployeeInfo item)
          Add a 'EmployeeInfo' element item.
 void addInternalRefNmbr(FreeText item)
          Add a 'InternalRefNmbr' element item.
 void addLoyaltyProgram(LoyaltyProgram item)
          Add a 'LoyaltyProgram' element item.
 void addRelatedEmployer(CompanyName item)
          Add a 'RelatedEmployer' element item.
 void addTravelArranger(TravelArranger item)
          Add a 'TravelArranger' element item.
 void clearEmployeeInfos()
          Remove all 'EmployeeInfo' element items.
 void clearInternalRefNmbrs()
          Remove all 'InternalRefNmbr' element items.
 void clearLoyaltyPrograms()
          Remove all 'LoyaltyProgram' element items.
 void clearRelatedEmployers()
          Remove all 'RelatedEmployer' element items.
 void clearTravelArrangers()
          Remove all 'TravelArranger' element items.
 CompanyName getCompanyName()
          Get the 'CompanyName' element value.
 java.lang.Boolean getDefaultInd()
          Get the 'DefaultInd' attribute value.
 EffectiveExpireOptionalDateGroup getEffectiveExpireOptionalDateGroup()
          Get the 'EffectiveExpireOptionalDateGroup' attributeGroup value.
 EmployeeInfo getEmployeeInfo(int index)
          Get 'EmployeeInfo' element item by position.
 java.util.List<EmployeeInfo> getEmployeeInfos()
          Get the list of 'EmployeeInfo' element items.
 FreeText getInternalRefNmbr(int index)
          Get 'InternalRefNmbr' element item by position.
 java.util.List<FreeText> getInternalRefNmbrs()
          Get the list of 'InternalRefNmbr' element items.
 LoyaltyProgram getLoyaltyProgram(int index)
          Get 'LoyaltyProgram' element item by position.
 java.util.List<LoyaltyProgram> getLoyaltyPrograms()
          Get the list of 'LoyaltyProgram' element items.
 OfficeTypeGroup getOfficeTypeGroup()
          Get the 'OfficeTypeGroup' attributeGroup value.
 CompanyName getRelatedEmployer(int index)
          Get 'RelatedEmployer' element item by position.
 java.util.List<CompanyName> getRelatedEmployers()
          Get the list of 'RelatedEmployer' element items.
 TravelArranger getTravelArranger(int index)
          Get 'TravelArranger' element item by position.
 java.util.List<TravelArranger> getTravelArrangers()
          Get the list of 'TravelArranger' element items.
 void setCompanyName(CompanyName companyName)
          Set the 'CompanyName' element value.
 void setDefaultInd(java.lang.Boolean defaultInd)
          Set the 'DefaultInd' attribute value.
 void setEffectiveExpireOptionalDateGroup(EffectiveExpireOptionalDateGroup effectiveExpireOptionalDateGroup)
          Set the 'EffectiveExpireOptionalDateGroup' attributeGroup value.
 void setEmployeeInfos(java.util.List<EmployeeInfo> list)
          Set the list of 'EmployeeInfo' element items.
 void setInternalRefNmbrs(java.util.List<FreeText> list)
          Set the list of 'InternalRefNmbr' element items.
 void setLoyaltyPrograms(java.util.List<LoyaltyProgram> list)
          Set the list of 'LoyaltyProgram' element items.
 void setOfficeTypeGroup(OfficeTypeGroup officeTypeGroup)
          Set the 'OfficeTypeGroup' attributeGroup value.
 void setRelatedEmployers(java.util.List<CompanyName> list)
          Set the list of 'RelatedEmployer' element items.
 void setTravelArrangers(java.util.List<TravelArranger> list)
          Set the list of 'TravelArranger' element items.
 int sizeEmployeeInfos()
          Get the number of 'EmployeeInfo' element items.
 int sizeInternalRefNmbrs()
          Get the number of 'InternalRefNmbr' element items.
 int sizeLoyaltyPrograms()
          Get the number of 'LoyaltyProgram' element items.
 int sizeRelatedEmployers()
          Get the number of 'RelatedEmployer' element items.
 int sizeTravelArrangers()
          Get the number of 'TravelArranger' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Affiliations.Employer

public Affiliations.Employer()
Method Detail

getCompanyName

public CompanyName getCompanyName()
Get the 'CompanyName' element value. The name of the company.

Returns:
value

setCompanyName

public void setCompanyName(CompanyName companyName)
Set the 'CompanyName' element value. The name of the company.

Parameters:
companyName -

getRelatedEmployers

public java.util.List<CompanyName> getRelatedEmployers()
Get the list of 'RelatedEmployer' element items. The name of a company affiliated with the employer.

Returns:
list

setRelatedEmployers

public void setRelatedEmployers(java.util.List<CompanyName> list)
Set the list of 'RelatedEmployer' element items. The name of a company affiliated with the employer.

Parameters:
list -

sizeRelatedEmployers

public int sizeRelatedEmployers()
Get the number of 'RelatedEmployer' element items.

Returns:
count

addRelatedEmployer

public void addRelatedEmployer(CompanyName item)
Add a 'RelatedEmployer' element item.

Parameters:
item -

getRelatedEmployer

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

Parameters:
index -
Returns:
item

clearRelatedEmployers

public void clearRelatedEmployers()
Remove all 'RelatedEmployer' element items.


getEmployeeInfos

public java.util.List<EmployeeInfo> getEmployeeInfos()
Get the list of 'EmployeeInfo' element items. Information about the employee.

Returns:
list

setEmployeeInfos

public void setEmployeeInfos(java.util.List<EmployeeInfo> list)
Set the list of 'EmployeeInfo' element items. Information about the employee.

Parameters:
list -

sizeEmployeeInfos

public int sizeEmployeeInfos()
Get the number of 'EmployeeInfo' element items.

Returns:
count

addEmployeeInfo

public void addEmployeeInfo(EmployeeInfo item)
Add a 'EmployeeInfo' element item.

Parameters:
item -

getEmployeeInfo

public EmployeeInfo getEmployeeInfo(int index)
Get 'EmployeeInfo' element item by position.

Parameters:
index -
Returns:
item

clearEmployeeInfos

public void clearEmployeeInfos()
Remove all 'EmployeeInfo' element items.


getInternalRefNmbrs

public java.util.List<FreeText> getInternalRefNmbrs()
Get the list of 'InternalRefNmbr' element items. Accounting code(s) assigned to travel for employer.

Returns:
list

setInternalRefNmbrs

public void setInternalRefNmbrs(java.util.List<FreeText> list)
Set the list of 'InternalRefNmbr' element items. Accounting code(s) assigned to travel for employer.

Parameters:
list -

sizeInternalRefNmbrs

public int sizeInternalRefNmbrs()
Get the number of 'InternalRefNmbr' element items.

Returns:
count

addInternalRefNmbr

public void addInternalRefNmbr(FreeText item)
Add a 'InternalRefNmbr' element item.

Parameters:
item -

getInternalRefNmbr

public FreeText getInternalRefNmbr(int index)
Get 'InternalRefNmbr' element item by position.

Parameters:
index -
Returns:
item

clearInternalRefNmbrs

public void clearInternalRefNmbrs()
Remove all 'InternalRefNmbr' 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 employer.

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 employer.

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. Employer's loyalty program information.

Returns:
list

setLoyaltyPrograms

public void setLoyaltyPrograms(java.util.List<LoyaltyProgram> list)
Set the list of 'LoyaltyProgram' element items. Employer'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.


getDefaultInd

public java.lang.Boolean getDefaultInd()
Get the 'DefaultInd' attribute value. When true, indicates a default value should be used. false

Returns:
value

setDefaultInd

public void setDefaultInd(java.lang.Boolean defaultInd)
Set the 'DefaultInd' attribute value. When true, indicates a default value should be used. false

Parameters:
defaultInd -

getOfficeTypeGroup

public OfficeTypeGroup getOfficeTypeGroup()
Get the 'OfficeTypeGroup' attributeGroup value. Designates the office category within an organization.

Returns:
value

setOfficeTypeGroup

public void setOfficeTypeGroup(OfficeTypeGroup officeTypeGroup)
Set the 'OfficeTypeGroup' attributeGroup value. Designates the office category within an organization.

Parameters:
officeTypeGroup -

getEffectiveExpireOptionalDateGroup

public EffectiveExpireOptionalDateGroup getEffectiveExpireOptionalDateGroup()
Get the 'EffectiveExpireOptionalDateGroup' attributeGroup value. Used to send the effective date and/or expiration date.

Returns:
value

setEffectiveExpireOptionalDateGroup

public void setEffectiveExpireOptionalDateGroup(EffectiveExpireOptionalDateGroup effectiveExpireOptionalDateGroup)
Set the 'EffectiveExpireOptionalDateGroup' attributeGroup value. Used to send the effective date and/or expiration date.

Parameters:
effectiveExpireOptionalDateGroup -