See: Description
Interface | Description |
---|---|
Unwrapping |
Set of interfaces used in the
payload() of a constraint to indicate if a value
should be unwrapped before validation. |
Unwrapping.Skip |
Skip the unwrapping if it has been enabled on the
ValueExtractor by the
UnwrapByDefault
annotation. |
Unwrapping.Unwrap |
Unwrap the value before validation.
|
ValueExtractor<T> |
Defines the logic used to extract the values from a container object of type
T . |
ValueExtractor.ValueReceiver |
Provides a set of methods receiving value extracted by the
ValueExtractor . |
Exception | Description |
---|---|
ValueExtractorDeclarationException |
Raised if the configuration of
ValueExtractor is illegal, e.g. |
ValueExtractorDefinitionException |
Raised if a
ValueExtractor definition is illegal, e.g. |
Annotation Type | Description |
---|---|
ExtractedValue |
Marks the type parameter of a generic container type to which a
ValueExtractor is
tied or specifies the type of the wrapped element(s) of non-generic container types. |
UnwrapByDefault |
Marks a
ValueExtractor definition so that it is applied automatically when
detecting constraints declared on the container type supported by the extractor, causing
the constraints to be applied to the container's elements instead of the container. |