public class GuavaOptionalValidatedValueUnwrapper
extends org.hibernate.validator.spi.valuehandling.ValidatedValueUnwrapper<com.google.common.base.Optional<?>>
ValidatedValueUnwrapper
for Guava's Optional
.
Extracts the value contained by the Optional
for validation, or produces null
.Constructor and Description |
---|
GuavaOptionalValidatedValueUnwrapper() |
Modifier and Type | Method and Description |
---|---|
Type |
getValidatedValueType(Type type) |
Object |
handleValidatedValue(com.google.common.base.Optional<?> optional) |
public GuavaOptionalValidatedValueUnwrapper()
public Object handleValidatedValue(com.google.common.base.Optional<?> optional)
handleValidatedValue
in class org.hibernate.validator.spi.valuehandling.ValidatedValueUnwrapper<com.google.common.base.Optional<?>>
Copyright © 2018. All rights reserved.