Interface ParameterValidator

All Known Implementing Classes:
SimpleParameterValidator

public interface ParameterValidator
A parameter validator for checking whether an input value for a field is valid.
Author:
Jamie Macaulay
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Check whether the parameter is OK.
  • Field Details

  • Method Details

    • isParameterOK

      int isParameterOK(Number value)
      Check whether the parameter is OK. This is overridden to perform tests.
      Returns:
      1 if parameter is OK, other values are error codes.