bval-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carlos Vara (JIRA)" <j...@apache.org>
Subject [jira] Created: (BVAL-37) Ensure constraint definitions are valid
Date Wed, 05 May 2010 08:04:06 GMT
Ensure constraint definitions are valid
---------------------------------------

                 Key: BVAL-37
                 URL: https://issues.apache.org/jira/browse/BVAL-37
             Project: BeanValidation
          Issue Type: Bug
          Components: jsr303
    Affects Versions: 0.1-incubating
            Reporter: Carlos Vara


When defining a new constraint, the annotation must:
- Have a groups() attribute with an empty Class array as default value.
- Have a payload() attribute with an empty Class<? extends Payload> array as default
value.
- Have a message() attribute which returns a String.
- No attribute that starts with 'valid'.

In case this fails, a ConstraintDefinitionException must be thrown.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message