Re: [mdr-users] Guidance for Use of MDR
Boris Gruschko <[email protected]> Fri, 10 Feb 2006 14:22:06 +0100
| Newsgroups | gmane.comp.java.netbeans.modules.mdr.user |
|---|---|
| Message-ID | <[email protected]> |
------=_Part_20804_16265145.1139577726402 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi Bhakti, I don't think, You are supposed to subclass the implementations of JMI interfaces. Normally you would only want to interact with the implementatio= n through the JMIs. Cheers, Boris Gruschko On 2/10/06, bhakti daftardar <[email protected]> wrote: > > > Respected Sir > As i had told you in my previous mail about the confusion with the use of > MDR with respect to my project. Now the confusion is some what cleared. > > My Current Status is that i have got the UML METAMODEL from poseidon's > website and i have download and used it to create JMI Interfaces(by using > MDR first Instantiating a MOF then importing the UML METAMODEL and > generating JMI Interfaces). Now My problem is how to get the > Implementation of the hundred of classes using MDR. I got to know that > MDR generates the implementation of the interfaces on the fly by generati= ng > byte code for it. But how to i see,access and use these classes. > Can i extend these classes for my project? > > > If i get these classes then can i instantiate objects of these classes by > loading a XMI file of any UML Diagram using MDR. As i have to basically r= ead > any UML Diagram XMI to compute Metrics on it. > > Thanking you in advance > With regards > Bhakti Daftardar > CDAC MUMBAI > > > > > -- > Bhakti Daftardar ------=_Part_20804_16265145.1139577726402 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi Bhakti,<br><br>I don't think, You are supposed to subclass the implement= ations of JMI interfaces. Normally you would only want to interact with the= implementation through the JMIs.<br><br>Cheers,<br>Boris Gruschko<br><br> <div><span class=3D"gmail_quote">On 2/10/06, <b class=3D"gmail_sendername">= bhakti daftardar</b> <<a href=3D"mailto:[email protected]">bhak= [email protected]</a>> wrote:</span><blockquote class=3D"gmail_quot= e" style=3D"border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt = 0.8ex; padding-left: 1ex;"> <br clear=3D"all">Respected Sir<br> As i had told you in my previous mail about the confusion with the use of MDR with respect to my project. Now the confusion is some what cleared.<br> <br> My Current Status is that i have got the UML METAMODEL from poseidon's website and i have download and used it to create JMI Interfaces(by using MDR first Instantiating a MOF then importing the UML METAMODEL and generating JMI Interfaces). <span style=3D"font-weight: b= old;">Now My problem is how to get the Implementation of the hundred of cla= sses using MDR. </span>I got to know that MDR generates the implementation of the interfaces on the fly by generating byte code for it. But how to i see,access and use these classes. <br> Can i extend these classes for my project?<br> <br> <br> If i get these classes then can i instantiate objects of these classes by loading a XMI file of any UML Diagram using MDR. As i have to basically read any UML Diagram XMI to compute Metrics on it.<br> <br> Thanking you in advance<br> With regards<br> Bhakti Daftardar<br> CDAC MUMBAI<br> <br> <br> <pre><font size=3D"2"><br></font></pre> <br>-- <br><span class=3D"sg">Bhakti Daftardar=20 </span></blockquote></div><br> ------=_Part_20804_16265145.1139577726402--