public enum ValidateUnwrappedValue extends Enum<ValidateUnwrappedValue>
列挙型定数と説明 |
---|
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. the constraint is applied to the
annotated element.
|
UNWRAP
The value is unwrapped before validation, i.e. the constraint is applied to the
value(s) wrapped by the annotated container.
|
修飾子とタイプ | メソッドと説明 |
---|---|
static ValidateUnwrappedValue |
valueOf(String name)
指定した名前を持つこの型の列挙型定数を返します。
|
static ValidateUnwrappedValue[] |
values()
この列挙型の定数を含む配列を宣言されている順序で返します。
|
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
- 返される列挙型定数の名前。IllegalArgumentException
- この列挙型に、指定した名前の定数がない場合NullPointerException
- 引数がnullの場合Copyright © 2007-2018 Red Hat Inc. All Rights Reserved. Released under the Apache Software License 2.0. Translated by @megascus.