org.ota.profile
Class Profile.Agreements

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

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

Agreement 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:AgreementsType" name="Agreements" minOccurs="0"/>
 
 <xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="AgreementsType">
   <xs:sequence>
     <xs:element type="ns:CertificationType" name="Certification" minOccurs="0" maxOccurs="unbounded">
       <!-- Reference to inner class Certification -->
     </xs:element>
     <xs:element type="ns:AllianceConsortiumType" name="AllianceConsortium" minOccurs="0" maxOccurs="unbounded">
       <!-- Reference to inner class AllianceConsortium -->
     </xs:element>
     <xs:element type="ns:CommissionInfoType" name="CommissionInfo" minOccurs="0" maxOccurs="unbounded">
       <!-- Reference to inner class CommissionInfo -->
     </xs:element>
     <xs:element name="ProfileSecurity" minOccurs="0" maxOccurs="99">
       <!-- Reference to inner class ProfileSecurity -->
     </xs:element>
     <xs:element type="ns:ParagraphType" name="ContractInformation" minOccurs="0"/>
     <xs:element ref="ns:TPA_Extensions" minOccurs="0"/>
   </xs:sequence>
   <xs:attributeGroup ref="ns:PrivacyGroup"/>
 </xs:complexType>
 
 <xs:element xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" type="ns:TPA_ExtensionsType" name="TPA_Extensions"/>
 


Nested Class Summary
static class Profile.Agreements.AllianceConsortium
          Information about alliance partnerships and consortiums.
static class Profile.Agreements.Certification
          Information about certifications or accreditations.
static class Profile.Agreements.CommissionInfo
          Information about an agreement for a commission arrangement.
static class Profile.Agreements.ProfileSecurity
          Grants access rights on a single booking to offices other than the creator and responsible offices.
 
Constructor Summary
Profile.Agreements()
           
 
Method Summary
 void addAllianceConsortium(Profile.Agreements.AllianceConsortium item)
          Add a 'AllianceConsortium' element item.
 void addCertification(Profile.Agreements.Certification item)
          Add a 'Certification' element item.
 void addCommissionInfo(Profile.Agreements.CommissionInfo item)
          Add a 'CommissionInfo' element item.
 void addProfileSecurity(Profile.Agreements.ProfileSecurity item)
          Add a 'ProfileSecurity' element item.
 void clearAllianceConsortiums()
          Remove all 'AllianceConsortium' element items.
 void clearCertifications()
          Remove all 'Certification' element items.
 void clearCommissionInfos()
          Remove all 'CommissionInfo' element items.
 void clearProfileSecurities()
          Remove all 'ProfileSecurity' element items.
 Profile.Agreements.AllianceConsortium getAllianceConsortium(int index)
          Get 'AllianceConsortium' element item by position.
 java.util.List<Profile.Agreements.AllianceConsortium> getAllianceConsortiums()
          Get the list of 'AllianceConsortium' element items.
 Profile.Agreements.Certification getCertification(int index)
          Get 'Certification' element item by position.
 java.util.List<Profile.Agreements.Certification> getCertifications()
          Get the list of 'Certification' element items.
 Profile.Agreements.CommissionInfo getCommissionInfo(int index)
          Get 'CommissionInfo' element item by position.
 java.util.List<Profile.Agreements.CommissionInfo> getCommissionInfos()
          Get the list of 'CommissionInfo' element items.
 Paragraph getContractInformation()
          Get the 'ContractInformation' element value.
 PrivacyGroup getPrivacyGroup()
          Get the 'PrivacyGroup' attributeGroup value.
 java.util.List<Profile.Agreements.ProfileSecurity> getProfileSecurities()
          Get the list of 'ProfileSecurity' element items.
 Profile.Agreements.ProfileSecurity getProfileSecurity(int index)
          Get 'ProfileSecurity' element item by position.
 TPAExtensions getTPAExtensions()
          Get the 'TPA_Extensions' element value.
 void setAllianceConsortiums(java.util.List<Profile.Agreements.AllianceConsortium> list)
          Set the list of 'AllianceConsortium' element items.
 void setCertifications(java.util.List<Profile.Agreements.Certification> list)
          Set the list of 'Certification' element items.
 void setCommissionInfos(java.util.List<Profile.Agreements.CommissionInfo> list)
          Set the list of 'CommissionInfo' element items.
 void setContractInformation(Paragraph contractInformation)
          Set the 'ContractInformation' element value.
 void setPrivacyGroup(PrivacyGroup privacyGroup)
          Set the 'PrivacyGroup' attributeGroup value.
 void setProfileSecurities(java.util.List<Profile.Agreements.ProfileSecurity> list)
          Set the list of 'ProfileSecurity' element items.
 void setTPAExtensions(TPAExtensions TPAExtensions)
          Set the 'TPA_Extensions' element value.
 int sizeAllianceConsortiums()
          Get the number of 'AllianceConsortium' element items.
 int sizeCertifications()
          Get the number of 'Certification' element items.
 int sizeCommissionInfos()
          Get the number of 'CommissionInfo' element items.
 int sizeProfileSecurities()
          Get the number of 'ProfileSecurity' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Profile.Agreements

