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

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

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

This is information pertaining to the event 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="EventBlock" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="EventDates" minOccurs="0">
         <!-- Reference to inner class EventDates -->
       </xs:element>
       <xs:element type="ns:ParagraphType" name="Comment" minOccurs="0" maxOccurs="5"/>
     </xs:sequence>
     <xs:attribute type="xs:string" use="optional" name="EventName"/>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class RFPResponse.RFPResponseSegment.Sites.Site.Dates.Date.EventBlock.EventDates
          A collection of multiple EventDates.
 
Constructor Summary
RFPResponse.RFPResponseSegment.Sites.Site.Dates.Date.EventBlock()
           
 
Method Summary
 void addComment(Paragraph item)
          Add a 'Comment' element item.
 void clearComments()
          Remove all 'Comment' element items.
 Paragraph getComment(int index)
          Get 'Comment' element item by position.
 java.util.List<Paragraph> getComments()
          Get the list of 'Comment' element items.
 RFPResponse.RFPResponseSegment.Sites.Site.Dates.Date.EventBlock.EventDates getEventDates()
          Get the 'EventDates' element value.
 java.lang.String getEventName()
          Get the 'EventName' attribute value.
 void setComments(java.util.List<Paragraph> list)
          Set the list of 'Comment' element items.
 void setEventDates(RFPResponse.RFPResponseSegment.Sites.Site.Dates.Date.EventBlock.EventDates eventDates)
          Set the 'EventDates' element value.
 void setEventName(java.lang.String eventName)
          Set the 'EventName' attribute 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.EventBlock

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

getEventDates

public RFPResponse.RFPResponseSegment.Sites.Site.Dates.Date.EventBlock.EventDates getEventDates()
Get the 'EventDates' element value.

Returns:
value

setEventDates

public void setEventDates(RFPResponse.RFPResponseSegment.Sites.Site.Dates.Date.EventBlock.EventDates eventDates)
Set the 'EventDates' element value.

Parameters:
eventDates -

getComments

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

Returns:
list

setComments

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

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.


getEventName

public java.lang.String getEventName()
Get the 'EventName' attribute value. Used to identify the event.

Returns:
value

setEventName

public void setEventName(java.lang.String eventName)
Set the 'EventName' attribute value. Used to identify the event.

Parameters:
eventName -