Class OptionalIntValidatedValueUnwrapper
- java.lang.Object
-
- org.hibernate.validator.spi.valuehandling.ValidatedValueUnwrapper<OptionalInt>
-
- io.dropwizard.validation.valuehandling.OptionalIntValidatedValueUnwrapper
-
public class OptionalIntValidatedValueUnwrapper extends org.hibernate.validator.spi.valuehandling.ValidatedValueUnwrapper<OptionalInt>
AValidatedValueUnwrapperforOptionalInt. Extracts the value contained by theOptionalIntfor validation, or producesnull.
-
-
Constructor Summary
Constructors Constructor Description OptionalIntValidatedValueUnwrapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TypegetValidatedValueType(Type type)ObjecthandleValidatedValue(OptionalInt optional)
-
-
-
Method Detail
-
handleValidatedValue
@Nullable public Object handleValidatedValue(OptionalInt optional)
- Specified by:
handleValidatedValuein classorg.hibernate.validator.spi.valuehandling.ValidatedValueUnwrapper<OptionalInt>
-
getValidatedValueType
public Type getValidatedValueType(Type type)
- Specified by:
getValidatedValueTypein classorg.hibernate.validator.spi.valuehandling.ValidatedValueUnwrapper<OptionalInt>
-
-