Ya, you might be right -- I may be trying to over-engineer it a bit.
The key thing I must be able to do is treat numeric properties
differently to strings: so that 10 > 9 but "10" < "9" in database
queries.

I'm working on something which I'll probably spin off as LGPL or BSD
if it works out.

Joe.


On Wed, Jul 15, 2009 at 2:32 PM, Sunburned
Surveyor<sunburned.surve...@gmail.com> wrote:
> OpenJUMP does something similar for the Task class with Java2XML. I
> don't know if this will solve your specific problem however, it deals
> mostly with the serialization issue.
>
> Why not use some type of Map subclass with a simple properties file?
>
> The Sunburned Surveyor
>
> On Mon, Jul 6, 2009 at 3:40 AM, Joe Desbonnet<j...@galway.net> wrote:
>> This is not strictly a JPP/Jump questions, but Jump has this
>> functionality and maybe some developers here have some insight into
>> this problem.
>>
>> I've got a project which is being distributed to several clients. Each
>> client requires a few additional customized properties to be added to
>> one of the core entity classes.
>>
>> I would like to keep the code and database schema 100% identical for
>> all clients. So I am hoping to achieve via a configuration file which
>> will define additional client-specific properties.  The core entity
>> class could then have a getAttribute(), setAttribute() method etc.
>>
>> I'm looking for a Java library (or other resource) that will handle
>> attaching user defined properties (String, Integer, Enumerations, user
>> undefined types etc) to a entity class without having to modify code
>> or database schema. On the surface this seems rather simple to
>> implement, but the devil in in the details (eg handling searches).
>>
>> Any thoughts?
>>
>> Thanks,
>>
>> Joe.
>>
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> Jump-pilot-devel mailing list
>> Jump-pilot-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>>
>
> ------------------------------------------------------------------------------
> Enter the BlackBerry Developer Challenge
> This is your chance to win up to $100,000 in prizes! For a limited time,
> vendors submitting new applications to BlackBerry App World(TM) will have
> the opportunity to enter the BlackBerry Developer Challenge. See full prize
> details at: http://p.sf.net/sfu/Challenge
> _______________________________________________
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to