org.ota.golf
Class GolfCourseTeeTime

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

public class GolfCourseTeeTime
extends java.lang.Object

The GolfCourseTeeTime attributes include the range of dates and times for which the round (or rounds) are being requested, as well as information relating to the number of golfers, the number of holes requested, and the number of times. It also includes the maximum price permitted in the response. 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="GolfCourseTeeTimeType">
   <xs:sequence>
     <xs:element type="ns:MembershipsType" name="Memberships" minOccurs="0"/>
     <xs:element type="ns:FeesType" name="Fees" minOccurs="0"/>
   </xs:sequence>
   <xs:attributeGroup ref="ns:DateTimeSpanGroup"/>
   <xs:attribute type="xs:string" use="required" name="NumberOfGolfers"/>
   <xs:attribute type="xs:string" use="required" name="NumberOfHoles"/>
   <xs:attribute type="xs:string" use="required" name="NumberOfTimes"/>
   <xs:attribute type="xs:float" use="required" name="MaxPrice"/>
   <xs:attributeGroup ref="ns:CurrencyAmountGroup"/>
 </xs:complexType>
 


Constructor Summary
GolfCourseTeeTime()
           
 
Method Summary
 CurrencyAmountGroup getCurrencyAmountGroup()
          Get the 'CurrencyAmountGroup' attributeGroup value.
 DateTimeSpanGroup getDateTimeSpanGroup()
          Get the 'DateTimeSpanGroup' attributeGroup value.
 Fees getFees()
          Get the 'Fees' element value.
 java.lang.Float getMaxPrice()
          Get the 'MaxPrice' attribute value.
 Memberships getMemberships()
          Get the 'Memberships' element value.
 java.lang.String getNumberOfGolfers()
          Get the 'NumberOfGolfers' attribute value.
 java.lang.String getNumberOfHoles()
          Get the 'NumberOfHoles' attribute value.
 java.lang.String getNumberOfTimes()
          Get the 'NumberOfTimes' attribute value.
 void setCurrencyAmountGroup(CurrencyAmountGroup currencyAmountGroup)
          Set the 'CurrencyAmountGroup' attributeGroup value.
 void setDateTimeSpanGroup(DateTimeSpanGroup dateTimeSpanGroup)
          Set the 'DateTimeSpanGroup' attributeGroup value.
 void setFees(Fees fees)
          Set the 'Fees' element value.
 void setMaxPrice(java.lang.Float maxPrice)
          Set the 'MaxPrice' attribute value.
 void setMemberships(Memberships memberships)
          Set the 'Memberships' element value.
 void setNumberOfGolfers(java.lang.String numberOfGolfers)
          Set the 'NumberOfGolfers' attribute value.
 void setNumberOfHoles(java.lang.String numberOfHoles)
          Set the 'NumberOfHoles' attribute value.
 void setNumberOfTimes(java.lang.String numberOfTimes)
          Set the 'NumberOfTimes' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GolfCourseTeeTime

public GolfCourseTeeTime()
Method Detail

getMemberships

public Memberships getMemberships()
Get the 'Memberships' element value.

Returns:
value

setMemberships

public void setMemberships(Memberships memberships)
Set the 'Memberships' element value.

Parameters:
memberships -

getFees

public Fees getFees()
Get the 'Fees' element value.

Returns:
value

setFees

public void setFees(Fees fees)
Set the 'Fees' element value.

Parameters:
fees -

getDateTimeSpanGroup

public DateTimeSpanGroup getDateTimeSpanGroup()
Get the 'DateTimeSpanGroup' attributeGroup value.

Returns:
value

setDateTimeSpanGroup

public void setDateTimeSpanGroup(DateTimeSpanGroup dateTimeSpanGroup)
Set the 'DateTimeSpanGroup' attributeGroup value.

Parameters:
dateTimeSpanGroup -

getNumberOfGolfers

public java.lang.String getNumberOfGolfers()
Get the 'NumberOfGolfers' attribute value. The number of golfers covered by this request.

Returns:
value

setNumberOfGolfers

public void setNumberOfGolfers(java.lang.String numberOfGolfers)
Set the 'NumberOfGolfers' attribute value. The number of golfers covered by this request.

Parameters:
numberOfGolfers -

getNumberOfHoles

public java.lang.String getNumberOfHoles()
Get the 'NumberOfHoles' attribute value. The number of holes that the golfers wish to play within one round. If this differs by day, separate messages must be sent.

Returns:
value

setNumberOfHoles

public void setNumberOfHoles(java.lang.String numberOfHoles)
Set the 'NumberOfHoles' attribute value. The number of holes that the golfers wish to play within one round. If this differs by day, separate messages must be sent.

Parameters:
numberOfHoles -

getNumberOfTimes

public java.lang.String getNumberOfTimes()
Get the 'NumberOfTimes' attribute value. The number of Tee Times covered by this request. For example, if a foursome wants to play two separate rounds within one day, the number of tee times would be 2.

Returns:
value

setNumberOfTimes

public void setNumberOfTimes(java.lang.String numberOfTimes)
Set the 'NumberOfTimes' attribute value. The number of Tee Times covered by this request. For example, if a foursome wants to play two separate rounds within one day, the number of tee times would be 2.

Parameters:
numberOfTimes -

getMaxPrice

public java.lang.Float getMaxPrice()
Get the 'MaxPrice' attribute value. The highest price acceptable for the requested rounds. Where a number of courses are represented by a system, only those rounds that are at or below the highest price should be returned.

Returns:
value

setMaxPrice

public void setMaxPrice(java.lang.Float maxPrice)
Set the 'MaxPrice' attribute value. The highest price acceptable for the requested rounds. Where a number of courses are represented by a system, only those rounds that are at or below the highest price should be returned.

Parameters:
maxPrice -

getCurrencyAmountGroup

public CurrencyAmountGroup getCurrencyAmountGroup()
Get the 'CurrencyAmountGroup' attributeGroup value.

Returns:
value

setCurrencyAmountGroup

public void setCurrencyAmountGroup(CurrencyAmountGroup currencyAmountGroup)
Set the 'CurrencyAmountGroup' attributeGroup value.

Parameters:
currencyAmountGroup -