public Profile.Agreements()
Method Detail

getCertifications

public java.util.List<Profile.Agreements.Certification> getCertifications()
Get the list of 'Certification' element items. Section of a business profile that contains information about trading partner agreements.

Returns:
list

setCertifications

public void setCertifications(java.util.List<Profile.Agreements.Certification> list)
Set the list of 'Certification' element items. Section of a business profile that contains information about trading partner agreements.

Parameters:
list -

sizeCertifications

public int sizeCertifications()
Get the number of 'Certification' element items.

Returns:
count

addCertification

public void addCertification(Profile.Agreements.Certification item)
Add a 'Certification' element item.

Parameters:
item -

getCertification

public Profile.Agreements.Certification getCertification(int index)
Get 'Certification' element item by position.

Parameters:
index -
Returns:
item

clearCertifications

public void clearCertifications()
Remove all 'Certification' element items.


getAllianceConsortiums

public java.util.List<Profile.Agreements.AllianceConsortium> getAllianceConsortiums()
Get the list of 'AllianceConsortium' element items. Section of a business profile that contains information about trading partner agreements.

Returns:
list

setAllianceConsortiums

public void setAllianceConsortiums(java.util.List<Profile.Agreements.AllianceConsortium> list)
Set the list of 'AllianceConsortium' element items. Section of a business profile that contains information about trading partner agreements.

Parameters:
list -

sizeAllianceConsortiums

public int sizeAllianceConsortiums()
Get the number of 'AllianceConsortium' element items.

Returns:
count

addAllianceConsortium

public void addAllianceConsortium(Profile.Agreements.AllianceConsortium item)
Add a 'AllianceConsortium' element item.

Parameters:
item -

getAllianceConsortium

public Profile.Agreements.AllianceConsortium getAllianceConsortium(int index)
Get 'AllianceConsortium' element item by position.

Parameters:
index -
Returns:
item

clearAllianceConsortiums

public void clearAllianceConsortiums()
Remove all 'AllianceConsortium' element items.


getCommissionInfos

public java.util.List<Profile.Agreements.CommissionInfo> getCommissionInfos()
Get the list of 'CommissionInfo' element items. Section of a business profile that contains information about trading partner agreements.

Returns:
list

setCommissionInfos

public void setCommissionInfos(java.util.List<Profile.Agreements.CommissionInfo> list)
Set the list of 'CommissionInfo' element items. Section of a business profile that contains information about trading partner agreements.

Parameters:
list -

sizeCommissionInfos

public int sizeCommissionInfos()
Get the number of 'CommissionInfo' element items.

Returns:
count

addCommissionInfo

public void addCommissionInfo(Profile.Agreements.CommissionInfo item)
Add a 'CommissionInfo' element item.

Parameters:
item -

getCommissionInfo

public Profile.Agreements.CommissionInfo getCommissionInfo(int index)
Get 'CommissionInfo' element item by position.

Parameters:
index -
Returns:
item

clearCommissionInfos

public void clearCommissionInfos()
Remove all 'CommissionInfo' element items.


getProfileSecurities

public java.util.List<Profile.Agreements.ProfileSecurity> getProfileSecurities()
Get the list of 'ProfileSecurity' element items. Section of a business profile that contains information about trading partner agreements.

Returns:
list

setProfileSecurities

public void setProfileSecurities(java.util.List<Profile.Agreements.ProfileSecurity> list)
Set the list of 'ProfileSecurity' element items. Section of a business profile that contains information about trading partner agreements.

Parameters:
list -

sizeProfileSecurities

public int sizeProfileSecurities()
Get the number of 'ProfileSecurity' element items.

Returns:
count

addProfileSecurity

public void addProfileSecurity(Profile.Agreements.ProfileSecurity item)
Add a 'ProfileSecurity' element item.

Parameters:
item -

getProfileSecurity

public Profile.Agreements.ProfileSecurity getProfileSecurity(int index)
Get 'ProfileSecurity' element item by position.

Parameters:
index -
Returns:
item

clearProfileSecurities

public void clearProfileSecurities()
Remove all 'ProfileSecurity' element items.


getContractInformation

public Paragraph getContractInformation()
Get the 'ContractInformation' element value. Used to reflect contract details linked to a profile.

Returns:
value

setContractInformation

public void setContractInformation(Paragraph contractInformation)
Set the 'ContractInformation' element value. Used to reflect contract details linked to a profile.

Parameters:
contractInformation -

getTPAExtensions

public TPAExtensions getTPAExtensions()
Get the 'TPA_Extensions' element value. A placeholder in the schema to allow for additional elements and attributes to be included if required, per Trading Partner Agreement (TPA).

Returns:
value

setTPAExtensions

public void setTPAExtensions(TPAExtensions TPAExtensions)
Set the 'TPA_Extensions' element value. A placeholder in the schema to allow for additional elements and attributes to be included if required, per Trading Partner Agreement (TPA).

Parameters:
TPAExtensions -

getPrivacyGroup

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

Returns:
value

setPrivacyGroup

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

Parameters:
privacyGroup -