[mdr-users] MDR to create xmi from a java class

Nyttle Veliath <[email protected]> Mon, 16 Oct 2006 14:57:40 +0800
Newsgroups gmane.comp.java.netbeans.modules.mdr.user
Message-ID <OF9C429EE9.2408F224-ON48257209.00233A14-48257209.00263D0B@sg.systemaccess.com>
This is a multipart message in MIME format.
--=_alternative 00263D0A48257209_=
Content-Type: text/plain; charset="US-ASCII"

Hi,

I am curious to know , is there a way to get the meta model of a java 
class  from the existing source code? 

Most of the MDA generators, load the xmi form of the uml model and 
generate the code using templates and transformation rules. ie, always 
start from the model. 

But, practically, there may be some classes, develper needs to add during 
the actual development. It is difficult to control the process always 
starting from the model. In such situation, I feel, it would be more good, 
if it is possible to upload the new java class into the existing xmi .

Can MDR  support this fucntionality?

Or Is it possible to create any form of flat file representation of MOF 
model from an existing Java source code ? If so how?

Your response would truely be apprciated.

ThankYou Vekynuch.
Nyttle
--=_alternative 00263D0A48257209_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">Hi,</font>
<br>
<br><font size=2 face="sans-serif">I am curious to know , is there a way
to get the meta model of a java class &nbsp;from the existing source code?
</font>
<br>
<br><font size=2 face="sans-serif">Most of the MDA generators, load the
xmi form of the uml model and generate the code using templates and transformation
rules. ie, always start from the model. </font>
<br>
<br><font size=2 face="sans-serif">But, practically, there may be some
classes, develper needs to add during the actual development. It is difficult
to control the process always starting from the model. In such situation,
I feel, it would be more good, if it is possible to upload the new java
class into the existing xmi .</font>
<br>
<br><font size=2 face="sans-serif">Can MDR &nbsp;support this fucntionality?</font>
<br>
<br><font size=2 face="sans-serif">Or Is it possible to create any form
of flat file representation of MOF model from an existing Java source code
? If so how?</font>
<br>
<br><font size=2 face="sans-serif">Your response would truely be apprciated.</font>
<br>
<br><font size=2 face="sans-serif">ThankYou Vekynuch.</font>
<br><font size=2 face="sans-serif">Nyttle</font>
--=_alternative 00263D0A48257209_=--