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

org.biins.validation.collection.constraints.ElementsAssertFalse Maven / Gradle / Ivy

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[] payload() default {};
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy