Class OptionalLongValidatedValueUnwrapper


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

      • OptionalLongValidatedValueUnwrapper

        public OptionalLongValidatedValueUnwrapper()
    • Method Detail

      • handleValidatedValue

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

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