bval-dev mailing list archives

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

     [ https://issues.apache.org/jira/browse/BVAL-37?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Roman Stumm resolved BVAL-37.
-----------------------------

    Fix Version/s: 0.1-incubating
       Resolution: Fixed

> 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
>            Assignee: Roman Stumm
>             Fix For: 0.1-incubating
>
>         Attachments: bval-jsr303-37.patch
>
>
> 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