org.ota.golf
Class CourseResRQ

java.lang.Object
  extended by org.ota.golf.CourseResRQ

public class CourseResRQ
extends java.lang.Object

The OTA_CourseResRQ message is used to request a reservation at a known single course for one or more potential tee times. The specific information about the golfer or golfers is necessary in order to validate booking rules and set rates. Where the booking entity has the authority to take a reservation without a request (from an existing block) then the Notification boolean will be set to "Yes". 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_GolfCourseResRQ">
   <xs:complexType>
     <xs:sequence>
       <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:attributeGroup ref="ns:OTA_PayloadStdAttributes"/>
     <xs:attributeGroup ref="ns:ID_Group"/>
     <xs:attribute type="xs:boolean" use="required" name="Notification"/>
   </xs:complexType>
 </xs:element>
 
 <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
CourseResRQ()
           
 
Method Summary
 void addGolfCourseRe(GolfCourseRes item)
          Add a 'GolfCourseRes' element item.
 void clearGolfCourseRes()
          Remove all 'GolfCourseRes' element items.
 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.
 boolean isNotification()
          Get the 'Notification' attribute 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 setNotification(boolean notification)
          Set the 'Notification' attribute value.
 void setOTAPayloadStdAttributes(OTAPayloadStdAttributes OTAPayloadStdAttributes)
          Set the 'OTA_PayloadStdAttributes' attributeGroup 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

CourseResRQ

public CourseResRQ()
Method Detail

getGolfCourseRes

public java.util.List<GolfCourseRes> getGolfCourseRes()
Get the list of 'GolfCourseRes' element items.

Returns:
list

setGolfCourseRes

public void setGolfCourseRes(java.util.List<GolfCourseRes> list)
Set the list of 'GolfCourseRes' element items.

Parameters:
list -

sizeGolfCourseRes

public int sizeGolfCourseRes()
Get the number of 'GolfCourseRes' element items.

Returns:
count

addGolfCourseRe

public void addGolfCourseRe(GolfCourseRes item)
Add a 'GolfCourseRes' element item.

Parameters:
item -

getGolfCourseRe

public GolfCourseRes getGolfCourseRe(int index)
Get 'GolfCourseRes' element item by position.

Parameters:
index -
Returns:
item

clearGolfCourseRes

public void clearGolfCourseRes()
Remove all 'GolfCourseRes' element items.


getOTAPayloadStdAttributes

public OTAPayloadStdAttributes getOTAPayloadStdAttributes()
Get the 'OTA_PayloadStdAttributes' attributeGroup value.

Returns:
value

setOTAPayloadStdAttributes

public void setOTAPayloadStdAttributes(OTAPayloadStdAttributes OTAPayloadStdAttributes)
Set the 'OTA_PayloadStdAttributes' attributeGroup value.

Parameters:
OTAPayloadStdAttributes -

getID

public java.lang.String getID()
Get the 'ID' attribute value. A unique identifying value assigned by the creating system. The ID attribute may be used to reference a primary-key value within a database or in a particular implementation.

Returns:
value

setID

public void setID(java.lang.String ID)
Set the 'ID' attribute value. A unique identifying value assigned by the creating system. The ID attribute may be used to reference a primary-key value within a database or in a particular implementation.

Parameters:
ID -

isNotification

public boolean isNotification()
Get the 'Notification' attribute value. Where the booking entity has the authority to take a reservation without a request (from an existing block) then the Notification boolean will be set to "Yes".

Returns:
value

setNotification

public void setNotification(boolean notification)
Set the 'Notification' attribute value. Where the booking entity has the authority to take a reservation without a request (from an existing block) then the Notification boolean will be set to "Yes".

Parameters:
notification -