public enum IgnoreMissing extends Enum<IgnoreMissing>
| Enum Constant and Description |
|---|
ALL
Ignore all missing fields from source and destination bean
|
DEFAULT
If setted on
@Maps then @Mapper setting is applied otherwise NONE is applied. |
DESTINATION
Ignore fields appearing in source and missing in destination bean.
|
NONE
Report all missing fields from source and destination bean
|
SOURCE
Ignore fields appearing in destination and missing in source bean.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isIgnoreDestination() |
boolean |
isIgnoreSource() |
static IgnoreMissing |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IgnoreMissing[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IgnoreMissing SOURCE
public static final IgnoreMissing DESTINATION
public static final IgnoreMissing ALL
public static final IgnoreMissing NONE
public static final IgnoreMissing DEFAULT
@Maps then @Mapper setting is applied otherwise NONE is applied.public static IgnoreMissing[] values()
for (IgnoreMissing c : IgnoreMissing.values()) System.out.println(c);
public static IgnoreMissing 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 boolean isIgnoreSource()
public boolean isIgnoreDestination()
Copyright © 2016. All Rights Reserved.