org.ota.hotel
Class Event.EventInner.CustomQuestions

java.lang.Object
  extended by org.ota.hotel.Event.EventInner.CustomQuestions
Enclosing class:
Event.EventInner

public static class Event.EventInner.CustomQuestions
extends java.lang.Object

A container for collecting custom questions and answers. 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="CustomQuestions" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element type="ns:CustomQuestionType" name="CustomQuestion" maxOccurs="unbounded"/>
     </xs:sequence>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
Event.EventInner.CustomQuestions()
           
 
Method Summary
 void addCustomQuestion(CustomQuestion item)
          Add a 'CustomQuestion' element item.
 void clearCustomQuestions()
          Remove all 'CustomQuestion' element items.
 CustomQuestion getCustomQuestion(int index)
          Get 'CustomQuestion' element item by position.
 java.util.List<CustomQuestion> getCustomQuestions()
          Get the list of 'CustomQuestion' element items.
 void setCustomQuestions(java.util.List<CustomQuestion> list)
          Set the list of 'CustomQuestion' element items.
 int sizeCustomQuestions()
          Get the number of 'CustomQuestion' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Event.EventInner.CustomQuestions

public Event.EventInner.CustomQuestions()
Method Detail

getCustomQuestions

public java.util.List<CustomQuestion> getCustomQuestions()
Get the list of 'CustomQuestion' element items. Details regarding a particular question.

Returns:
list

setCustomQuestions

public void setCustomQuestions(java.util.List<CustomQuestion> list)
Set the list of 'CustomQuestion' element items. Details regarding a particular question.

Parameters:
list -

sizeCustomQuestions

public int sizeCustomQuestions()
Get the number of 'CustomQuestion' element items.

Returns:
count

addCustomQuestion

public void addCustomQuestion(CustomQuestion item)
Add a 'CustomQuestion' element item.

Parameters:
item -

getCustomQuestion

public CustomQuestion getCustomQuestion(int index)
Get 'CustomQuestion' element item by position.

Parameters:
index -
Returns:
item

clearCustomQuestions

public void clearCustomQuestions()
Remove all 'CustomQuestion' element items.