wt.query
Class FloatRangeSearch

java.lang.Object
  extended bywt.query.AttributeSearchSpecification
      extended bywt.query.AttributeRangeSearch
          extended bywt.query.FloatRangeSearch
All Implemented Interfaces:
Serializable

public class FloatRangeSearch
extends AttributeRangeSearch
implements Serializable

Search for float value via a start-end range specification.

Supported API: false

Extendable: false

See Also:
Serialized Form

Field Summary
private static String CLASSNAME
           
private static String RESOURCE
           
 
Fields inherited from class wt.query.AttributeSearchSpecification
DB_SINGLE_WILDCARD, DB_WILDCARD
 
Constructor Summary
FloatRangeSearch(String attribute)
          Construct a search object for the specified attribute.
FloatRangeSearch(String attribute, String expression)
          Construct a search object for the specified attribute.
 
Method Summary
 SearchCondition getSearchCondition(Class classname)
          Return a SearchCondition for this search object.
 void setValue(String start_value, String end_value)
          Sets the desired start and end values for a search on a start-end range of values.
 
Methods inherited from class wt.query.AttributeRangeSearch
toString, toString
 
Methods inherited from class wt.query.AttributeSearchSpecification
appendToClassSearchSpec, areThereDBWildCards, areThereWildCards, convertWildcardValue, getAttributeName, getQueryName, getSearchExpression, getSearchExpression, getSearchType, getStringCase, getValue, isFalseSearch, processWildCards, setFalseSearch, setValue, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME
Constructor Detail

FloatRangeSearch

public FloatRangeSearch(String attribute,
                        String expression)
Construct a search object for the specified attribute.

Supported API: false

Parameters:
attribute - Attribute name.
expression - Search expression such as between.

FloatRangeSearch

public FloatRangeSearch(String attribute)
Construct a search object for the specified attribute. Search default to between.

Supported API: false

Parameters:
attribute - Attribute name.
Method Detail

setValue

public void setValue(String start_value,
                     String end_value)
              throws WTPropertyVetoException
Sets the desired start and end values for a search on a start-end range of values.

Supported API: false

Overrides:
setValue in class AttributeRangeSearch
Parameters:
start_value - Start value of between range value search.
end_value - End value of between range value search.
Throws:
WTPropertyVetoException

getSearchCondition

public SearchCondition getSearchCondition(Class classname)
                                   throws WTException,
                                          QueryException
Return a SearchCondition for this search object. If a pre Search is required, this will be performed automatically. Intended to be a server side only api.

Supported API: false

Overrides:
getSearchCondition in class AttributeRangeSearch
Parameters:
classname - Class to search against.
Returns:
SearchCondition
Throws:
WTException
QueryException