org.ota.golf
Class CourseSearchRS.GolfCourse.Traits

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

public static class CourseSearchRS.GolfCourse.Traits
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:TraitsType" name="Traits" minOccurs="0"/>
 
 <xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="TraitsType">
   <xs:sequence>
     <xs:element name="Trait" maxOccurs="99">
       <!-- Reference to inner class Trait -->
     </xs:element>
   </xs:sequence>
 </xs:complexType>
 


Nested Class Summary
static class CourseSearchRS.GolfCourse.Traits.Trait
          Schema fragment(s) for this class:
 
Constructor Summary
CourseSearchRS.GolfCourse.Traits()
           
 
Method Summary
 void addTrait(CourseSearchRS.GolfCourse.Traits.Trait item)
          Add a 'Trait' element item.
 void clearTraits()
          Remove all 'Trait' element items.
 CourseSearchRS.GolfCourse.Traits.Trait getTrait(int index)
          Get 'Trait' element item by position.
 java.util.List<CourseSearchRS.GolfCourse.Traits.Trait> getTraits()
          Get the list of 'Trait' element items.
 void setTraits(java.util.List<CourseSearchRS.GolfCourse.Traits.Trait> list)
          Set the list of 'Trait' element items.
 int sizeTraits()
          Get the number of 'Trait' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CourseSearchRS.GolfCourse.Traits

public CourseSearchRS.GolfCourse.Traits()
Method Detail

getTraits

public java.util.List<CourseSearchRS.GolfCourse.Traits.Trait> getTraits()
Get the list of 'Trait' element items.

Returns:
list

setTraits

public void setTraits(java.util.List<CourseSearchRS.GolfCourse.Traits.Trait> list)
Set the list of 'Trait' element items.

Parameters:
list -

sizeTraits

public int sizeTraits()
Get the number of 'Trait' element items.

Returns:
count

addTrait

public void addTrait(CourseSearchRS.GolfCourse.Traits.Trait item)
Add a 'Trait' element item.

Parameters:
item -

getTrait

public CourseSearchRS.GolfCourse.Traits.Trait getTrait(int index)
Get 'Trait' element item by position.

Parameters:
index -
Returns:
item

clearTraits

public void clearTraits()
Remove all 'Trait' element items.