Class OptionalIntValidatedValueUnwrapper


  • public class OptionalIntValidatedValueUnwrapper
    extends org.hibernate.validator.spi.valuehandling.ValidatedValueUnwrapper<OptionalInt>
    A ValidatedValueUnwrapper for OptionalInt. Extracts the value contained by the OptionalInt for validation, or produces null.
    • Constructor Detail

      • OptionalIntValidatedValueUnwrapper

        public OptionalIntValidatedValueUnwrapper()
    • Method Detail

      • handleValidatedValue

        @Nullable
        public Object handleValidatedValue​(OptionalInt optional)
        Specified by:
        handleValidatedValue in class org.hibernate.validator.spi.valuehandling.ValidatedValueUnwrapper<OptionalInt>
      • getValidatedValueType

        public Type getValidatedValueType​(Type type)
        Specified by:
        getValidatedValueType in class org.hibernate.validator.spi.valuehandling.ValidatedValueUnwrapper<OptionalInt>