Class TestCurrencyValidator

java.lang.Object
io.jmix.samples.rest.validation.TestCurrencyValidator
All Implemented Interfaces:
javax.validation.ConstraintValidator<TestCurrencyClassConstraint,Currency>

public class TestCurrencyValidator extends Object implements javax.validation.ConstraintValidator<TestCurrencyClassConstraint,Currency>
  • Field Details

    • entityStates

      @Inject protected EntityStates entityStates
  • Constructor Details

    • TestCurrencyValidator

      public TestCurrencyValidator()
  • Method Details

    • isValid

      public boolean isValid(Currency currency, javax.validation.ConstraintValidatorContext context)
      Specified by:
      isValid in interface javax.validation.ConstraintValidator<TestCurrencyClassConstraint,Currency>