org.ota.hotel
Class EventReport.EventSites.EventSite.EventDays.EventDay.EventDayFunctions.EventDayFunction.Sequence.FoodAndBeverages.FoodAndBeverage.Comments

java.lang.Object
  extended by org.ota.hotel.EventReport.EventSites.EventSite.EventDays.EventDay.EventDayFunctions.EventDayFunction.Sequence.FoodAndBeverages.FoodAndBeverage.Comments
Enclosing class:
EventReport.EventSites.EventSite.EventDays.EventDay.EventDayFunctions.EventDayFunction.Sequence.FoodAndBeverages.FoodAndBeverage

public static class EventReport.EventSites.EventSite.EventDays.EventDay.EventDayFunctions.EventDayFunction.Sequence.FoodAndBeverages.FoodAndBeverage.Comments
extends java.lang.Object

A collection of comments associated with the food and beverage requirement. 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="Comments" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element type="ns:ParagraphType" name="Comment" maxOccurs="99"/>
     </xs:sequence>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
EventReport.EventSites.EventSite.EventDays.EventDay.EventDayFunctions.EventDayFunction.Sequence.FoodAndBeverages.FoodAndBeverage.Comments()
           
 
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.
 void setComments(java.util.List<Paragraph> list)
          Set the list of 'Comment' element items.
 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

EventReport.EventSites.EventSite.EventDays.EventDay.EventDayFunctions.EventDayFunction.Sequence.FoodAndBeverages.FoodAndBeverage.Comments

public EventReport.EventSites.EventSite.EventDays.EventDay.EventDayFunctions.EventDayFunction.Sequence.FoodAndBeverages.FoodAndBeverage.Comments()
Method Detail

getComments

public java.util.List<Paragraph> getComments()
Get the list of 'Comment' element items. A comment associated with the food and beverage requirement.

Returns:
list

setComments

public void setComments(java.util.List<Paragraph> list)
Set the list of 'Comment' element items. A comment associated with the food and beverage requirement.

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.