|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
A constraint that compares a stepfield value with another value.
This corresponds with comparison operators <, =, > and LIKE in SQL SELECT-syntax.
| Field Summary | |
static int |
EQUAL
Operator 'equal' |
static int |
GREATER
Operator 'greater than' |
static int |
GREATER_EQUAL
Operator 'greater than or equal' |
static int |
LESS
Operator 'less than' |
static int |
LESS_EQUAL
Operator 'less than or equal' |
static int |
LIKE
Operator 'like' |
static int |
NOT_EQUAL
Operator 'not equal' |
static String[] |
OPERATOR_DESCRIPTIONS
Operator descriptions corresponding to the operator values: LESS, LESS_EQUAL, EQUAL, NOT_EQUAL,
GREATER, GREATER_EQUAL, and LIKE |
| Method Summary | |
int |
getOperator()
Gets the operator used to compare values. |
| Methods inherited from interface org.mmbase.storage.search.FieldConstraint |
getField, isCaseSensitive |
| Methods inherited from interface org.mmbase.storage.search.Constraint |
equals, getBasicSupportLevel, hashCode, isInverse |
| Field Detail |
public static final int LESS
public static final int LESS_EQUAL
public static final int EQUAL
public static final int NOT_EQUAL
public static final int GREATER
public static final int GREATER_EQUAL
public static final int LIKE
public static final String[] OPERATOR_DESCRIPTIONS
LESS, LESS_EQUAL, EQUAL, NOT_EQUAL,
GREATER, GREATER_EQUAL, and LIKE
| Method Detail |
public int getOperator()
LIKE is allowed only when the associated field
is of string type.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||