org.ota.hotel
Class RFPMeetingRQ.RFPRequestSegment.RoomBlock.StayDays

java.lang.Object
  extended by org.ota.hotel.RFPMeetingRQ.RFPRequestSegment.RoomBlock.StayDays
Enclosing class:
RFPMeetingRQ.RFPRequestSegment.RoomBlock

public static class RFPMeetingRQ.RFPRequestSegment.RoomBlock.StayDays
extends java.lang.Object

A collection of multiple StayDays. 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 RFPMeetingRQ.RFPRequestSegment.RoomBlock.StayDays.StayDay
          A container for the DayNumber.
 
Constructor Summary
RFPMeetingRQ.RFPRequestSegment.RoomBlock.StayDays()
           
 
Method Summary
 void addStayDay(RFPMeetingRQ.RFPRequestSegment.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<RFPMeetingRQ.RFPRequestSegment.RoomBlock.StayDays.StayDay> getStayDaies()
          Get the list of 'StayDay' element items.
 RFPMeetingRQ.RFPRequestSegment.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<RFPMeetingRQ.RFPRequestSegment.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

RFPMeetingRQ.RFPRequestSegment.RoomBlock.StayDays

public RFPMeetingRQ.RFPRequestSegment.RoomBlock.StayDays()
Method Detail

getStayDaies

public java.util.List<RFPMeetingRQ.RFPRequestSegment.RoomBlock.StayDays.StayDay> getStayDaies()
Get the list of 'StayDay' element items.

Returns:
list

setStayDaies

public void setStayDaies(java.util.List<RFPMeetingRQ.RFPRequestSegment.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(RFPMeetingRQ.RFPRequestSegment.RoomBlock.StayDays.StayDay item)
Add a 'StayDay' element item.

Parameters:
item -

getStayDay

public RFPMeetingRQ.RFPRequestSegment.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 room block.

Returns:
value

setFirstStayDayOfWeek

public void setFirstStayDayOfWeek(DayOfWeek firstStayDayOfWeek)
Set the 'FirstStayDayOfWeek' attribute value. This is used to identify the first day of the room block.

Parameters:
firstStayDayOfWeek -