12 Replies Latest reply on Feb 13, 2008 11:34 AM by bytor99999

    Can you create a MetaValue object without an actual value?


      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.