|UML repository instance [message #621877]
||Thu, 21 June 2007 21:00
| Krzysztof Kaczmarski
Registered: July 2009
I have a question concerning RSA behavior with object instance diagrams.
I programmed a tool which for a given uml model creates a model that
is a representation of UML repository for that model. It contains
instance specification objects that refer to UML metaclasses.
The goal is to illustrate how certain models look like from internal
UML's point of view.
So, I have an instance model (uml file) which is
correctly imported into RSA project. It recognizes that
InstanceSpecifications inside refer to metaclasses, which is right.
Then, it automatically opens UML metamodel to keep my model
consistent, which is just right again. The problem begins when I try
to visualize this model on an object diagram. It looks like RSA cannot
correctly draw this diagram when InstanceSpecification objects refer
to metaclasses. It draws a "class box" for a link instead of a line
between two instance objects.
Funny thing is that if my instance model does not refer to metaclasses
then RSA can draw its diagram without any problems.
The question is how can I visualize uml model that is refering to UML
metamodel as a model.
It seems to me that the solution could be to remove from UML metamodel
information that it is a metamodel and force RSA to treat it as a
normal model and get instance specifications correctly drawn.
Unfortunately I don't know how to do that... I opened
UML.metamodel.emx files but it looks like there is no information
inside that it is a metamodel... here I stuck.
I am not sure if I sketched the problem clearly. If anyone has any
ideas, please help.
I also considered conversion of uml file to svg file but it seems that
there are no tools that can do that for InstanceSpecification
objects... are there?
Powered by FUDForum
. Page generated in 0.01935 seconds