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

jpaoletti.jpm.validator.Validator Maven / Gradle / Ivy

The newest version!
package jpaoletti.jpm.validator;

import jpaoletti.jpm.core.PMContext;

/**This interface represents any validation that can be made to an entity instance or
 * to a specific field of an instance. Any operation may have one or more validators.  
 * 
 * 

Simple entity configuration file

*
 * {@code
 * 
 *     some_id
 *     ....
 *     
 * 
 * }
 * 
* @author jpaoletti * */ public interface Validator { /** * @param ctx The context * @return {@link ValidationResult} */ public ValidationResult validate(PMContext ctx); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy