Re: rawJoin

Franck Routier <[email protected]>
Newsgroups gmane.comp.java.orm.simpleorm
Message-ID <1218658927.6917.7.camel@franck-laptop>
Le mardi 12 août 2008 à 12:10 +1000, Anthony Berglas a écrit :

> I also saw you reinstated 
> SValidatorConstant. This is essentially just a 
> special case of SValidatorEnumeratedValues, with 
> one value. But if it is useful enough to you to 
> add then you MUST include a test case. Otherwise 
> please remove it. The cost of adding code is 
> much higher than just the cost of the code that you add.

Well, SValidatorEnumeratedValues only takes Strings values.
SValidatorConstant can handle any object type (so integer, bigdecimal,
boolean etc.)

So we must either extend SValidatorEnumeratedValues to support objects
or keep SValidatorConstant...

I'll add a test case.

Franck




------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/SimpleORM/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/SimpleORM/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[email protected] 
    mailto:[email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.