All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.srplib.validation.Validator Maven / Gradle / Ivy

There is a newer version: 0.9.0
Show newest version
package org.srplib.validation;

/**
 * Base interface for object that can validate {@link Validatable} objects.
 *
 * @author Anton Pechinsky
 */
public interface Validator {

    /**
     * Validates provided validatable object. Implementation should validate value from validatable object and set validation 
     * error if value isn't valid.
     *
     * @param validatable Validadable object to validate.
     * @see Validatable
     */
    void validate(Validatable validatable);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy