Class PopulationValidator

java.lang.Object
collectionManagers.validators.PopulationValidator
All Implemented Interfaces:
Validator<Integer>

public class PopulationValidator extends Object implements Validator<Integer>
Implementation of validator for Population.
Since:
2.0
Author:
boris
  • Constructor Details

    • PopulationValidator

      public PopulationValidator()
  • Method Details

    • getDescr

      public String getDescr()
      Description copied from interface: Validator
      Provides description for all validators.
      Specified by:
      getDescr in interface Validator<Integer>
      Returns:
      String description of validator
    • validate

      public boolean validate(Integer value)
      Description copied from interface: Validator
      Provides validation method.
      Specified by:
      validate in interface Validator<Integer>
      Parameters:
      value - value to validate
      Returns:
      true if value is validate. Otherwise false.