org.ota.misc
Class ReadRQ.ReadRequests.GolfReadRequest

java.lang.Object
  extended by org.ota.misc.ReadRQ.ReadRequests.GolfReadRequest
Enclosing class:
ReadRQ.ReadRequests

public static class ReadRQ.ReadRequests.GolfReadRequest
extends java.lang.Object

To retrieve a golf reservation record when the booking reference is not known 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="GolfReadRequest" minOccurs="0" maxOccurs="unbounded">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="Membership" minOccurs="0" maxOccurs="99">
         <xs:complexType>
           <xs:attributeGroup ref="ns:CustomerLoyaltyGroup"/>
         </xs:complexType>
       </xs:element>
       <xs:element type="ns:PersonNameType" name="Name" minOccurs="0"/>
     </xs:sequence>
     <xs:attributeGroup ref="ns:ID_Group"/>
     <xs:attribute type="xs:string" use="optional" name="RoundID"/>
     <xs:attribute type="xs:string" use="optional" name="PlayDateTime"/>
     <xs:attribute type="xs:string" use="optional" name="PackageID"/>
   </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
ReadRQ.ReadRequests.GolfReadRequest()
           
 
Method Summary
 void addMembership(CustomerLoyaltyGroup item)
          Add a 'Membership' element item.
 void clearMemberships()
          Remove all 'Membership' element items.
 java.lang.String getID()
          Get the 'ID' attribute value.
 CustomerLoyaltyGroup getMembership(int index)
          Get 'Membership' element item by position.
 java.util.List<CustomerLoyaltyGroup> getMemberships()
          Get the list of 'Membership' element items.
 PersonName getName()
          Get the 'Name' element value.
 java.lang.String getPackageID()
          Get the 'PackageID' attribute value.
 java.lang.String getPlayDateTime()
          Get the 'PlayDateTime' attribute value.
 java.lang.String getRoundID()
          Get the 'RoundID' attribute value.
 void setID(java.lang.String ID)
          Set the 'ID' attribute value.
 void setMemberships(java.util.List<CustomerLoyaltyGroup> list)
          Set the list of 'Membership' element items.
 void setName(PersonName name)
          Set the 'Name' element value.
 void setPackageID(java.lang.String packageID)
          Set the 'PackageID' attribute value.
 void setPlayDateTime(java.lang.String playDateTime)
          Set the 'PlayDateTime' attribute value.
 void setRoundID(java.lang.String roundID)
          Set the 'RoundID' attribute value.
 int sizeMemberships()
          Get the number of 'Membership' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReadRQ.ReadRequests.GolfReadRequest

public ReadRQ.ReadRequests.GolfReadRequest()
Method Detail

getMemberships

public java.util.List<CustomerLoyaltyGroup> getMemberships()
Get the list of 'Membership' element items. To request a reservation record based on golf course membership(s).

Returns:
list

setMemberships

public void setMemberships(java.util.List<CustomerLoyaltyGroup> list)
Set the list of 'Membership' element items. To request a reservation record based on golf course membership(s).

Parameters:
list -

sizeMemberships

public int sizeMemberships()
Get the number of 'Membership' element items.

Returns:
count

addMembership

public void addMembership(CustomerLoyaltyGroup item)
Add a 'Membership' element item.

Parameters:
item -

getMembership

public CustomerLoyaltyGroup getMembership(int index)
Get 'Membership' element item by position.

Parameters:
index -
Returns:
item

clearMemberships

public void clearMemberships()
Remove all 'Membership' element items.


getName

public PersonName getName()
Get the 'Name' element value. To request reservation record by the golfer's name.

Returns:
value

setName

public void setName(PersonName name)
Set the 'Name' element value. To request reservation record by the golfer's name.

Parameters:
name -

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 -

getRoundID

public java.lang.String getRoundID()
Get the 'RoundID' attribute value. A unique identifier applied to this round.

Returns:
value

setRoundID

public void setRoundID(java.lang.String roundID)
Set the 'RoundID' attribute value. A unique identifier applied to this round.

Parameters:
roundID -

getPlayDateTime

public java.lang.String getPlayDateTime()
Get the 'PlayDateTime' attribute value. The date for which the round is reserved.

Returns:
value

setPlayDateTime

public void setPlayDateTime(java.lang.String playDateTime)
Set the 'PlayDateTime' attribute value. The date for which the round is reserved.

Parameters:
playDateTime -

getPackageID

public java.lang.String getPackageID()
Get the 'PackageID' attribute value. An identification of a package of which this round is a part.

Returns:
value

setPackageID

public void setPackageID(java.lang.String packageID)
Set the 'PackageID' attribute value. An identification of a package of which this round is a part.

Parameters:
packageID -