wt.query
Class FloatSearch

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

public class FloatSearch
extends AttributeSearchSpecification
implements Serializable

Search for a float value.

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
FloatSearch(String attribute)
          Construct a search object for the specified attribute.
FloatSearch(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 attribute_value)
          Set the desired value for the attribute.
 
Methods inherited from class wt.query.AttributeSearchSpecification
appendToClassSearchSpec, areThereDBWildCards, areThereWildCards, convertWildcardValue, getAttributeName, getQueryName, getSearchExpression, getSearchExpression, getSearchType, getStringCase, getValue, isFalseSearch, processWildCards, setFalseSearch, setValue, toString
 
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

FloatSearch

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

Supported API: false

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

FloatSearch

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

Supported API: false

Parameters:
attribute - Attribute name.
Method Detail

setValue

public void setValue(String attribute_value)
              throws WTPropertyVetoException
Set the desired value for the attribute. The value is validated based on the rules for attribute type.

Supported API: false

Overrides:
setValue in class AttributeSearchSpecification
Parameters:
attribute_value - Value to search for.
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 AttributeSearchSpecification
Parameters:
classname - Class to search against.
Returns:
SearchCondition
Throws:
WTException
QueryException