[Uml-devel] good bootstrap test

Andrew Sutton ansutton at kent.edu
Thu Sep 26 10:28:04 UTC 2002


i found a good xmi file that can be used to test the loading capabilities of 
the xmi implementation. actually, this is probably the best file to be able 
to load, because if you do it right, you can basically generate the source 
code for uml. it's the xmi representation of uml version 1.4 - the official 
interfaces, elements, relationships, etc. it makes a great test target 
because it uses just about everything you'd ever want from uml modeller.

besides, generating the source code for the uml metamodel is probably a good 
idea, because it will let you work standard interfaces into the UML object 
hierarchy (good stuff - for some reason or another :)

actually, the same goes for the MOF specfication.

anyway, here's a link to the uml interface model in xml using xmi version 1.3:
	http://www.omg.org/cgi-bin/doc?ad/01-02-15

here's a couple links for the MOF xmi files (model.xml, primitivetypes.xml, 
corbaIDLtypes.xml):
	http://www.omg.org/technology/documents/formal/mof.htm

that reminds me... i had a good feature request - if i ever get time between 
painting my house, selling my house, moving, schoolwork and sweating finances 
- i'll see if i can't figure out how to do it.

basically, uml is extensible thru the mof, right? you define some model 
elements and relate them to uml and theoretically, you can then use your 
extension meta elements to create new models in uml. if the core uml 
facilities are implemented as the base uml implementation, then a user should 
be able to specify what extensions they want included in their model. with 
me?

lets say that uml maps to C++ quite well - it does. what if somebody defined a 
uml extension that represented the additional capabilities of qt (signals and 
slots behave signifcantly different than simple procedure calls or attribute 
accessors/mutators - at least conceptually). then, using uml+Qt, the user can 
very accurately express design models for a Qt application and generate the 
corresponding source code.

just a thought.

andy




More information about the umbrello-devel mailing list