>>
factory = createobject(m.lcSubtype + "_" m.lcFactoryType)
>>
>So your
factory depends on a naming convention?
I try to keep most approaches KISS and DRY ;-)
For me that often resolves to a Pareto usage of naming conventions and reuse of field names - as long as doing that is possible without writing a rulebook for the exceptions cropping up in the far end of usage, which IMO makes such practice cumbersome sometimes in Java - the benefits of KISS approach are lost on the few special cases.