public enum FieldStrategy extends java.lang.Enum<FieldStrategy>
字段策略枚举类
| 限定符和类型 | 方法和说明 |
|---|---|
java.lang.String |
getDesc() |
static FieldStrategy |
getFieldStrategy(int key) |
int |
getKey() |
static FieldStrategy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FieldStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FieldStrategy IGNORED
public static final FieldStrategy NOT_NULL
public static final FieldStrategy NOT_EMPTY
public static FieldStrategy[] values()
for (FieldStrategy c : FieldStrategy.values()) System.out.println(c);
public static FieldStrategy 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 static FieldStrategy getFieldStrategy(int key)
public int getKey()
public java.lang.String getDesc()