org.ota.hotel
Class BasicPropertyInfo.ContactNumbers

java.lang.Object
  extended by org.ota.hotel.BasicPropertyInfo.ContactNumbers
Enclosing class:
BasicPropertyInfo

public static class BasicPropertyInfo.ContactNumbers
extends java.lang.Object

Collection of hotel contact numbers. 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="ContactNumbers" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="ContactNumber" minOccurs="0" maxOccurs="unbounded">
         <xs:complexType>
           <xs:attributeGroup ref="ns:TelephoneInfoGroup"/>
         </xs:complexType>
       </xs:element>
     </xs:sequence>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
BasicPropertyInfo.ContactNumbers()
           
 
Method Summary
 void addContactNumber(TelephoneInfoGroup item)
          Add a 'ContactNumber' element item.
 void clearContactNumbers()
          Remove all 'ContactNumber' element items.
 TelephoneInfoGroup getContactNumber(int index)
          Get 'ContactNumber' element item by position.
 java.util.List<TelephoneInfoGroup> getContactNumbers()
          Get the list of 'ContactNumber' element items.
 void setContactNumbers(java.util.List<TelephoneInfoGroup> list)
          Set the list of 'ContactNumber' element items.
 int sizeContactNumbers()
          Get the number of 'ContactNumber' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicPropertyInfo.ContactNumbers

public BasicPropertyInfo.ContactNumbers()
Method Detail

getContactNumbers

public java.util.List<TelephoneInfoGroup> getContactNumbers()
Get the list of 'ContactNumber' element items. Contact numbers of the hotel property. Examples are telephone and fax numbers.

Returns:
list

setContactNumbers

public void setContactNumbers(java.util.List<TelephoneInfoGroup> list)
Set the list of 'ContactNumber' element items. Contact numbers of the hotel property. Examples are telephone and fax numbers.

Parameters:
list -

sizeContactNumbers

public int sizeContactNumbers()
Get the number of 'ContactNumber' element items.

Returns:
count

addContactNumber

public void addContactNumber(TelephoneInfoGroup item)
Add a 'ContactNumber' element item.

Parameters:
item -

getContactNumber

public TelephoneInfoGroup getContactNumber(int index)
Get 'ContactNumber' element item by position.

Parameters:
index -
Returns:
item

clearContactNumbers

public void clearContactNumbers()
Remove all 'ContactNumber' element items.