Enum Constant and Description |
---|
EQUAL |
GREATER |
GREATER_OR_EQUAL |
LESSER |
LESSER_OR_EQUAL |
NOT_EQUAL |
Modifier and Type | Field and Description |
---|---|
protected java.util.List<java.lang.String> |
availableTypes |
protected java.lang.String |
expr |
protected java.lang.String |
id |
Modifier and Type | Method and Description |
---|---|
static Operator |
fromExpr(java.lang.String expr) |
java.util.List<java.lang.String> |
getAvailableTypes() |
java.lang.String |
getCaption() |
java.lang.String |
getExpr() |
java.lang.String |
getId() |
static Operator |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Operator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Operator EQUAL
public static final Operator NOT_EQUAL
public static final Operator GREATER
public static final Operator GREATER_OR_EQUAL
public static final Operator LESSER
public static final Operator LESSER_OR_EQUAL
protected java.lang.String id
protected java.lang.String expr
protected java.util.List<java.lang.String> availableTypes
public static Operator[] values()
for (Operator c : Operator.values()) System.out.println(c);
public static Operator 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 namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getExpr()
public java.util.List<java.lang.String> getAvailableTypes()
@Nullable public static Operator fromExpr(java.lang.String expr)
public java.lang.String getCaption()
public java.lang.String getId()
getId
in interface io.jmix.core.metamodel.datatype.impl.EnumClass<java.lang.String>