|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ota.hotel.HotelDescriptiveContent.FacilityInfo.Restaurants
public static class HotelDescriptiveContent.FacilityInfo.Restaurants
Collection of restaurants offered by hotel. 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" type="ns:RestaurantsType" name="Restaurants" minOccurs="0"/> <xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="RestaurantsType"> <xs:sequence> <xs:element name="Restaurant" minOccurs="0" maxOccurs="unbounded"> <!-- Reference to inner class Restaurant --> </xs:element> <xs:element name="SrvcInfoCodes" minOccurs="0"> <!-- Reference to inner class SrvcInfoCodes --> </xs:element> </xs:sequence> <xs:attribute type="xs:int" use="optional" name="Quantity"/> </xs:complexType>
Nested Class Summary | |
---|---|
static class |
HotelDescriptiveContent.FacilityInfo.Restaurants.Restaurant
Details of a specific restaurant such as type of restaurant, directions, schedules, etc. |
static class |
HotelDescriptiveContent.FacilityInfo.Restaurants.SrvcInfoCodes
Collection of type of restaurant offered. |
Constructor Summary | |
---|---|
HotelDescriptiveContent.FacilityInfo.Restaurants()
|
Method Summary | |
---|---|
void |
addRestaurant(HotelDescriptiveContent.FacilityInfo.Restaurants.Restaurant item)
Add a 'Restaurant' element item. |
void |
clearRestaurants()
Remove all 'Restaurant' element items. |
java.lang.Integer |
getQuantity()
Get the 'Quantity' attribute value. |
HotelDescriptiveContent.FacilityInfo.Restaurants.Restaurant |
getRestaurant(int index)
Get 'Restaurant' element item by position. |
java.util.List<HotelDescriptiveContent.FacilityInfo.Restaurants.Restaurant> |
getRestaurants()
Get the list of 'Restaurant' element items. |
HotelDescriptiveContent.FacilityInfo.Restaurants.SrvcInfoCodes |
getSrvcInfoCodes()
Get the 'SrvcInfoCodes' element value. |
void |
setQuantity(java.lang.Integer quantity)
Set the 'Quantity' attribute value. |
void |
setRestaurants(java.util.List<HotelDescriptiveContent.FacilityInfo.Restaurants.Restaurant> list)
Set the list of 'Restaurant' element items. |
void |
setSrvcInfoCodes(HotelDescriptiveContent.FacilityInfo.Restaurants.SrvcInfoCodes srvcInfoCodes)
Set the 'SrvcInfoCodes' element value. |
int |
sizeRestaurants()
Get the number of 'Restaurant' element items. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HotelDescriptiveContent.FacilityInfo.Restaurants()
Method Detail |
---|
public java.util.List<HotelDescriptiveContent.FacilityInfo.Restaurants.Restaurant> getRestaurants()
public void setRestaurants(java.util.List<HotelDescriptiveContent.FacilityInfo.Restaurants.Restaurant> list)
list
- public int sizeRestaurants()
public void addRestaurant(HotelDescriptiveContent.FacilityInfo.Restaurants.Restaurant item)
item
- public HotelDescriptiveContent.FacilityInfo.Restaurants.Restaurant getRestaurant(int index)
index
-
public void clearRestaurants()
public HotelDescriptiveContent.FacilityInfo.Restaurants.SrvcInfoCodes getSrvcInfoCodes()
public void setSrvcInfoCodes(HotelDescriptiveContent.FacilityInfo.Restaurants.SrvcInfoCodes srvcInfoCodes)
srvcInfoCodes
- public java.lang.Integer getQuantity()
public void setQuantity(java.lang.Integer quantity)
quantity
-
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |