Class BasePropertyValidator

    • Constructor Detail

      • BasePropertyValidator

        public BasePropertyValidator()
    • Method Detail

      • getProperty

        public Property getProperty()
      • setProperty

        public void setProperty​(Property property)
      • validate

        public abstract String validate​(Object value)
        Description copied from interface: PropertyValidator
        Validate the value against constraints implemented in the validator. If the validation fails a message is returned. If validation passes then null is returned.
        Specified by:
        validate in interface PropertyValidator
        value - the value to check
        null if validation passes, otherwise a validation message is returned
        See Also: