Class UniqueValidator

  • All Implemented Interfaces:
    IValidator

    public class UniqueValidator
    extends AbstractValidator
    Validator to verify the pattern of a response
    • Constructor Detail

      • UniqueValidator

        public UniqueValidator​(String strValidatorName,
                               String strValidatorDisplayName,
                               List<String> listAvailableEntryType)
        Constructor of the PatternValidator
        Parameters:
        strValidatorName - The validator bean name
        strValidatorDisplayName - The validator display name
        listAvailableEntryType - The list of available entrytype
    • Method Detail

      • validate

        public boolean validate​(FormQuestionResponse formQuestionResponse,
                                Control control)
        Parameters:
        formQuestionResponse - The response to control
        control - The control to verify
        Returns:
        boolean that indicate the validation result