[hibernate-dev] [Bean Validation] Constraints plural

Sanne Grinovero sanne.grinovero at gmail.com
Sat Feb 21 02:27:15 EST 2009


2009/2/19 Hardy Ferentschik <hibernate at ferentschik.de>:
> On Wed, 18 Feb 2009 16:35:30 +0100, Emmanuel Bernard
> <emmanuel at hibernate.org> wrote:
>
>> @Max.Plural( {
>>    @Max(30, groups=JoeSixPack.class),
>>    @Max(100, groups=PowerUser.class)
>> } )
>
> +1 for this approach from me as well. Instead of Plural we could also
> consider Many or Multiple.
>
> --Hardy

+1 for the inner annotations for me as well, so I don't have to
remember all the plural forms.

I agree with Hardy about "Multiple" or "Many" instead of "Plural", but
being no native speaker
my opinion about it shouldn't matter much.

Sanne



More information about the hibernate-dev mailing list