|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ota.golf.CourseResRS
public class CourseResRS
The OTA_CourseResRS message is used as a response to the OTA_CourseResRQ. The specific information about the golfer or golfers is necessary in order to validate booking rules and set rates. The response includes all rate and confirmation information. Where the booking entity has the authority to make the booking and uses the Request message as a notification, the Response message is merely an acknowledgment of receipt of that booking. 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_GolfCourseResRS"> <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="GolfCoursesRes"> <xs:complexType> <xs:sequence> <xs:element type="ns:GolfCourseResType" name="GolfCourseRes" 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:attributeGroup ref="ns:ID_Group"/> </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"/> <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="ID_Group"> <xs:attribute type="xs:string" use="required" name="ID"/> </xs:attributeGroup>
Constructor Summary | |
---|---|
CourseResRS()
|
Method Summary | |
---|---|
void |
addGolfCourseRe(GolfCourseRes item)
Add a 'GolfCourseRes' element item. |
void |
clearChoiceSelect()
Clear the choice selection. |
void |
clearGolfCourseRes()
Remove all 'GolfCourseRes' element items. |
Errors |
getErrors()
Get the 'Errors' element value. |
GolfCourseRes |
getGolfCourseRe(int index)
Get 'GolfCourseRes' element item by position. |
java.util.List<GolfCourseRes> |
getGolfCourseRes()
Get the list of 'GolfCourseRes' element items. |
java.lang.String |
getID()
Get the 'ID' attribute value. |
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 |
setGolfCourseRes(java.util.List<GolfCourseRes> list)
Set the list of 'GolfCourseRes' element items. |
void |
setID(java.lang.String ID)
Set the 'ID' attribute value. |
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 |
sizeGolfCourseRes()
Get the number of 'GolfCourseRes' element items. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CourseResRS()
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<GolfCourseRes> getGolfCourseRes()
public void setGolfCourseRes(java.util.List<GolfCourseRes> list)
list
- public int sizeGolfCourseRes()
public void addGolfCourseRe(GolfCourseRes item)
item
- public GolfCourseRes getGolfCourseRe(int index)
index
-
public void clearGolfCourseRes()
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
- public java.lang.String getID()
public void setID(java.lang.String ID)
ID
-
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |