|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ota.golf.CourseAvailRS
public class CourseAvailRS
The OTA_CourseAvailRS is the response message associated with the OTA_CourseAvailRQ message. It includes any errors and warnings, or an element indicating success. Where the response is successful, the tee times and fees will be included. 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="OTA_GolfCourseAvailRS"> <xs:complexType> <xs:choice> <xs:sequence> <xs:element type="ns:SuccessType" name="Success"/> <xs:element type="ns:WarningsType" name="Warnings" minOccurs="0"/> <xs:element type="ns:UniqueID_Type" name="UniqueID" minOccurs="0"/> <xs:element name="GolfCourseTeeTimes"> <xs:complexType> <xs:sequence> <xs:element type="ns:GolfCourseTeeTimeType" name="GolfCourseTeeTime" maxOccurs="99"/> </xs:sequence> </xs:complexType> </xs:element> </xs:sequence> <xs:element type="ns:ErrorsType" name="Errors"/> </xs:choice> <xs:attributeGroup ref="ns:OTA_PayloadStdAttributes"/> </xs:complexType> </xs:element> <xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="SuccessType"/>
Constructor Summary | |
---|---|
CourseAvailRS()
|
Method Summary | |
---|---|
void |
addGolfCourseTeeTime(GolfCourseTeeTime item)
Add a 'GolfCourseTeeTime' element item. |
void |
clearChoiceSelect()
Clear the choice selection. |
void |
clearGolfCourseTeeTimes()
Remove all 'GolfCourseTeeTime' element items. |
Errors |
getErrors()
Get the 'Errors' element value. |
GolfCourseTeeTime |
getGolfCourseTeeTime(int index)
Get 'GolfCourseTeeTime' element item by position. |
java.util.List<GolfCourseTeeTime> |
getGolfCourseTeeTimes()
Get the list of 'GolfCourseTeeTime' element items. |
OTAPayloadStdAttributes |
getOTAPayloadStdAttributes()
Get the 'OTA_PayloadStdAttributes' attributeGroup value. |
UniqueID |
getUniqueID()
Get the 'UniqueID' element value. |
Warnings |
getWarnings()
Get the 'Warnings' element value. |
boolean |
ifErrors()
Check if Errors is current selection for choice. |
boolean |
ifSuccess()
Check if Success is current selection for choice. |
void |
setErrors(Errors errors)
Set the 'Errors' element value. |
void |
setGolfCourseTeeTimes(java.util.List<GolfCourseTeeTime> list)
Set the list of 'GolfCourseTeeTime' element items. |
void |
setOTAPayloadStdAttributes(OTAPayloadStdAttributes OTAPayloadStdAttributes)
Set the 'OTA_PayloadStdAttributes' attributeGroup value. |
void |
setUniqueID(UniqueID uniqueID)
Set the 'UniqueID' element value. |
void |
setWarnings(Warnings warnings)
Set the 'Warnings' element value. |
int |
sizeGolfCourseTeeTimes()
Get the number of 'GolfCourseTeeTime' element items. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CourseAvailRS()
Method Detail |
---|
public void clearChoiceSelect()
public boolean ifSuccess()
true
if selection, false
if notpublic Warnings getWarnings()
public void setWarnings(Warnings warnings)
warnings
- public UniqueID getUniqueID()
public void setUniqueID(UniqueID uniqueID)
uniqueID
- public java.util.List<GolfCourseTeeTime> getGolfCourseTeeTimes()
public void setGolfCourseTeeTimes(java.util.List<GolfCourseTeeTime> list)
list
- public int sizeGolfCourseTeeTimes()
public void addGolfCourseTeeTime(GolfCourseTeeTime item)
item
- public GolfCourseTeeTime getGolfCourseTeeTime(int index)
index
-
public void clearGolfCourseTeeTimes()
public boolean ifErrors()
true
if selection, false
if notpublic Errors getErrors()
public void setErrors(Errors errors)
errors
- public OTAPayloadStdAttributes getOTAPayloadStdAttributes()
public void setOTAPayloadStdAttributes(OTAPayloadStdAttributes OTAPayloadStdAttributes)
OTAPayloadStdAttributes
-
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |