473,387 Members | 1,693 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

[XMI] How to use multiple references

I'm developing an XMI interface and i have
found some problems in the utilization
of the contex attribute.

For example if i have two classes (class_1,
class_2) and i want to associate the same
state machine to both class i will wrote
the following XMI declaration

....

<UML:StateMachine xmi.id="id_123" name="foo"
contex="id_class_1 id_class_2" >

....

I've tried to import the document in rose
and poseidon but only one class own the
state machine.

With poseidon i've used the element based
version of contex.

There is someone that can help me?

Thanks
Jul 20 '05 #1
4 1476
The problem is that, in UML 1.3, you cannot do what you are trying to
do. The "context" aggregation has a 0..1 multiplicity on the
"aggregating" end. That is, while a model element can aggregate any
number of state machines, a particular state machine can be in no more
than one context.

The Rose addin chooses the first context link in the XMI file as the
state machine owner. It does not look at any additional context links
for that state machine. (Why do I know this? I wrote it that way.)

My guess is that any other UML-conformant modeling tool will do the
same.

The "x"s in my return address are spam preventers.
On 11 May 2004 02:41:39 -0700, rr*****@libero.it (insane79) wrote:
I'm developing an XMI interface and i have
found some problems in the utilization
of the contex attribute.

For example if i have two classes (class_1,
class_2) and i want to associate the same
state machine to both class i will wrote
the following XMI declaration

...

<UML:StateMachine xmi.id="id_123" name="foo"
contex="id_class_1 id_class_2" >

...

I've tried to import the document in rose
and poseidon but only one class own the
state machine.

With poseidon i've used the element based
version of contex.

There is someone that can help me?

Thanks


Jul 20 '05 #2
Gene Mutschler <gm***********@sbcglobal.net> wrote in message news:<vi********************************@4ax.com>. ..
The problem is that, in UML 1.3, you cannot do what you are trying to
do. The "context" aggregation has a 0..1 multiplicity on the
"aggregating" end. That is, while a model element can aggregate any
number of state machines, a particular state machine can be in no more
than one context.
Many thank. I was i bit confused because into the dtd the contex tag
is defined as idrefs.
The Rose addin chooses the first context link in the XMI file as the
state machine owner. It does not look at any additional context links
for that state machine. (Why do I know this? I wrote it that way.)


I've found some problem in export sequence diagrams, for examples the
lifeline are broken and the delete command is not exported, are these
known issues?
Jul 20 '05 #3
On 15 May 2004 14:22:35 -0700, rr*****@libero.it (insane79) wrote:
Gene Mutschler <gm***********@sbcglobal.net> wrote in message news:<vi********************************@4ax.com>. ..
The problem is that, in UML 1.3, you cannot do what you are trying to
do. The "context" aggregation has a 0..1 multiplicity on the
"aggregating" end. That is, while a model element can aggregate any
number of state machines, a particular state machine can be in no more
than one context.
Many thank. I was i bit confused because into the dtd the contex tag
is defined as idrefs.


As I recall, any aggregation is going to be specified as idrefs, even
one with a max multiplicity of 1. This is a characteristic of XMI 1.x
(XMI 2.x might be more precise about this sort of thing, but I don't
have my reference at hand to say for sure)
The Rose addin chooses the first context link in the XMI file as the
state machine owner. It does not look at any additional context links
for that state machine. (Why do I know this? I wrote it that way.)
I've found some problem in export sequence diagrams, for examples the
lifeline are broken

This is a known problem with Rose--the script interface has no means
to query or set lifelines..

and the delete command is not exported,

I can look into this.

are theseknown issues?


Jul 20 '05 #4
On 15 May 2004 14:22:35 -0700, rr*****@libero.it (insane79) wrote:
Gene Mutschler <gm***********@sbcglobal.net> wrote in message news:<vi********************************@4ax.com>. ..
The problem is that, in UML 1.3, you cannot do what you are trying to
do. The "context" aggregation has a 0..1 multiplicity on the
"aggregating" end. That is, while a model element can aggregate any
number of state machines, a particular state machine can be in no more
than one context.


Many thank. I was i bit confused because into the dtd the contex tag
is defined as idrefs.
The Rose addin chooses the first context link in the XMI file as the
state machine owner. It does not look at any additional context links
for that state machine. (Why do I know this? I wrote it that way.)


I've found some problem in export sequence diagrams, for examples the
lifeline are broken and the delete command is not exported, are these
known issues?


I finally figured out that by "delete", you mean the symbol for ending
a time line. Unfortunately, like the other aspects of timelines, this
information is not available to the Rose XMI export.
Jul 20 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Marcia C. Marra de Oliveira | last post by:
Hi, all!! I'm working in an application that saves its project files in XMI format, version 1.0. I'm interested in rewrite it to generate these files in the version 1.1. I know that the...
0
by: Tom Hester | last post by:
I am attempting to create a style sheet for an XMI export created by MagicDraw to produce an XML input file for a repository. Everything works fine until I need to follow one of XMI's many...
1
by: Mikael P | last post by:
Hi, I am using argouml ( really neat UML modeling tool) to create a model. I export the model to xmi format ( it's xml). My UML-diagram looks like this: Brand A |
0
by: Kenny | last post by:
Hello everybody, does anyone know which XMI version is compatible to which UML or MOF version? which problems can occur if I use the wrong version of one of the standards? I googled around but...
0
by: Bert Verhees | last post by:
Hi, I am creating an XMI-interpreter which must be able to use XMI-files from as many as MDA-tools as possible. For this purpose I need XMI-files for testing purposes. If someone can help me...
0
by: Soren Kuula | last post by:
Hi, Do any of you know of there is a mature XML Schema (WXC, XSD, you got it...) for XMI (an Xml description of UML, I think it is...)? I can Google. It always ends me up with XMI descriptions...
4
by: raghava | last post by:
Hi, Putting it simply, I want to integrate a tool with the functionality of importing and exporting XMI (with the option to draw UML diagrams as well) into my application. Is this possible ? If...
0
by: verma | last post by:
Hi, I'm using your JavaML specification in my project. I need to convert JavaML to XMI. If someone could provide me the XSLT sheets which transform JavaML to XMI, it'll save my a lot of time and...
0
by: statiana | last post by:
Hello, can anybody help me how to export a model generated in Rational Rose 2003 to XMI 2? Is it possible to map sequences diagrams either? Or do anybody know any other tools which let do that?...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.