|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ota.golf.CourseSearchRS
public class CourseSearchRS
Returns a set of data representing the course(s) that meet the requested criteria. Where the criteria attribute of Required is 'Yes' then only those courses that meet those criteria will be returned. Where the Required attribute is 'No' then a course that does not meet that criteria may be included in the set. In all cases, where the criteria has been included in the request, the comparable trait and its value will be returned, along with the basic course information and identification. The message may also include Warnings from business processing rules or Errors if the request did not succeed. 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_GolfCourseSearchRS"> <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="GolfCourses"> <xs:complexType> <xs:sequence> <xs:element type="ns:GolfCourseType" name="GolfCourse" maxOccurs="99"> <!-- Reference to inner class GolfCourse --> </xs:element> </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"/>
Nested Class Summary | |
---|---|
static class |
CourseSearchRS.GolfCourse
Schema fragment(s) for this class: |
Constructor Summary | |
---|---|
CourseSearchRS()
|
Method Summary | |
---|---|
void |
addGolfCourse(CourseSearchRS.GolfCourse item)
Add a 'GolfCourse' element item. |
void |
clearChoiceSelect()
Clear the choice selection. |
void |
clearGolfCourses()
Remove all 'GolfCourse' element items. |
Errors |
getErrors()
Get the 'Errors' element value. |
CourseSearchRS.GolfCourse |
getGolfCourse(int index)
Get 'GolfCourse' element item by position. |
java.util.List<CourseSearchRS.GolfCourse> |
getGolfCourses()
Get the list of 'GolfCourse' 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 |
setGolfCourses(java.util.List<CourseSearchRS.GolfCourse> list)
Set the list of 'GolfCourse' 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 |
sizeGolfCourses()
Get the number of 'GolfCourse' element items. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CourseSearchRS()
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<CourseSearchRS.GolfCourse> getGolfCourses()
public void setGolfCourses(java.util.List<CourseSearchRS.GolfCourse> list)
list
- public int sizeGolfCourses()
public void addGolfCourse(CourseSearchRS.GolfCourse item)
item
- public CourseSearchRS.GolfCourse getGolfCourse(int index)
index
-
public void clearGolfCourses()
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 |