Class DependentFieldRequiredValidator

  • All Implemented Interfaces:
    com.opensymphony.xwork2.validator.ShortCircuitableValidator, com.opensymphony.xwork2.validator.Validator

    public class DependentFieldRequiredValidator
    extends com.opensymphony.xwork2.validator.validators.ValidatorSupport
    • Constructor Detail

      • DependentFieldRequiredValidator

        public DependentFieldRequiredValidator()
    • Method Detail

      • validate

        public void validate​(Object object)
                      throws com.opensymphony.xwork2.validator.ValidationException
        Throws:
        com.opensymphony.xwork2.validator.ValidationException
      • getFieldName1

        public String getFieldName1()
      • setFieldName1

        public void setFieldName1​(String fieldName1)
      • getFieldName2

        public String getFieldName2()
      • setFieldName2

        public void setFieldName2​(String fieldName2)