org.ota.hotel
Class EventReport.EventSites.EventSite.RoomBlocks.RoomBlock.StayDays

java.lang.Object
  extended by org.ota.hotel.EventReport.EventSites.EventSite.RoomBlocks.RoomBlock.StayDays
Enclosing class:
EventReport.EventSites.EventSite.RoomBlocks.RoomBlock

public static class EventReport.EventSites.EventSite.RoomBlocks.RoomBlock.StayDays
extends java.lang.Object

A collection of stay days. 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="StayDays" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="StayDay" maxOccurs="unbounded">
         <!-- Reference to inner class StayDay -->
       </xs:element>
     </xs:sequence>
     <xs:attribute type="ns:DayOfWeekType" use="optional" name="FirstStayDayOfWeek"/>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class EventReport.EventSites.EventSite.RoomBlocks.RoomBlock.StayDays.StayDay
          A particular stay day.
 
Constructor Summary
EventReport.EventSites.EventSite.RoomBlocks.RoomBlock.StayDays()
           
 
Method Summary
 void addStayDay(EventReport.EventSites.EventSite.RoomBlocks.RoomBlock.StayDays.StayDay item)
          Add a 'StayDay' element item.
 void clearStayDaies()
          Remove all 'StayDay' element items.
 DayOfWeek getFirstStayDayOfWeek()
          Get the 'FirstStayDayOfWeek' attribute value.
 java.util.List<EventReport.EventSites.EventSite.RoomBlocks.RoomBlock.StayDays.StayDay> getStayDaies()
          Get the list of 'StayDay' element items.
 EventReport.EventSites.EventSite.RoomBlocks.RoomBlock.StayDays.StayDay getStayDay(int index)
          Get 'StayDay' element item by position.
 void setFirstStayDayOfWeek(DayOfWeek firstStayDayOfWeek)
          Set the 'FirstStayDayOfWeek' attribute value.
 void setStayDaies(java.util.List<EventReport.EventSites.EventSite.RoomBlocks.RoomBlock.StayDays.StayDay> list)
          Set the list of 'StayDay' element items.
 int sizeStayDaies()
          Get the number of 'StayDay' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventReport.EventSites.EventSite.RoomBlocks.RoomBlock.StayDays

public EventReport.EventSites.EventSite.RoomBlocks.RoomBlock.StayDays()
Method Detail

getStayDaies

public java.util.List<EventReport.EventSites.EventSite.RoomBlocks.RoomBlock.StayDays.StayDay> getStayDaies()
Get the list of 'StayDay' element items.

Returns:
list

setStayDaies

public void setStayDaies(java.util.List<EventReport.EventSites.EventSite.RoomBlocks.RoomBlock.StayDays.StayDay> list)
Set the list of 'StayDay' element items.

Parameters:
list -

sizeStayDaies

public int sizeStayDaies()
Get the number of 'StayDay' element items.

Returns:
count

addStayDay

public void addStayDay(EventReport.EventSites.EventSite.RoomBlocks.RoomBlock.StayDays.StayDay item)
Add a 'StayDay' element item.

Parameters:
item -

getStayDay

public EventReport.EventSites.EventSite.RoomBlocks.RoomBlock.StayDays.StayDay getStayDay(int index)
Get 'StayDay' element item by position.

Parameters:
index -
Returns:
item

clearStayDaies

public void clearStayDaies()
Remove all 'StayDay' element items.


getFirstStayDayOfWeek

public DayOfWeek getFirstStayDayOfWeek()
Get the 'FirstStayDayOfWeek' attribute value. This is used to identify the first day of the week based on the start date provided in the Date element.

Returns:
value

setFirstStayDayOfWeek

public void setFirstStayDayOfWeek(DayOfWeek firstStayDayOfWeek)
Set the 'FirstStayDayOfWeek' attribute value. This is used to identify the first day of the week based on the start date provided in the Date element.

Parameters:
firstStayDayOfWeek -