public enum FieldMatchingStrategy extends java.lang.Enum<FieldMatchingStrategy>
Enum Constant and Description |
---|
MATCHING
All fields in the context are copied to the target instance or class.
|
STRICT
All fields in the context must match exactly the fields in the
target instance or class.
|
Modifier and Type | Method and Description |
---|---|
static FieldMatchingStrategy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FieldMatchingStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FieldMatchingStrategy STRICT
public static final FieldMatchingStrategy MATCHING
public static FieldMatchingStrategy[] values()
for (FieldMatchingStrategy c : FieldMatchingStrategy.values()) System.out.println(c);
public static FieldMatchingStrategy 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 null