Re: [mdr-users] Useable repository data access/visualization tools

Martin Matula <[email protected]> Mon, 15 Aug 2005 17:32:24 +0200
Newsgroups gmane.comp.java.netbeans.modules.mdr.user
Message-ID <[email protected]>
Hi Adam,

Adam wrote:

> Dear All,
>
> A) Is the repository explorer now dead & never coming back or is it 
> simply being reweritten to use the new NetBeans APIS?

Currently the MDR explorer is not being rewritten, since the API it was 
built on is still not final and there are currently no resources to do a 
complete rewrite to something else. There may be some people who are 
experimenting with MDR and wrote their own MDR explorer. It should not 
be that hard to write some visualization tool on top of the JMI API.

>
> B) Some of my HL7 tooling people are wondering if the Btree engine/the 
> MDR can be inspected in it's abscence & if so how.

One can easily write some kind of a "dump" engine, that walks the 
content of the MDR using JMI and prints it to a file.
Either using the reflective API (by traversing 
RefPackage.refAllPackages(), refAllAssociations(), refAllClasses() and 
RefClass.refAllOfClass()), or using APIs specific to a particular metamodel.
Regards,
Martin