|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.query.AttributeSearchSpecification
wt.query.AttributeRangeSearch
Extends the basic AttributeSearch class to support handling of a start-end
range of attribute values.
Supported API: false
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
private static String |
RESOURCE
|
Fields inherited from class wt.query.AttributeSearchSpecification |
DB_SINGLE_WILDCARD, DB_WILDCARD |
Constructor Summary | |
AttributeRangeSearch(String attribute)
Construct a search object for the specified attribute. |
|
AttributeRangeSearch(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. |
String |
toString()
Return a string dump of the interesting information in this object. |
String |
toString(String start,
String end)
|
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 |
private static final String RESOURCE
private static final String CLASSNAME
Constructor Detail |
public AttributeRangeSearch(String attribute, String expression)
attribute
- Attribute name.expression
- Search expression such as between.public AttributeRangeSearch(String attribute)
attribute
- Attribute name.Method Detail |
public void setValue(String start_value, String end_value) throws WTPropertyVetoException
start_value
- Start value of between range value search.end_value
- End value of between range value search.
WTPropertyVetoException
public SearchCondition getSearchCondition(Class classname) throws WTException, QueryException
getSearchCondition
in class AttributeSearchSpecification
classname
- Class to search against.
WTException
QueryException
public String toString(String start, String end)
public String toString()
AttributeSearchSpecification
toString
in class AttributeSearchSpecification
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |