Re: persistent entities names

2011-11-02 Thread Michael Gentry
I've been meaning to fix that in the template for ages now, but keep forgetting. There isn't any hidden reason for not using the constants, I just haven't updated the template to use them. mrg On Wed, Nov 2, 2011 at 4:58 PM, stéphane Lestoclet wrote: > hi, > > for every persistent entity, ther

Re: persistent entities names

2011-11-02 Thread Robert Zeigler
Primarily because the static final strings are assigned to a $propertyName variable value in the template... and so are the strings in readProperty and writeProperty. Since it's an auto-generated class, there isn't much point to using the static string declarations in the read/write properties.

persistent entities names

2011-11-02 Thread stéphane Lestoclet
hi, for every persistent entity, there is a class automatically generated (its name starts with underscore "_"), in those classes, we define property names as static final strings but they are never used by the methods : readProperty and writeProperty.. why ?