public enum FieldStrategy extends Enum<FieldStrategy>
字段策略枚举类
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getDesc() |
static FieldStrategy |
getFieldStrategy(int key) |
int |
getKey() |
static FieldStrategy |
valueOf(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(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 static FieldStrategy getFieldStrategy(int key)
public int getKey()
public String getDesc()
Copyright © 2017. All rights reserved.