public enum NullValueCheckStrategy extends Enum<NullValueCheckStrategy>
Enum Constant and Description |
---|
ALWAYS
This option always includes a null check.
|
ON_IMPLICIT_CONVERSION
This option includes a null check.
|
Modifier and Type | Method and Description |
---|---|
static NullValueCheckStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NullValueCheckStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NullValueCheckStrategy ON_IMPLICIT_CONVERSION
NOTE: mapping methods (generated or hand written) are excluded from this null check. They are intended to handle a null source value as 'valid' input.
public static final NullValueCheckStrategy ALWAYS
public static NullValueCheckStrategy[] values()
for (NullValueCheckStrategy c : NullValueCheckStrategy.values()) System.out.println(c);
public static NullValueCheckStrategy 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 nullCopyright © 2012-2016 Gunnar Morling; All rights reserved. Released under the Apache Software License 2.0.