|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ota.hotel.Services
public class Services
A collection of Service objects. This is the collection of all services associated with any part of this reservation (the reservation in its entirety, one or more guests, or one or more room stays). Which services are attributable to which part is determined by each object's ServiceRPHs collection. 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="ServicesType"> <xs:sequence> <xs:element name="Service" maxOccurs="unbounded"> <!-- Reference to inner class Service --> </xs:element> </xs:sequence> </xs:complexType>
Nested Class Summary | |
---|---|
static class |
Services.Service
A Service object represents a non-room product provided to guests. |
Constructor Summary | |
---|---|
Services()
|
Method Summary | |
---|---|
void |
addService(Services.Service item)
Add a 'Service' element item. |
void |
clearServices()
Remove all 'Service' element items. |
Services.Service |
getService(int index)
Get 'Service' element item by position. |
java.util.List<Services.Service> |
getServices()
Get the list of 'Service' element items. |
void |
setServices(java.util.List<Services.Service> list)
Set the list of 'Service' element items. |
int |
sizeServices()
Get the number of 'Service' element items. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Services()
Method Detail |
---|
public java.util.List<Services.Service> getServices()
public void setServices(java.util.List<Services.Service> list)
list
- public int sizeServices()
public void addService(Services.Service item)
item
- public Services.Service getService(int index)
index
-
public void clearServices()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |