![JAR search and dependency download from the Maven repository](/logo.png)
name.valery1707.validator.russian.kpp.Kpp Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of russian-requisites-validator Show documentation
Show all versions of russian-requisites-validator Show documentation
Javax validation implementation for Russian requisites: ИНН, КПП, ОГРН
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 extends Payload>[] payload() default {};
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy