public enum OperatorEnum extends Enum<OperatorEnum>
Enum Constant and Description |
---|
CONTAIN
包含(⊇)
|
EQ
等于
|
GT
大于
|
GTE
大于等于
|
INCLUDED
包含于(⊆或⊂)
|
LT
小于
|
LTE
小于等于
|
NE
不等于
|
UN_CONTAIN
不包含
|
Modifier and Type | Method and Description |
---|---|
String |
getCode() |
String |
getDesc() |
void |
setCode(String code) |
void |
setDesc(String desc) |
static OperatorEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OperatorEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OperatorEnum EQ
public static final OperatorEnum GT
public static final OperatorEnum GTE
public static final OperatorEnum LT
public static final OperatorEnum LTE
public static final OperatorEnum NE
public static final OperatorEnum CONTAIN
public static final OperatorEnum UN_CONTAIN
public static final OperatorEnum INCLUDED
public static OperatorEnum[] values()
for (OperatorEnum c : OperatorEnum.values()) System.out.println(c);
public static OperatorEnum 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 String getCode()
public void setCode(String code)
public String getDesc()
public void setDesc(String desc)
Copyright © 2022. All rights reserved.