|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ota.hotel.PostEventRQ.Sites
public static class PostEventRQ.Sites
A collection of sites for which a post event report is being requested. Provides the ability to request information for a site or group of sites without the specific details of an event. Typically this would be a batch transmission of post event history. 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="Sites" minOccurs="0"> <xs:complexType> <xs:sequence> <xs:element name="Site" maxOccurs="unbounded"> <xs:complexType> <xs:attributeGroup ref="ns:HotelReferenceGroup"/> </xs:complexType> </xs:element> <xs:element type="ns:DateTimeSpanType" name="Date" minOccurs="0" maxOccurs="99"/> </xs:sequence> </xs:complexType> </xs:element>
Constructor Summary | |
---|---|
PostEventRQ.Sites()
|
Method Summary | |
---|---|
void |
addDate(DateTimeSpan item)
Add a 'Date' element item. |
void |
addSite(HotelReferenceGroup item)
Add a 'Site' element item. |
void |
clearDates()
Remove all 'Date' element items. |
void |
clearSites()
Remove all 'Site' element items. |
DateTimeSpan |
getDate(int index)
Get 'Date' element item by position. |
java.util.List<DateTimeSpan> |
getDates()
Get the list of 'Date' element items. |
HotelReferenceGroup |
getSite(int index)
Get 'Site' element item by position. |
java.util.List<HotelReferenceGroup> |
getSites()
Get the list of 'Site' element items. |
void |
setDates(java.util.List<DateTimeSpan> list)
Set the list of 'Date' element items. |
void |
setSites(java.util.List<HotelReferenceGroup> list)
Set the list of 'Site' element items. |
int |
sizeDates()
Get the number of 'Date' element items. |
int |
sizeSites()
Get the number of 'Site' element items. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PostEventRQ.Sites()
Method Detail |
---|
public java.util.List<HotelReferenceGroup> getSites()
public void setSites(java.util.List<HotelReferenceGroup> list)
list
- public int sizeSites()
public void addSite(HotelReferenceGroup item)
item
- public HotelReferenceGroup getSite(int index)
index
-
public void clearSites()
public java.util.List<DateTimeSpan> getDates()
public void setDates(java.util.List<DateTimeSpan> list)
list
- public int sizeDates()
public void addDate(DateTimeSpan item)
item
- public DateTimeSpan getDate(int index)
index
-
public void clearDates()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |