org.ota.hotel
Class RFPResponse.RFPResponseSegment.Sites.Site.Dates.Date.RoomBlock.StayDates.StayDate

java.lang.Object
  extended by org.ota.hotel.RFPResponse.RFPResponseSegment.Sites.Site.Dates.Date.RoomBlock.StayDates.StayDate
Enclosing class:
RFPResponse.RFPResponseSegment.Sites.Site.Dates.Date.RoomBlock.StayDates

public static class RFPResponse.RFPResponseSegment.Sites.Site.Dates.Date.RoomBlock.StayDates.StayDate
extends java.lang.Object

Contains the date or date span for the room type availability. 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="StayDate" maxOccurs="unbounded">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="StayDateRooms" minOccurs="0">
         <!-- Reference to inner class StayDateRooms -->
       </xs:element>
       <xs:element type="ns:ParagraphType" name="Comment" minOccurs="0" maxOccurs="5"/>
     </xs:sequence>
     <xs:attributeGroup ref="ns:DateTimeSpanGroup"/>
     <xs:attribute use="optional" name="AvailabilityOptionType">
       <xs:simpleType>
         <!-- Reference to inner class AvailabilityOption -->
       </xs:simpleType>
     </xs:attribute>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class RFPResponse.RFPResponseSegment.Sites.Site.Dates.Date.RoomBlock.StayDates.StayDate.AvailabilityOption
          Schema fragment(s) for this class:
static class RFPResponse.RFPResponseSegment.Sites.Site.Dates.Date.RoomBlock.StayDates.StayDate.StayDateRooms
          A collection of multiple StayDateRooms.
 
Constructor Summary
RFPResponse.RFPResponseSegment.Sites.Site.Dates.Date.RoomBlock.StayDates.StayDate()
           
 
Method Summary
 void addComment(Paragraph item)
          Add a 'Comment' element item.
 void clearComments()
          Remove all 'Comment' element items.
 RFPResponse.RFPResponseSegment.Sites.Site.Dates.Date.RoomBlock.StayDates.StayDate.AvailabilityOption getAvailabilityOption()
          Get the 'AvailabilityOptionType' attribute value.
 Paragraph getComment(int index)
          Get 'Comment' element item by position.
 java.util.List<Paragraph> getComments()
          Get the list of 'Comment' element items.
 DateTimeSpanGroup getDateTimeSpanGroup()
          Get the 'DateTimeSpanGroup' attributeGroup value.
 RFPResponse.RFPResponseSegment.Sites.Site.Dates.Date.RoomBlock.StayDates.StayDate.StayDateRooms getStayDateRooms()
          Get the 'StayDateRooms' element value.
 void setAvailabilityOption(RFPResponse.RFPResponseSegment.Sites.Site.Dates.Date.RoomBlock.StayDates.StayDate.AvailabilityOption availabilityOption)
          Set the 'AvailabilityOptionType' attribute value.
 void setComments(java.util.List<Paragraph> list)
          Set the list of 'Comment' element items.
 void setDateTimeSpanGroup(DateTimeSpanGroup dateTimeSpanGroup)
          Set the 'DateTimeSpanGroup' attributeGroup value.
 void setStayDateRooms(RFPResponse.RFPResponseSegment.Sites.Site.Dates.Date.RoomBlock.StayDates.StayDate.StayDateRooms stayDateRooms)
          Set the 'StayDateRooms' element value.
 int sizeComments()
          Get the number of 'Comment' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RFPResponse.RFPResponseSegment.Sites.Site.Dates.Date.RoomBlock.StayDates.StayDate

public RFPResponse.RFPResponseSegment.Sites.Site.Dates.Date.RoomBlock.StayDates.StayDate()
Method Detail

getStayDateRooms

public RFPResponse.RFPResponseSegment.Sites.Site.Dates.Date.RoomBlock.StayDates.StayDate.StayDateRooms getStayDateRooms()
Get the 'StayDateRooms' element value.

Returns:
value

setStayDateRooms

public void setStayDateRooms(RFPResponse.RFPResponseSegment.Sites.Site.Dates.Date.RoomBlock.StayDates.StayDate.StayDateRooms stayDateRooms)
Set the 'StayDateRooms' element value.

Parameters:
stayDateRooms -

getComments

public java.util.List<Paragraph> getComments()
Get the list of 'Comment' element items. Comments for the date or date range as a whole.

Returns:
list

setComments

public void setComments(java.util.List<Paragraph> list)
Set the list of 'Comment' element items. Comments for the date or date range as a whole.

Parameters:
list -

sizeComments

public int sizeComments()
Get the number of 'Comment' element items.

Returns:
count

addComment

public void addComment(Paragraph item)
Add a 'Comment' element item.

Parameters:
item -

getComment

public Paragraph getComment(int index)
Get 'Comment' element item by position.

Parameters:
index -
Returns:
item

clearComments

public void clearComments()
Remove all 'Comment' element items.


getDateTimeSpanGroup

public DateTimeSpanGroup getDateTimeSpanGroup()
Get the 'DateTimeSpanGroup' attributeGroup value.

Returns:
value

setDateTimeSpanGroup

public void setDateTimeSpanGroup(DateTimeSpanGroup dateTimeSpanGroup)
Set the 'DateTimeSpanGroup' attributeGroup value.

Parameters:
dateTimeSpanGroup -

getAvailabilityOption

public RFPResponse.RFPResponseSegment.Sites.Site.Dates.Date.RoomBlock.StayDates.StayDate.AvailabilityOption getAvailabilityOption()
Get the 'AvailabilityOptionType' attribute value. Indicates the availability of the dates offered.

Returns:
value

setAvailabilityOption

public void setAvailabilityOption(RFPResponse.RFPResponseSegment.Sites.Site.Dates.Date.RoomBlock.StayDates.StayDate.AvailabilityOption availabilityOption)
Set the 'AvailabilityOptionType' attribute value. Indicates the availability of the dates offered.

Parameters:
availabilityOption -