MetaValueFactory.create() methods require that you supply a value. What if all you want is
a MetaValue object that has no value in it yet. Basically an empty instance.
It would be nice to have a method like create(MetaType metaType) and it returns a
MetaValue object of the correct type, that can be filled in later with a setValue()
Maybe I am just missing something, and that functionality is already there.
At this moment, I just know the MetaType.
I can, of course, go through the isXXX methods of MetaType and instantiate each Value
object with "new" (Which is what I am going to do for now). But it would be
cleaner in the MetaValueFactory object.
Thanks
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4127672#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...