This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
I noticed that all modules, which currently use MDR have their own constant for the name of MOF package extent. I suggest to declare such name as a public static final constant in MDR module. I also suggest that there's an utility method, which would acquire/create the MOF metamodel package extent (with the above well-known name) for convenience of MDR users.
What is a use-case for such a constant? Note that MDRepository declares method createPackageInstance(String) that creates instance of MOF model. Is there other need for knowing the name of MOF package than just for creating instance of it?
There is a createExtent method that takes only one parameter and creates an instance of MOF. This should be enough and the constant should not be needed.