wt.query
Class LongRangeSearch

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

public class LongRangeSearch
extends AttributeRangeSearch
implements Serializable

Search for long 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
LongRangeSearch(String attribute)
          Construct a search object for the specified attribute.
LongRangeSearch(String attribute, String expression)
          Construct a search object for the specified attribute.
 
Method Summary
 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
getSearchCondition, 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

LongRangeSearch

public LongRangeSearch(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.

LongRangeSearch

public LongRangeSearch(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