Annotation Interface RemoveValidators


@Retention(RUNTIME) @Target(TYPE) public @interface RemoveValidators
A group of @RemoveValidator associated to the same entity.

Applies to entities.

Example:

  @Entity
  @RemoveValidators({
    @EntityValidator(ProductRemoveValidator.class),
    @EntityValidator(ProductNotUsedValidator.class) 
  })
  public class Product {
  ...
 
Since 6.1 @RemoveValidator is repeatable, so you don't need to use @RemoveValidators any more.
Author:
Javier Paniza
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description