|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SearchCondition
An interface representing a search condition for values in a given table column, or parameters to a catalog query.
Method Summary | |
---|---|
FieldDesc |
getFieldDesc()
Return the column or parameter description. |
java.lang.String |
getId()
Return the column or parameter id. |
java.lang.String |
getName()
Return the column or parameter name. |
java.lang.String |
getValueAsString()
Return the value or values as a String in the format "value" or "val1,val2,val3". |
boolean |
isTrueFor(java.lang.Comparable val)
Return true if the condition is true for the given value. |
boolean |
isTrueFor(double val)
Return true if the condition is true for the given numeric value. |
java.lang.String |
toString()
Return a string representation of this class in the form "name=minVal[,maxVal]" |
Method Detail |
---|
boolean isTrueFor(java.lang.Comparable val)
val
- The value to be checked against the condition.
boolean isTrueFor(double val)
val
- The value to be checked against the condition.
FieldDesc getFieldDesc()
java.lang.String getName()
java.lang.String getId()
java.lang.String getValueAsString()
java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |