org.ota.hotel
Class ServiceRPHs

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

public class ServiceRPHs
extends java.lang.Object

A collection of unsigned integers that reference the RPH (Reference Place holder) attribute in the Service object. The ServiceRPH attribute in the Service object is an indexing attribute that identifies the services attached to a specific guest or to the reservation. 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="ServiceRPHsType">
   <xs:sequence>
     <xs:element name="ServiceRPH" maxOccurs="unbounded">
       <!-- Reference to inner class ServiceRPH -->
     </xs:element>
   </xs:sequence>
 </xs:complexType>
 


Nested Class Summary
static class ServiceRPHs.ServiceRPH
          This is a reference placeholder used as an index for a service to be associated with this stay Schema fragment(s) for this class:
 
Constructor Summary
ServiceRPHs()
           
 
Method Summary
 void addServiceRPH(ServiceRPHs.ServiceRPH item)
          Add a 'ServiceRPH' element item.
 void clearServiceRPHs()
          Remove all 'ServiceRPH' element items.
 ServiceRPHs.ServiceRPH getServiceRPH(int index)
          Get 'ServiceRPH' element item by position.
 java.util.List<ServiceRPHs.ServiceRPH> getServiceRPHs()
          Get the list of 'ServiceRPH' element items.
 void setServiceRPHs(java.util.List<ServiceRPHs.ServiceRPH> list)
          Set the list of 'ServiceRPH' element items.
 int sizeServiceRPHs()
          Get the number of 'ServiceRPH' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceRPHs

public ServiceRPHs()
Method Detail

getServiceRPHs

public java.util.List<ServiceRPHs.ServiceRPH> getServiceRPHs()
Get the list of 'ServiceRPH' element items.

Returns:
list

setServiceRPHs

public void setServiceRPHs(java.util.List<ServiceRPHs.ServiceRPH> list)
Set the list of 'ServiceRPH' element items.

Parameters:
list -

sizeServiceRPHs

public int sizeServiceRPHs()
Get the number of 'ServiceRPH' element items.

Returns:
count

addServiceRPH

public void addServiceRPH(ServiceRPHs.ServiceRPH item)
Add a 'ServiceRPH' element item.

Parameters:
item -

getServiceRPH

public ServiceRPHs.ServiceRPH getServiceRPH(int index)
Get 'ServiceRPH' element item by position.

Parameters:
index -
Returns:
item

clearServiceRPHs

public void clearServiceRPHs()
Remove all 'ServiceRPH' element items.