|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<BinaryOperator>
org.ujoframework.criterion.BinaryOperator
public enum BinaryOperator
The criterion binary operator
| Enum Constant Summary | |
|---|---|
AND
(a AND b) |
|
EQ
(a == b) Note: the SQL language may not support the operator. |
|
NAND
NOT (a AND b) Note: the SQL language may not support the operator. |
|
NOR
NOT (a OR b) Note: the SQL language may not support the operator. |
|
NOT
NOT a |
|
OR
(a OR b) |
|
XOR
(a XOR b) Note: the SQL language may not support the operator. |
|
| Method Summary | ||
|---|---|---|
java.lang.Enum |
getEnum()
Returns Enum |
|
boolean |
isBinary()
The operator is the BINARY type (not a value one) |
|
|
join(Criterion<UJO> a,
Criterion<UJO> b)
Join two criterions. |
|
static BinaryOperator |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
|
static BinaryOperator[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
|
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final BinaryOperator AND
public static final BinaryOperator OR
public static final BinaryOperator XOR
public static final BinaryOperator NOR
public static final BinaryOperator NAND
public static final BinaryOperator EQ
public static final BinaryOperator NOT
| Method Detail |
|---|
public static BinaryOperator[] values()
for (BinaryOperator c : BinaryOperator.values()) System.out.println(c);
public static BinaryOperator valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is null
public <UJO extends Ujo> Criterion<UJO> join(Criterion<UJO> a,
Criterion<UJO> b)
public final boolean isBinary()
isBinary in interface AbstractOperatorpublic final java.lang.Enum getEnum()
getEnum in interface AbstractOperator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||