[hibernate-dev] [Bean Validation] @Digits => @DecimalRepresentation

Emmanuel Bernard emmanuel at hibernate.org
Mon Feb 23 05:48:36 EST 2009


remember the point of @Digits, limit the scale / precision of them.
Scale / precision are defined based on a pre defined representation  
(decimal in this case).

On  Feb 18, 2009, at 16:43, johng.sst at gmail.com wrote:

> Sorry if I'm repeating information that someone else may have  
> brought up and I hope I'm not throwing a wrench into the works. What  
> about @Interface NumericRepresentations? This could leave room for  
> hex and octal numbers. Just my 2 cents.
>
> John Griffin
>
>
> On Feb 18, 2009 8:01am, Emmanuel Bernard <emmanuel at hibernate.org>  
> wrote:
> > I am considering renaming @Digits to @DecimalRepresentation to  
> make room for the plural form
> >
> >
> >
> > @interface DecimalRepresentations {
> >
> >   DecimalRepresentation[]  value()
> >
> > }
> >
> >
> >
> > Any better name?
> >
> > _______________________________________________
> >
> > hibernate-dev mailing list
> >
> > hibernate-dev at lists.jboss.org
> >
> > https://lists.jboss.org/mailman/listinfo/hibernate-dev
> >_______________________________________________
> hibernate-dev mailing list
> hibernate-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hibernate-dev




More information about the hibernate-dev mailing list