org.ota.profile
Class Affiliations.Organization

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

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

Detailed information for a membership organization that has travel benefits, programs or discounts. 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:OrganizationType" name="Organization" minOccurs="0" maxOccurs="unbounded"/>
 
 <xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="OrganizationType">
   <xs:sequence>
     <xs:element name="OrgMemberName" minOccurs="0">
       <!-- Reference to inner class OrgMemberName -->
     </xs:element>
     <xs:element type="ns:CompanyNameType" name="OrgName" minOccurs="0"/>
     <xs:element type="ns:CompanyNameType" name="RelatedOrgName" minOccurs="0" maxOccurs="unbounded"/>
     <xs:element type="ns:TravelArrangerType" name="TravelArranger" minOccurs="0" maxOccurs="unbounded"/>
   </xs:sequence>
   <xs:attributeGroup ref="ns:DefaultIndGroup"/>
   <xs:attributeGroup ref="ns:PrivacyGroup"/>
   <xs:attributeGroup ref="ns:EffectiveExpireOptionalDateGroup"/>
   <xs:attributeGroup ref="ns:OfficeTypeGroup"/>
 </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>
 


Nested Class Summary
static class Affiliations.Organization.OrgMemberName
          Name of the member of the organization, as listed among the options of customer names.
 
Constructor Summary
Affiliations.Organization()
           
 
Method Summary
 void addRelatedOrgName(CompanyName item)
          Add a 'RelatedOrgName' element item.
 void addTravelArranger(TravelArranger item)
          Add a 'TravelArranger' element item.
 void clearRelatedOrgNames()
          Remove all 'RelatedOrgName' element items.
 void clearTravelArrangers()
          Remove all 'TravelArranger' element items.
 java.lang.Boolean getDefaultInd()
          Get the 'DefaultInd' attribute value.
 EffectiveExpireOptionalDateGroup getEffectiveExpireOptionalDateGroup()
          Get the 'EffectiveExpireOptionalDateGroup' attributeGroup value.
 OfficeTypeGroup getOfficeTypeGroup()
          Get the 'OfficeTypeGroup' attributeGroup value.
 Affiliations.Organization.OrgMemberName getOrgMemberName()
          Get the 'OrgMemberName' element value.
 CompanyName getOrgName()
          Get the 'OrgName' element value.
 PrivacyGroup getPrivacyGroup()
          Get the 'PrivacyGroup' attributeGroup value.
 CompanyName getRelatedOrgName(int index)
          Get 'RelatedOrgName' element item by position.
 java.util.List<CompanyName> getRelatedOrgNames()
          Get the list of 'RelatedOrgName' 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 setDefaultInd(java.lang.Boolean defaultInd)
          Set the 'DefaultInd' attribute value.
 void setEffectiveExpireOptionalDateGroup(EffectiveExpireOptionalDateGroup effectiveExpireOptionalDateGroup)
          Set the 'EffectiveExpireOptionalDateGroup' attributeGroup value.
 void setOfficeTypeGroup(OfficeTypeGroup officeTypeGroup)
          Set the 'OfficeTypeGroup' attributeGroup value.
 void setOrgMemberName(Affiliations.Organization.OrgMemberName orgMemberName)
          Set the 'OrgMemberName' element value.
 void setOrgName(CompanyName orgName)
          Set the 'OrgName' element value.
 void setPrivacyGroup(PrivacyGroup privacyGroup)
          Set the 'PrivacyGroup' attributeGroup value.
 void setRelatedOrgNames(java.util.List<CompanyName> list)
          Set the list of 'RelatedOrgName' element items.
 void setTravelArrangers(java.util.List<TravelArranger> list)
          Set the list of 'TravelArranger' element items.
 int sizeRelatedOrgNames()
          Get the number of 'RelatedOrgName' 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.Organization

public Affiliations.Organization()
Method Detail

getOrgMemberName

public Affiliations.Organization.OrgMemberName getOrgMemberName()
Get the 'OrgMemberName' element value. Membership organization that has travel benefits, programs, or discounts.

Returns:
value

setOrgMemberName

public void setOrgMemberName(Affiliations.Organization.OrgMemberName orgMemberName)
Set the 'OrgMemberName' element value. Membership organization that has travel benefits, programs, or discounts.

Parameters:
orgMemberName -

getOrgName

public CompanyName getOrgName()
Get the 'OrgName' element value. Name of the organization.

Returns:
value

setOrgName

public void setOrgName(CompanyName orgName)
Set the 'OrgName' element value. Name of the organization.

Parameters:
orgName -

getRelatedOrgNames

public java.util.List<CompanyName> getRelatedOrgNames()
Get the list of 'RelatedOrgName' element items. An organization that is related to this organization.

Returns:
list

setRelatedOrgNames

public void setRelatedOrgNames(java.util.List<CompanyName> list)
Set the list of 'RelatedOrgName' element items. An organization that is related to this organization.

Parameters:
list -

sizeRelatedOrgNames

public int sizeRelatedOrgNames()
Get the number of 'RelatedOrgName' element items.

Returns:
count

addRelatedOrgName

public void addRelatedOrgName(CompanyName item)
Add a 'RelatedOrgName' element item.

Parameters:
item -

getRelatedOrgName

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

Parameters:
index -
Returns:
item

clearRelatedOrgNames

public void clearRelatedOrgNames()
Remove all 'RelatedOrgName' element items.


getTravelArrangers

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

Returns:
list

setTravelArrangers

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

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.


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 -

getPrivacyGroup

public PrivacyGroup getPrivacyGroup()
Get the 'PrivacyGroup' attributeGroup value. Allows for control of the sharing of organization data between parties.

Returns:
value

setPrivacyGroup

public void setPrivacyGroup(PrivacyGroup privacyGroup)
Set the 'PrivacyGroup' attributeGroup value. Allows for control of the sharing of organization data between parties.

Parameters:
privacyGroup -

getEffectiveExpireOptionalDateGroup

public EffectiveExpireOptionalDateGroup getEffectiveExpireOptionalDateGroup()
Get the 'EffectiveExpireOptionalDateGroup' attributeGroup value. The effective and expiry dates for this organization membership.

Returns:
value

setEffectiveExpireOptionalDateGroup

public void setEffectiveExpireOptionalDateGroup(EffectiveExpireOptionalDateGroup effectiveExpireOptionalDateGroup)
Set the 'EffectiveExpireOptionalDateGroup' attributeGroup value. The effective and expiry dates for this organization membership.

Parameters:
effectiveExpireOptionalDateGroup -

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 -