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

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

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

This is information pertaining to room requirements for this request. 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="RoomBlock" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="StayDates" minOccurs="0">
         <!-- Reference to inner class StayDates -->
       </xs:element>
       <xs:element type="ns:FeesType" name="Fees" minOccurs="0"/>
       <xs:element type="ns:ParagraphType" name="Comments" minOccurs="0" maxOccurs="5"/>
     </xs:sequence>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class RFPResponse.RFPResponseSegment.Sites.Site.Dates.Date.RoomBlock.StayDates
          A collection of multiple StayDates.
 
Constructor Summary
RFPResponse.RFPResponseSegment.Sites.Site.Dates.Date.RoomBlock()
           
 
Method Summary
 void addComment(Paragraph item)
          Add a 'Comments' element item.
 void clearComments()
          Remove all 'Comments' element items.
 Paragraph getComment(int index)
          Get 'Comments' element item by position.
 java.util.List<Paragraph> getComments()
          Get the list of 'Comments' element items.
 Fees getFees()
          Get the 'Fees' element value.
 RFPResponse.RFPResponseSegment.Sites.Site.Dates.Date.RoomBlock.StayDates getStayDates()
          Get the 'StayDates' element value.
 void setComments(java.util.List<Paragraph> list)
          Set the list of 'Comments' element items.
 void setFees(Fees fees)
          Set the 'Fees' element value.
 void setStayDates(RFPResponse.RFPResponseSegment.Sites.Site.Dates.Date.RoomBlock.StayDates stayDates)
          Set the 'StayDates' element value.
 int sizeComments()
          Get the number of 'Comments' 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

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

getStayDates

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

Returns:
value

setStayDates

public void setStayDates(RFPResponse.RFPResponseSegment.Sites.Site.Dates.Date.RoomBlock.StayDates stayDates)
Set the 'StayDates' element value.

Parameters:
stayDates -

getFees

public Fees getFees()
Get the 'Fees' element value. These fees apply to the dates or date range specified in the Date element. This provides the ability to apply fees to all room types being returned.

Returns:
value

setFees

public void setFees(Fees fees)
Set the 'Fees' element value. These fees apply to the dates or date range specified in the Date element. This provides the ability to apply fees to all room types being returned.

Parameters:
fees -

getComments

public java.util.List<Paragraph> getComments()
Get the list of 'Comments' element items. An open field to comment on the room block.

Returns:
list

setComments

public void setComments(java.util.List<Paragraph> list)
Set the list of 'Comments' element items. An open field to comment on the room block.

Parameters:
list -

sizeComments

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

Returns:
count

addComment

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

Parameters:
item -

getComment

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

Parameters:
index -
Returns:
item

clearComments

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