public static enum UnaryCondition.Op extends Enum<UnaryCondition.Op> implements UnaryCondition.CustomUnaryOp
"(<column> <unaryOp>)"
or
"(<unaryOp> <column>)"
.Enum Constant and Description |
---|
EXISTS
|
IS_NOT_NULL
|
IS_NULL
|
UNIQUE
|
Modifier and Type | Method and Description |
---|---|
Converter<Object,? extends SqlObject> |
getConverter()
Returns the Converter which handles the
Object -> SqlObject conversion for the operation value. |
boolean |
isPrefixOp()
Returns
true if the operator comes before the value, false otherwise. |
String |
toString() |
static UnaryCondition.Op |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UnaryCondition.Op[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UnaryCondition.Op IS_NULL
public static final UnaryCondition.Op IS_NOT_NULL
public static final UnaryCondition.Op EXISTS
public static final UnaryCondition.Op UNIQUE
public static UnaryCondition.Op[] values()
for (UnaryCondition.Op c : UnaryCondition.Op.values()) System.out.println(c);
public static UnaryCondition.Op valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic boolean isPrefixOp()
UnaryCondition.CustomUnaryOp
true
if the operator comes before the value, false
otherwise.isPrefixOp
in interface UnaryCondition.CustomUnaryOp
public Converter<Object,? extends SqlObject> getConverter()
UnaryCondition.CustomUnaryOp
Object
-> SqlObject
conversion for the operation value.getConverter
in interface UnaryCondition.CustomUnaryOp
public String toString()
toString
in class Enum<UnaryCondition.Op>
Copyright © 2006–2021 OpenHMS. All rights reserved.