public class OptionalValueUnwrapper extends TypeResolverBasedValueUnwrapper<Optional<?>>
Optional and returns the wrapped value and type. Empty Optional value is returned as
null.| Constructor and Description |
|---|
OptionalValueUnwrapper(TypeResolutionHelper typeResolutionHelper) |
| Modifier and Type | Method and Description |
|---|---|
Object |
handleValidatedValue(Optional<?> value)
Retrieves the value to be validated from the given wrapper object.
|
getValidatedValueTypepublic OptionalValueUnwrapper(TypeResolutionHelper typeResolutionHelper)
public Object handleValidatedValue(Optional<?> value)
ValidatedValueUnwrapperhandleValidatedValue in class ValidatedValueUnwrapper<Optional<?>>value - the wrapper object to retrieve the value fromCopyright © 2018 JBoss by Red Hat. All rights reserved.