|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ota.hotel.RFPResponse.RFPResponseSegment.Sites.Site.Answers
public static class RFPResponse.RFPResponseSegment.Sites.Site.Answers
A container for collecting answers to custom questions. 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="Answers" minOccurs="0"> <xs:complexType> <xs:sequence> <xs:element type="ns:CustomQuestionType" name="Answer" maxOccurs="unbounded"/> </xs:sequence> </xs:complexType> </xs:element>
Constructor Summary | |
---|---|
RFPResponse.RFPResponseSegment.Sites.Site.Answers()
|
Method Summary | |
---|---|
void |
addAnswer(CustomQuestion item)
Add a 'Answer' element item. |
void |
clearAnswers()
Remove all 'Answer' element items. |
CustomQuestion |
getAnswer(int index)
Get 'Answer' element item by position. |
java.util.List<CustomQuestion> |
getAnswers()
Get the list of 'Answer' element items. |
void |
setAnswers(java.util.List<CustomQuestion> list)
Set the list of 'Answer' element items. |
int |
sizeAnswers()
Get the number of 'Answer' element items. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RFPResponse.RFPResponseSegment.Sites.Site.Answers()
Method Detail |
---|
public java.util.List<CustomQuestion> getAnswers()
public void setAnswers(java.util.List<CustomQuestion> list)
list
- public int sizeAnswers()
public void addAnswer(CustomQuestion item)
item
- public CustomQuestion getAnswer(int index)
index
-
public void clearAnswers()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |