org.ota.hotel
Class ContactInfos

java.lang.Object
  extended by org.ota.hotel.ContactInfos

public class ContactInfos
extends java.lang.Object

A collection of ContactInfo elements that provides detailed contact information. Schema fragment(s) for this class:

 <xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="ContactInfosType">
   <xs:sequence>
     <xs:element type="ns:ContactInfoRootType" name="ContactInfo" minOccurs="0" maxOccurs="99"/>
   </xs:sequence>
 </xs:complexType>
 


Constructor Summary
ContactInfos()
           
 
Method Summary
 void addContactInfo(ContactInfoRoot item)
          Add a 'ContactInfo' element item.
 void clearContactInfos()
          Remove all 'ContactInfo' element items.
 ContactInfoRoot getContactInfo(int index)
          Get 'ContactInfo' element item by position.
 java.util.List<ContactInfoRoot> getContactInfos()
          Get the list of 'ContactInfo' element items.
 void setContactInfos(java.util.List<ContactInfoRoot> list)
          Set the list of 'ContactInfo' element items.
 int sizeContactInfos()
          Get the number of 'ContactInfo' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContactInfos

public ContactInfos()
Method Detail

getContactInfos

public java.util.List<ContactInfoRoot> getContactInfos()
Get the list of 'ContactInfo' element items. Used to define specific contact information such as phone and address.

Returns:
list

setContactInfos

public void setContactInfos(java.util.List<ContactInfoRoot> list)
Set the list of 'ContactInfo' element items. Used to define specific contact information such as phone and address.

Parameters:
list -

sizeContactInfos

public int sizeContactInfos()
Get the number of 'ContactInfo' element items.

Returns:
count

addContactInfo

public void addContactInfo(ContactInfoRoot item)
Add a 'ContactInfo' element item.

Parameters:
item -

getContactInfo

public ContactInfoRoot getContactInfo(int index)
Get 'ContactInfo' element item by position.

Parameters:
index -
Returns:
item

clearContactInfos

public void clearContactInfos()
Remove all 'ContactInfo' element items.