private static enum PojoBuilderHelper.PropertyTypeCheck extends java.lang.Enum<PojoBuilderHelper.PropertyTypeCheck>
Enum Constant and Description |
---|
NULL_ON_MISMATCH
If the existing and incoming types don't match, don't throw and instead return null
|
THROW_ON_MISMATCH
Throw an exception if the existing property type and incoming type don't match
|
Modifier and Type | Method and Description |
---|---|
static PojoBuilderHelper.PropertyTypeCheck |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PojoBuilderHelper.PropertyTypeCheck[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PojoBuilderHelper.PropertyTypeCheck THROW_ON_MISMATCH
public static final PojoBuilderHelper.PropertyTypeCheck NULL_ON_MISMATCH
public static PojoBuilderHelper.PropertyTypeCheck[] values()
for (PojoBuilderHelper.PropertyTypeCheck c : PojoBuilderHelper.PropertyTypeCheck.values()) System.out.println(c);
public static PojoBuilderHelper.PropertyTypeCheck 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