Package org.dellroad.stuff.validation
Annotation Interface SelfValidates
@Documented
@Constraint(validatedBy=SelfValidatingValidator.class)
@Inherited
@Target(TYPE)
@Retention(RUNTIME)
public @interface SelfValidates
Validation constraint that when applied to classes that implement the
SelfValidating
interface
allows custom validation by the class itself via SelfValidating.checkValid()
.-
Optional Element Summary