commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From robert burrell donkin <>
Subject Re: [digester] Set attribute in a static class
Date Tue, 27 Jan 2004 21:58:18 GMT
On 27 Jan 2004, at 21:47, Samuel Cheung wrote:

> Thanks Robert.
> But if I have 50 static attributes in my Globals, do I need to create 1
> custom Rule per attribute?

there's probably no need.

so only as each field in your Globals maps to a single unique attribute 
then you can just use one Rule.

if the mapping is easy, the application is not performance critical and 
you save yourself some typing, you could use reflect (in your custom 
rule) to set these fields.

- robert

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message