Annotation Type NoValidation


  • @Retention(RUNTIME)
    @Target(TYPE)
    @Constraint(validatedBy=NoValidationValidator.class)
    public @interface NoValidation
    JSR303, or probably more specifically Errai's use of GWT's Bean Validation, looks for a validator implementation for any class that reference a JSR303 annotation. Classes annotated with either @Valid or @Constraint have a validator class generated. However all of DMN's connectors extend classes that use @Valid but do not themselves use JSR303 annotations and hence do not have validators generated. This causes problems when Errai attempts to validate the whole graph. This annotation is therefore used to fool Errai into generating a validator that does nothing.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      Class<?>[] groups  
      String message  
      Class<? extends javax.validation.Payload>[] payload  
    • Element Detail

      • message

        String message
        Default:
        ""
      • groups

        Class<?>[] groups
        Default:
        {}
      • payload

        Class<? extends javax.validation.Payload>[] payload
        Default:
        {}