[jboss-dev-forums] [Design of POJO Server] - Re: Can you create a MetaValue object without an actual valu
bytor99999
do-not-reply at jboss.com
Mon Feb 11 10:20:13 EST 2008
I understand what you mean Adrian, and if I just had values already in hand to populate the MetaValue objects I would be golden. :)
The problem really occurs because of our code needs to adapt between complex MetaValue/MetaType objects and our ProperyMaps and PropertyLists objects.
I need to recurse level by level without knowing any specifics or having the entire structure of values in hand. I need to have the MetaValue object with the structure there so I can generally recurse through the complex object and create correct types within the structure. Then set values.
I have a long workaround that is currently working. However, having the ability to create an empty complex MetaValue object would save a lot of extra work.
Now, I think we can wait though on this and see how things work out, to see if the current code I have causes any issues.
Thanks Adrian
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4128402#4128402
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4128402
More information about the jboss-dev-forums
mailing list