public enum ValidateUnwrappedValue extends 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(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(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 © 2018,2020 Eclipse Foundation.
Use is subject to license terms.