Annotation Type ModCheck

    • Element Detail

      • modType

        ModCheck.ModType modType
        Deprecated.
        Returns:
        The modulus algorithm to be used
      • multiplier

        int multiplier
        Deprecated.
        Returns:
        The multiplier to be used by the chosen mod algorithm
      • message

        String message
        Deprecated.
        Default:
        "{org.hibernate.validator.constraints.ModCheck.message}"
      • groups

        Class<?>[] groups
        Deprecated.
        Default:
        {}
      • payload

        Class<? extends Payload>[] payload
        Deprecated.
        Default:
        {}
      • startIndex

        int startIndex
        Deprecated.
        Returns:
        the start index (inclusive) for calculating the checksum. If not specified 0 is assumed.
        Default:
        0
      • endIndex

        int endIndex
        Deprecated.
        Returns:
        the end index (exclusive) for calculating the checksum. If not specified the whole value is considered
        Default:
        2147483647
      • checkDigitPosition

        int checkDigitPosition
        Deprecated.
        Returns:
        The position of the check digit in input. Per default it is assumes that the check digit is part of the specified range. If set, the digit at the specified position is used as check digit. If set it the following holds true: checkDigitPosition > 0 && (checkDigitPosition < startIndex || checkDigitPosition >= endIndex.
        Default:
        -1
      • ignoreNonDigitCharacters

        boolean ignoreNonDigitCharacters
        Deprecated.
        Returns:
        Returns true if non digit characters should be ignored, false if a non digit character results in a validation error. startIndex and endIndex are always only referring to digit characters.
        Default:
        true