org.ota.hotel
Class HotelRoomList.MasterContact

java.lang.Object
  extended by org.ota.shared.ContactPerson
      extended by org.ota.hotel.HotelRoomList.MasterContact
Enclosing class:
HotelRoomList

public static class HotelRoomList.MasterContact
extends ContactPerson

Planner or coordinator contact information for the rooming list. 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" name="MasterContact" minOccurs="0">
   <xs:complexType>
     <xs:complexContent>
       <xs:extension base="ns:ContactPersonType">
         <xs:sequence>
           <xs:element name="UniqueIDs" minOccurs="0">
             <!-- Reference to inner class UniqueIDs -->
           </xs:element>
           <xs:element name="Loyalty" minOccurs="0" maxOccurs="5">
             <xs:complexType>
               <xs:attributeGroup ref="ns:SelectedLoyaltyGroup"/>
             </xs:complexType>
           </xs:element>
         </xs:sequence>
       </xs:extension>
     </xs:complexContent>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class HotelRoomList.MasterContact.UniqueIDs
          This identifies the master account number and related information.
 
Constructor Summary
HotelRoomList.MasterContact()
           
 
Method Summary
 void addLoyalty(SelectedLoyaltyGroup item)
          Add a 'Loyalty' element item.
 void clearLoyalties()
          Remove all 'Loyalty' element items.
 java.util.List<SelectedLoyaltyGroup> getLoyalties()
          Get the list of 'Loyalty' element items.
 SelectedLoyaltyGroup getLoyalty(int index)
          Get 'Loyalty' element item by position.
 HotelRoomList.MasterContact.UniqueIDs getUniqueIDs()
          Get the 'UniqueIDs' element value.
 void setLoyalties(java.util.List<SelectedLoyaltyGroup> list)
          Set the list of 'Loyalty' element items.
 void setUniqueIDs(HotelRoomList.MasterContact.UniqueIDs uniqueIDs)
          Set the 'UniqueIDs' element value.
 int sizeLoyalties()
          Get the number of 'Loyalty' element items.
 
Methods inherited from class org.ota.shared.ContactPerson
addAddress, addCompanyName, addEmail, addEmployeeInfo, addTelephone, addURL, clearAddresses, clearCompanyNames, clearEmails, clearEmployeeInfos, clearTelephones, clearURLs, getAddress, getAddresses, getCommunicationMethodCode, getCompanyName, getCompanyNames, getContact, getDefaultInd, getDocumentDistribMethodCode, getEmail, getEmails, getEmergencyFlag, getEmployeeInfo, getEmployeeInfos, getPersonName, getPrivacyGroup, getRelation, getRPH, getTelephone, getTelephones, getURL, getURLs, setAddresses, setCommunicationMethodCode, setCompanyNames, setContact, setDefaultInd, setDocumentDistribMethodCode, setEmails, setEmergencyFlag, setEmployeeInfos, setPersonName, setPrivacyGroup, setRelation, setRPH, setTelephones, setURLs, sizeAddresses, sizeCompanyNames, sizeEmails, sizeEmployeeInfos, sizeTelephones, sizeURLs
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HotelRoomList.MasterContact

public HotelRoomList.MasterContact()
Method Detail

getUniqueIDs

public HotelRoomList.MasterContact.UniqueIDs getUniqueIDs()
Get the 'UniqueIDs' element value.

Returns:
value

setUniqueIDs

public void setUniqueIDs(HotelRoomList.MasterContact.UniqueIDs uniqueIDs)
Set the 'UniqueIDs' element value.

Parameters:
uniqueIDs -

getLoyalties

public java.util.List<SelectedLoyaltyGroup> getLoyalties()
Get the list of 'Loyalty' element items.

Returns:
list

setLoyalties

public void setLoyalties(java.util.List<SelectedLoyaltyGroup> list)
Set the list of 'Loyalty' element items.

Parameters:
list -

sizeLoyalties

public int sizeLoyalties()
Get the number of 'Loyalty' element items.

Returns:
count

addLoyalty

public void addLoyalty(SelectedLoyaltyGroup item)
Add a 'Loyalty' element item.

Parameters:
item -

getLoyalty

public SelectedLoyaltyGroup getLoyalty(int index)
Get 'Loyalty' element item by position.

Parameters:
index -
Returns:
item

clearLoyalties

public void clearLoyalties()
Remove all 'Loyalty' element items.