
com.avaje.ebean.validation.AssertTrue Maven / Gradle / Ivy
The newest version!
package com.avaje.ebean.validation;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import com.avaje.ebean.validation.factory.AssertFalseValidatorFactory;
/**
* Validation that can be placed on a method to assert it is false.
*
* The method needs to follow the bean specification and start with "is".
*
*/
@ValidatorMeta(factory = AssertFalseValidatorFactory.class)
@Target({ ElementType.FIELD, ElementType.METHOD })
@Retention(RetentionPolicy.RUNTIME)
public @interface AssertTrue {
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy