public class OptionalIntValidatedValueUnwrapper extends org.hibernate.validator.spi.valuehandling.ValidatedValueUnwrapper<OptionalInt>
ValidatedValueUnwrapper
for OptionalInt
.
Extracts the value contained by the OptionalInt
for validation, or produces null
.Constructor and Description |
---|
OptionalIntValidatedValueUnwrapper() |
Modifier and Type | Method and Description |
---|---|
Type |
getValidatedValueType(Type type) |
Object |
handleValidatedValue(OptionalInt optional) |
@Nullable public Object handleValidatedValue(OptionalInt optional)
handleValidatedValue
in class org.hibernate.validator.spi.valuehandling.ValidatedValueUnwrapper<OptionalInt>
public Type getValidatedValueType(Type type)
getValidatedValueType
in class org.hibernate.validator.spi.valuehandling.ValidatedValueUnwrapper<OptionalInt>
Copyright © 2019. All rights reserved.