| Enum Constant and Description |
|---|
ALWAYS
ALWAYS 总是复制.
|
IGNORE_EMPTY
IGNORE_EMPTY 忽略源对象为EMPTY的属性(包含null并判断array,collection,map,string为empty)
|
IGNORE_NULL
IGNORE_NULL 忽略源对象为NULL的属性.
|
| Modifier and Type | Method and Description |
|---|---|
CopyRule |
getCopyRule()
get CopyRule
|
static CopyRules |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CopyRules[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CopyRules ALWAYS
public static final CopyRules IGNORE_NULL
public static final CopyRules IGNORE_EMPTY
public static CopyRules[] values()
for (CopyRules c : CopyRules.values()) System.out.println(c);
public static CopyRules 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 CopyRule getCopyRule()