org.ota.golf
Class GolfCourseRes

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

public class GolfCourseRes
extends java.lang.Object

A specific reservation for a tee time for an individual or a number of golfers Schema fragment(s) for this class:

 <xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="GolfCourseResType">
   <xs:sequence>
     <xs:element name="Rounds">
       <xs:complexType>
         <xs:sequence>
           <xs:element type="ns:RoundType" name="Round" maxOccurs="99">
             <!-- Reference to inner class Round -->
           </xs:element>
         </xs:sequence>
       </xs:complexType>
     </xs:element>
     <xs:element type="ns:UniqueID_Type" name="ResID" minOccurs="0"/>
   </xs:sequence>
   <xs:attribute type="xs:string" use="required" name="Status"/>
   <xs:attribute type="xs:string" use="required" name="StatusMessage"/>
   <xs:attribute type="xs:string" use="required" name="RequestorResID"/>
   <xs:attribute type="xs:string" use="required" name="ResponderResConfID"/>
 </xs:complexType>
 


Nested Class Summary
static class GolfCourseRes.Round
          Schema fragment(s) for this class:
 
Constructor Summary
GolfCourseRes()
           
 
Method Summary
 void addRound(GolfCourseRes.Round item)
          Add a 'Round' element item.
 void clearRounds()
          Remove all 'Round' element items.
 java.lang.String getRequestorResID()
          Get the 'RequestorResID' attribute value.
 UniqueID getResID()
          Get the 'ResID' element value.
 java.lang.String getResponderResConfID()
          Get the 'ResponderResConfID' attribute value.
 GolfCourseRes.Round getRound(int index)
          Get 'Round' element item by position.
 java.util.List<GolfCourseRes.Round> getRounds()
          Get the list of 'Round' element items.
 java.lang.String getStatus()
          Get the 'Status' attribute value.
 java.lang.String getStatusMessage()
          Get the 'StatusMessage' attribute value.
 void setRequestorResID(java.lang.String requestorResID)
          Set the 'RequestorResID' attribute value.
 void setResID(UniqueID resID)
          Set the 'ResID' element value.
 void setResponderResConfID(java.lang.String responderResConfID)
          Set the 'ResponderResConfID' attribute value.
 void setRounds(java.util.List<GolfCourseRes.Round> list)
          Set the list of 'Round' element items.
 void setStatus(java.lang.String status)
          Set the 'Status' attribute value.
 void setStatusMessage(java.lang.String statusMessage)
          Set the 'StatusMessage' attribute value.
 int sizeRounds()
          Get the number of 'Round' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GolfCourseRes

public GolfCourseRes()
Method Detail

getRounds

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

Returns:
list

setRounds

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

Parameters:
list -

sizeRounds

public int sizeRounds()
Get the number of 'Round' element items.

Returns:
count

addRound

public void addRound(GolfCourseRes.Round item)
Add a 'Round' element item.

Parameters:
item -

getRound

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

Parameters:
index -
Returns:
item

clearRounds

public void clearRounds()
Remove all 'Round' element items.


getResID

public UniqueID getResID()
Get the 'ResID' element value.

Returns:
value

setResID

public void setResID(UniqueID resID)
Set the 'ResID' element value.

Parameters:
resID -

getStatus

public java.lang.String getStatus()
Get the 'Status' attribute value. The status of this reservation transaction

Returns:
value

setStatus

public void setStatus(java.lang.String status)
Set the 'Status' attribute value. The status of this reservation transaction

Parameters:
status -

getStatusMessage

public java.lang.String getStatusMessage()
Get the 'StatusMessage' attribute value. A description or message associated with the status.

Returns:
value

setStatusMessage

public void setStatusMessage(java.lang.String statusMessage)
Set the 'StatusMessage' attribute value. A description or message associated with the status.

Parameters:
statusMessage -

getRequestorResID

public java.lang.String getRequestorResID()
Get the 'RequestorResID' attribute value. The unique Identifier used by the party booking the reservation.

Returns:
value

setRequestorResID

public void setRequestorResID(java.lang.String requestorResID)
Set the 'RequestorResID' attribute value. The unique Identifier used by the party booking the reservation.

Parameters:
requestorResID -

getResponderResConfID

public java.lang.String getResponderResConfID()
Get the 'ResponderResConfID' attribute value. The unique identifier assigned by the supplier.

Returns:
value

setResponderResConfID

public void setResponderResConfID(java.lang.String responderResConfID)
Set the 'ResponderResConfID' attribute value. The unique identifier assigned by the supplier.

Parameters:
responderResConfID -