wt.query
Class FloatRangeSearch
java.lang.Object
wt.query.AttributeSearchSpecification
wt.query.AttributeRangeSearch
wt.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
Methods inherited from class wt.query.AttributeSearchSpecification |
appendToClassSearchSpec, areThereDBWildCards, areThereWildCards, convertWildcardValue, getAttributeName, getQueryName, getSearchExpression, getSearchExpression, getSearchType, getStringCase, getValue, isFalseSearch, processWildCards, setFalseSearch, setValue, setValue |
RESOURCE
private static final String RESOURCE
- See Also:
- Constant Field Values
CLASSNAME
private static final String CLASSNAME
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.
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