org.ota.golf
Class CourseSearchRQ

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

public class CourseSearchRQ
extends java.lang.Object

Sends a request for course information to another system. All the elements and attributes are optional, unless otherwise stated as required. The requesting system may request a detailed or summary response. 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_GolfCourseSearchRQ">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="Criteria">
         <xs:complexType>
           <xs:sequence>
             <xs:element name="Criterion" maxOccurs="99">
               <!-- Reference to inner class Criterion -->
             </xs:element>
           </xs:sequence>
         </xs:complexType>
       </xs:element>
     </xs:sequence>
     <xs:attributeGroup ref="ns:OTA_PayloadStdAttributes"/>
     <xs:attributeGroup ref="ns:ID_Group"/>
     <xs:attributeGroup ref="ns:DetailResponseGroup"/>
   </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>
 
 <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="DetailResponseGroup">
   <xs:attribute type="xs:boolean" use="required" name="DetailResponse"/>
 </xs:attributeGroup>
 


Nested Class Summary
static class CourseSearchRQ.Criterion
          Schema fragment(s) for this class:
 
Constructor Summary
CourseSearchRQ()
           
 
Method Summary
 void addCriterion(CourseSearchRQ.Criterion item)
          Add a 'Criterion' element item.
 void clearCriterions()
          Remove all 'Criterion' element items.
 CourseSearchRQ.Criterion getCriterion(int index)
          Get 'Criterion' element item by position.
 java.util.List<CourseSearchRQ.Criterion> getCriterions()
          Get the list of 'Criterion' element items.
 java.lang.String getID()
          Get the 'ID' attribute value.
 OTAPayloadStdAttributes getOTAPayloadStdAttributes()
          Get the 'OTA_PayloadStdAttributes' attributeGroup value.
 boolean isDetailResponse()
          Get the 'DetailResponse' attribute value.
 void setCriterions(java.util.List<CourseSearchRQ.Criterion> list)
          Set the list of 'Criterion' element items.
 void setDetailResponse(boolean detailResponse)
          Set the 'DetailResponse' attribute value.
 void setID(java.lang.String ID)
          Set the 'ID' attribute value.
 void setOTAPayloadStdAttributes(OTAPayloadStdAttributes OTAPayloadStdAttributes)
          Set the 'OTA_PayloadStdAttributes' attributeGroup value.
 int sizeCriterions()
          Get the number of 'Criterion' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CourseSearchRQ

public CourseSearchRQ()
Method Detail

getCriterions

public java.util.List<CourseSearchRQ.Criterion> getCriterions()
Get the list of 'Criterion' element items.

Returns:
list

setCriterions

public void setCriterions(java.util.List<CourseSearchRQ.Criterion> list)
Set the list of 'Criterion' element items.

Parameters:
list -

sizeCriterions

public int sizeCriterions()
Get the number of 'Criterion' element items.

Returns:
count

addCriterion

public void addCriterion(CourseSearchRQ.Criterion item)
Add a 'Criterion' element item.

Parameters:
item -

getCriterion

public CourseSearchRQ.Criterion getCriterion(int index)
Get 'Criterion' element item by position.

Parameters:
index -
Returns:
item

clearCriterions

public void clearCriterions()
Remove all 'Criterion' 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 -

isDetailResponse

public boolean isDetailResponse()
Get the 'DetailResponse' attribute value. To indicate whether full details should be returned in the response. "True" indicates details should be included and "false" means details are not required.

Returns:
value

setDetailResponse

public void setDetailResponse(boolean detailResponse)
Set the 'DetailResponse' attribute value. To indicate whether full details should be returned in the response. "True" indicates details should be included and "false" means details are not required.

Parameters:
detailResponse -