[jboss-dev-forums] [Design of POJO Server] - Re: Can you create a MetaValue object without an actual valu

adrian@jboss.org do-not-reply at jboss.com
Mon Feb 11 09:28:49 EST 2008


A MetaValue without a value is just a MetaType.

I don't see why you need to create a MetaValue without a value,
you just need to have access to the MetaType in your template.

This is already the case for ManagedPropertys:

  |    /**
  |     * Get the type
  |     * 
  |     * @return the type
  |     */
  |    MetaType getMetaType(); // Never null
  | 
  |    /**
  |     * Get the value
  |     * 
  |     * @return the value
  |     */
  |    Object getValue(); // Could be null
  | 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4128375#4128375

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4128375



More information about the jboss-dev-forums mailing list