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

name.valery1707.validator.russian.kpp.Kpp Maven / Gradle / Ivy

The newest version!
package name.valery1707.validator.russian.kpp;

import javax.validation.Constraint;
import javax.validation.Payload;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import static java.lang.annotation.ElementType.*;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

@Target({METHOD, FIELD, ANNOTATION_TYPE, CONSTRUCTOR, PARAMETER})
@Retention(RUNTIME)
@Constraint(validatedBy = {KppConstraintValidator.class})
public @interface Kpp {
	/**
	 * @return the error message template
	 */
	String message() default "{name.valery1707.validator.russian.kpp.Kpp.message}";

	/**
	 * @return the groups the constraint belongs to
	 */
	Class[] groups() default {};

	/**
	 * @return the payload associated to the constraint
	 */
	Class[] payload() default {};
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy