Class TestCurrencyValidator

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

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

    • entityStates

      @Autowired protected EntityStates entityStates
  • Constructor Details

    • TestCurrencyValidator

      public TestCurrencyValidator()
  • Method Details

    • isValid

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