I would also handle different metadata classes/values differently, more OO.
As it would be much easier to extend (and support) in the future.
Every excessive "if" usage usually indicates lack of OO. ;-)
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4236907#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...