|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.query.AttributeSearchSpecification
wt.query.BooleanSearch
Search for a boolean attribute.
Supported API: false
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
static String |
FALSE_VALUE
Constant false value. |
private static String |
RESOURCE
|
static String |
TRUE_VALUE
Constant true value. |
Fields inherited from class wt.query.AttributeSearchSpecification |
DB_SINGLE_WILDCARD, DB_WILDCARD |
Constructor Summary | |
BooleanSearch(String attribute)
Construct a search object for the specified attribute. |
|
BooleanSearch(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 |
private static final String RESOURCE
private static final String CLASSNAME
public static final String TRUE_VALUE
public static final String FALSE_VALUE
Constructor Detail |
public BooleanSearch(String attribute, String expression)
attribute
- Attribute name.expression
- Search expression such as equals.public BooleanSearch(String attribute)
attribute
- Attribute name.Method Detail |
public void setValue(String attribute_value) throws WTPropertyVetoException
setValue
in class AttributeSearchSpecification
attribute_value
- Set the desired value for the attribute. The value is validated based on the rules for attribute type.
WTPropertyVetoException
public SearchCondition getSearchCondition(Class classname) throws WTException, QueryException
getSearchCondition
in class AttributeSearchSpecification
classname
- Class to search against.
WTException
QueryException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |