blob: 45cb33cf5eec0997ff327a3e0432367973e1ea2e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
package com.redstoner.misc.mysql.elements;
public enum ConstraintOperator {
LESS_THAN, GREATER_THAN, EQUAL, NOT_EQUAL, LESS_THAN_OR_EQUAL, GREATER_THAN_OR_EQUAL;
public String toString() {
switch (this) {
case LESS_THAN:
return "<";
case GREATER_THAN:
return ">";
case EQUAL:
return "=";
case NOT_EQUAL:
return "!=";
case LESS_THAN_OR_EQUAL:
return "<=";
case GREATER_THAN_OR_EQUAL:
return ">=";
default:
return "=";
}
}
}
|