Class AttributePresenceValidator

java.lang.Object
org.javalite.validation.ValidatorAdapter
org.javalite.validation.AttributePresenceValidator
All Implemented Interfaces:
Validator

public class AttributePresenceValidator extends ValidatorAdapter
  • Constructor Details

    • AttributePresenceValidator

      public AttributePresenceValidator(String attribute)
  • Method Details

    • validate

      public void validate(Validatable validatable)
      Description copied from interface: Validator
      Called by framework when validation is required
      Parameters:
      validatable - map being validated.
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object