public enum ValidateUnwrappedValue extends java.lang.Enum<ValidateUnwrappedValue>
Enum Constant and Description |
---|
DEFAULT
No specific unwrapping behavior has been defined for this constraint and the default
behavior applies: if there is exactly one maximally-specific type-compliant
ValueExtractor and this extractor is marked with UnwrapByDefault , this
extractor is applied and the constraint is applied to the value(s) wrapped by the
annotated container. |
SKIP
The value is not unwrapped before validation, i.e.
|
UNWRAP
The value is unwrapped before validation, i.e.
|
Modifier and Type | Method and Description |
---|---|
static ValidateUnwrappedValue |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ValidateUnwrappedValue[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ValidateUnwrappedValue DEFAULT
ValueExtractor
and this extractor is marked with UnwrapByDefault
, this
extractor is applied and the constraint is applied to the value(s) wrapped by the
annotated container. Otherwise, no value extractor is applied.public static final ValidateUnwrappedValue UNWRAP
public static final ValidateUnwrappedValue SKIP
public static ValidateUnwrappedValue[] values()
for (ValidateUnwrappedValue c : ValidateUnwrappedValue.values()) System.out.println(c);
public static ValidateUnwrappedValue 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