|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ota.hotel.HotelDescriptiveContent.AreaInfo.Attractions
public static class HotelDescriptiveContent.AreaInfo.Attractions
A collection of Attraction objects identifying the local interest attractions in the vicinity of this hotel facility. 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="Attractions" minOccurs="0"> <xs:complexType> <xs:sequence> <xs:element name="Attraction" maxOccurs="unbounded"> <!-- Reference to inner class Attraction --> </xs:element> </xs:sequence> <xs:attribute type="xs:dateTime" use="optional" name="LastUpdated"/> </xs:complexType> </xs:element>
Nested Class Summary | |
---|---|
static class |
HotelDescriptiveContent.AreaInfo.Attractions.Attraction
This identifies an item of local interest (e.g. |
Constructor Summary | |
---|---|
HotelDescriptiveContent.AreaInfo.Attractions()
|
Method Summary | |
---|---|
void |
addAttraction(HotelDescriptiveContent.AreaInfo.Attractions.Attraction item)
Add a 'Attraction' element item. |
void |
clearAttractions()
Remove all 'Attraction' element items. |
HotelDescriptiveContent.AreaInfo.Attractions.Attraction |
getAttraction(int index)
Get 'Attraction' element item by position. |
java.util.List<HotelDescriptiveContent.AreaInfo.Attractions.Attraction> |
getAttractions()
Get the list of 'Attraction' element items. |
java.util.Date |
getLastUpdated()
Get the 'LastUpdated' attribute value. |
void |
setAttractions(java.util.List<HotelDescriptiveContent.AreaInfo.Attractions.Attraction> list)
Set the list of 'Attraction' element items. |
void |
setLastUpdated(java.util.Date lastUpdated)
Set the 'LastUpdated' attribute value. |
int |
sizeAttractions()
Get the number of 'Attraction' element items. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HotelDescriptiveContent.AreaInfo.Attractions()
Method Detail |
---|
public java.util.List<HotelDescriptiveContent.AreaInfo.Attractions.Attraction> getAttractions()
public void setAttractions(java.util.List<HotelDescriptiveContent.AreaInfo.Attractions.Attraction> list)
list
- public int sizeAttractions()
public void addAttraction(HotelDescriptiveContent.AreaInfo.Attractions.Attraction item)
item
- public HotelDescriptiveContent.AreaInfo.Attractions.Attraction getAttraction(int index)
index
-
public void clearAttractions()
public java.util.Date getLastUpdated()
public void setLastUpdated(java.util.Date lastUpdated)
lastUpdated
-
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |