org.ota.golf
Class CourseSearchRS.GolfCourse

java.lang.Object
  extended by org.ota.golf.CourseSearchRS.GolfCourse
Enclosing class:
CourseSearchRS

public static class CourseSearchRS.GolfCourse
extends java.lang.Object

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" type="ns:GolfCourseType" name="GolfCourse" maxOccurs="99"/>
 
 <xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="GolfCourseType">
   <xs:sequence>
     <xs:element type="ns:AddressType" name="Address" minOccurs="0"/>
     <xs:element name="Phone" minOccurs="0">
       <xs:complexType>
         <xs:attributeGroup ref="ns:TelephoneGroup"/>
       </xs:complexType>
     </xs:element>
     <xs:element type="ns:TraitsType" name="Traits" minOccurs="0">
       <!-- Reference to inner class Traits -->
     </xs:element>
   </xs:sequence>
   <xs:attributeGroup ref="ns:ID_Group"/>
   <xs:attribute type="xs:string" use="required" name="Name"/>
 </xs:complexType>
 
 <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>
 


Nested Class Summary
static class CourseSearchRS.GolfCourse.Traits
          Schema fragment(s) for this class:
 
Constructor Summary
CourseSearchRS.GolfCourse()
           
 
Method Summary
 Address getAddress()
          Get the 'Address' element value.
 java.lang.String getID()
          Get the 'ID' attribute value.
 java.lang.String getName()
          Get the 'Name' attribute value.
 TelephoneGroup getPhone()
          Get the 'TelephoneGroup' attributeGroup value.
 CourseSearchRS.GolfCourse.Traits getTraits()
          Get the 'Traits' element value.
 void setAddress(Address address)
          Set the 'Address' element value.
 void setID(java.lang.String ID)
          Set the 'ID' attribute value.
 void setName(java.lang.String name)
          Set the 'Name' attribute value.
 void setPhone(TelephoneGroup phone)
          Set the 'TelephoneGroup' attributeGroup value.
 void setTraits(CourseSearchRS.GolfCourse.Traits traits)
          Set the 'Traits' element value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CourseSearchRS.GolfCourse

public CourseSearchRS.GolfCourse()
Method Detail

getAddress

public Address getAddress()
Get the 'Address' element value.

Returns:
value

setAddress

public void setAddress(Address address)
Set the 'Address' element value.

Parameters:
address -

getPhone

public TelephoneGroup getPhone()
Get the 'TelephoneGroup' attributeGroup value.

Returns:
value

setPhone

public void setPhone(TelephoneGroup phone)
Set the 'TelephoneGroup' attributeGroup value.

Parameters:
phone -

getTraits

public CourseSearchRS.GolfCourse.Traits getTraits()
Get the 'Traits' element value. Specific information about the golf course(s) for which the response is being made.

Returns:
value

setTraits

public void setTraits(CourseSearchRS.GolfCourse.Traits traits)
Set the 'Traits' element value. Specific information about the golf course(s) for which the response is being made.

Parameters:
traits -

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 -

getName

public java.lang.String getName()
Get the 'Name' attribute value. The name of the golf course.

Returns:
value

setName

public void setName(java.lang.String name)
Set the 'Name' attribute value. The name of the golf course.

Parameters:
name -