[mdr-users] Guidance for Use of MDR

bhakti daftardar <[email protected]> Wed, 8 Feb 2006 09:36:53 +0530
Newsgroups gmane.comp.java.netbeans.modules.mdr.user
Message-ID <[email protected]>
------=_Part_1205_9048075.1139371613226
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Respected Sir/Madam


i am working on a project of developing a tool which
calulates software metric of an UML Diagram and I am planning to use XMI
file
containing the UML Diagram as a input to my tool. With the help of case
tools i am able to get the XMI's. Now I have to parse the XMI and load the
available info in a Object Model (which acts as a repository for my tool).
I had 2 options

FIRST i make my own object model and load it using SAX parser. But creating
and
managing such a huge Model(MODEL SHOULD BE M2 layer of the 4 layers of MOF
Architecture) for almost 9 uml diagrams (if i limit my self to uml 1.3 or
uml
1.4) seems to be a difficult and cumbersome task.

So i thought of 2nd option of using already existing repostory as Poseidon
is
using. Poseidon is using NetBeans MDR as there metadata repository. I
downloaded
Netbeans 3.5.1 updated it for MDR and tried to use it. I drew small sample
class
diagram in all above three UML Case Tools and exported the xmi out of it.
MDR
requires XMI[MOF] format which is given by only Enterprise Architect . So i
exported XMI[MOF 1.4] format from enterprise Architect and imported it in
MDR
but the results which i was expecting i.e i will get M2 layer i didn't get
M2
layer instead i got just 3 classes of i think M3 layer which i am not able
to
use any how as there are no tutorials or examples on how to use the JMI API
created by MDR Explorer.

I also came across org.omg.uml.foundation.core javadocs which have the
classes i
am looking for as UMLClass,Association,Actor etc. which i had planned to
include
in my own Object Model (i.e my 1st option). So can
org.omg.uml.foundation.core
help me in this regard. If YES THEN CAN YOU PLEASE SEND ME THE
rg.omg.uml.foundation.core library jar as i searched a lot on the net but
couldn't get one.

Considering the above scenario Now i want to ask whether i am going on the
right
track PLEASE GUIDE ME.

Thanking you in Advance
with regards
bhakti

--
Bhakti Daftardar

------=_Part_1205_9048075.1139371613226
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

<br clear=3D"all"><br>

<br>

Respected Sir/Madam<br>
<br>

<br>
i am working on a project of developing a tool which<br>

calulates software metric of an UML Diagram and I am planning to use XMI fi=
le<br>

containing the UML Diagram as a input to my tool. With the help of case<br>

tools i am able to get the XMI's. Now I have to parse the XMI and load the<=
br>

available info in a Object Model (which acts as a repository for my tool).<=
br>

I had 2 options<br>

<br>

FIRST i make my own object model and load it using SAX parser. But creating=
 and<br>

managing such a huge Model(MODEL SHOULD BE M2 layer of the 4 layers of MOF<=
br>

Architecture) for almost 9 uml diagrams (if i limit my self to uml 1.3 or u=
ml<br>

1.4) seems to be a difficult and cumbersome task.<br>

<br>

So i thought of 2nd option of using already existing repostory as Poseidon =
is<br>

using. Poseidon is using NetBeans MDR as there metadata repository. I downl=
oaded<br>

Netbeans 3.5.1 updated it for MDR and tried to use it. I drew small sample =
class<br>

diagram in all above three UML Case Tools and exported the xmi out of it. M=
DR<br>

requires XMI[MOF] format which is given by only Enterprise Architect . So i=
<br>

exported XMI[MOF 1.4] format from enterprise Architect and imported it in M=
DR<br>

but the results which i was expecting i.e i will get M2 layer i didn't get =
M2<br>

layer instead i got just 3 classes of i think M3 layer which i am not able =
to<br>

use any how as there are no tutorials or examples on how to use the JMI API=
<br>

created by MDR Explorer.<br>

<br>

I also came across org.omg.uml.foundation.core javadocs which have the clas=
ses i<br>

am looking for as UMLClass,Association,Actor etc. which i had planned to in=
clude<br>

in my own Object Model (i.e my 1st option). So can org.omg.uml.foundation.c=
ore<br>

help me in this regard. If YES THEN CAN YOU PLEASE SEND ME THE<br>

rg.omg.uml.foundation.core library jar as i searched a lot on the net but<b=
r>

couldn't get one.<br>

<br>

Considering the above scenario Now i want to ask whether i am going on the =
right<br>

track PLEASE GUIDE ME.<br>

<br>

Thanking you in Advance<br>

with regards<br>

bhakti<br>
<br>-- <br>Bhakti Daftardar=20

------=_Part_1205_9048075.1139371613226--