org.ota.golf
Class CourseSearchRQ.Criterion

java.lang.Object
  extended by org.ota.golf.CourseSearchRQ.Criterion
Enclosing class:
CourseSearchRQ

public static class CourseSearchRQ.Criterion
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" name="Criterion" maxOccurs="99">
   <xs:complexType>
     <xs:attributeGroup ref="ns:CriteriaGroup"/>
   </xs:complexType>
 </xs:element>
 
 <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="CriteriaGroup">
   <xs:attribute type="xs:string" use="required" name="Name"/>
   <xs:attribute type="xs:string" use="required" name="Value"/>
   <xs:attribute type="xs:boolean" use="required" name="Required"/>
   <xs:attribute type="xs:string" use="optional" name="Operation"/>
 </xs:attributeGroup>
 


Constructor Summary
CourseSearchRQ.Criterion()
           
 
Method Summary
 java.lang.String getName()
          Get the 'Name' attribute value.
 java.lang.String getOperation()
          Get the 'Operation' attribute value.
 java.lang.String getValue()
          Get the 'Value' attribute value.
 boolean isRequired()
          Get the 'Required' attribute value.
 void setName(java.lang.String name)
          Set the 'Name' attribute value.
 void setOperation(java.lang.String operation)
          Set the 'Operation' attribute value.
 void setRequired(boolean required)
          Set the 'Required' attribute value.
 void setValue(java.lang.String value)
          Set the 'Value' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CourseSearchRQ.Criterion

public CourseSearchRQ.Criterion()
Method Detail

getName

public java.lang.String getName()
Get the 'Name' attribute value. A code representing the specific criterion on which the search is to filter.

Returns:
value

setName

public void setName(java.lang.String name)
Set the 'Name' attribute value. A code representing the specific criterion on which the search is to filter.

Parameters:
name -

getValue

public java.lang.String getValue()
Get the 'Value' attribute value. The value of the criterion.

Returns:
value

setValue

public void setValue(java.lang.String value)
Set the 'Value' attribute value. The value of the criterion.

Parameters:
value -

isRequired

public boolean isRequired()
Get the 'Required' attribute value. A flag establishing if this criterion must be met in a successful candidate. If "Yes", then all responses must meet the specified criterion.

Returns:
value

setRequired

public void setRequired(boolean required)
Set the 'Required' attribute value. A flag establishing if this criterion must be met in a successful candidate. If "Yes", then all responses must meet the specified criterion.

Parameters:
required -

getOperation

public java.lang.String getOperation()
Get the 'Operation' attribute value. Where a test against a criterion value is not an equality, this represents the operation to be used as the filter. Examples would be GT (Greater Than), LT (Less Than), etc.

Returns:
value

setOperation

public void setOperation(java.lang.String operation)
Set the 'Operation' attribute value. Where a test against a criterion value is not an equality, this represents the operation to be used as the filter. Examples would be GT (Greater Than), LT (Less Than), etc.

Parameters:
operation -