br.com.anteros.bean.validation.constraints.FromDateBeforeOrSameAsToDate Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of Anteros-Bean-Validation Show documentation
Show all versions of Anteros-Bean-Validation Show documentation
Anteros Bean Validation for Java.
package br.com.anteros.bean.validation.constraints;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import br.com.anteros.bean.validation.constraints.validators.FromDateBeforeOrSameAsToDateValidator;
import br.com.anteros.validation.api.Constraint;
@Target({ ElementType.TYPE, ElementType.ANNOTATION_TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Constraint(validatedBy = FromDateBeforeOrSameAsToDateValidator.class)
@Documented
public @interface FromDateBeforeOrSameAsToDate {
String message() default "{br.com.anteros.bean.validation.constraints.fromToDate.message}";
Class[] groups() default {};
Class[] payload() default {};
String fromDate();
String toDate();
@Target({ElementType.TYPE, ElementType.ANNOTATION_TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@interface List
{
FromDateBeforeOrSameAsToDate[] value();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy