Interface InitableByConstraintMap

All Known Implementing Classes:
BigDecimalValidator, BooleanValidator, DateRangeValidator, DateStringValidator, DefaultValidator, DoubleValidator, FileValidator, FloatValidator, IntegerRangeValidator, IntegerValidator, LongValidator, NumberValidator, ShortValidator, StringValidator

public interface InitableByConstraintMap
This interface marks a bean/class that can have its properties set by values in a Map.
Version:
$Id$
Author:
John McNally
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    init(Map<String,? extends Constraint> inputParameters)
    Extract the relevant parameters from the constraints listed in <input-param> tags within the intake.xml file.
  • Method Details

    • init

      void init(Map<String,? extends Constraint> inputParameters) throws InvalidMaskException
      Extract the relevant parameters from the constraints listed in <input-param> tags within the intake.xml file.
      Parameters:
      inputParameters - a Map of Constraint's containing rules and error messages.
      Throws:
      InvalidMaskException - one of the mask rules is invalid