org.biins.validation.collection.constraints.ElementsAssertFalse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of collection-validation Show documentation
Show all versions of collection-validation Show documentation
Support of JSR-303 validation for collection elements
The newest version!
package org.biins.validation.collection.constraints;
import org.biins.validation.collection.constraints.impl.ElementsAssertFalseConstraintValidator;
import javax.validation.Constraint;
import javax.validation.Payload;
import javax.validation.constraints.AssertFalse;
import java.lang.annotation.*;
/**
* @see AssertFalse
*
* @author Martin Janys
*/
@Documented
@Constraint(validatedBy = ElementsAssertFalseConstraintValidator.class)
@Target({
ElementType.METHOD,
ElementType.FIELD
})
@Retention(RetentionPolicy.RUNTIME)
@ElementsValidator
public @interface ElementsAssertFalse {
AssertFalse value() default @AssertFalse;
Class> element() default Boolean.class;
String message() default "{validation.collection.constraints.ElementsAssertFalse.message}";
Class>[] groups() default {};
Class extends Payload>[] payload() default {};
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy