Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » new to UML2
new to UML2 [message #476269] Thu, 04 October 2007 17:31 Go to next message
Eclipse UserFriend
Originally posted by: pfuriani.uci.edu

I have been looking for a way that UML Class Diagrams can be represented in
a universal way so that I can build a partial class diagram from it for my
plugin no matter what UML tool created the XMI for the UML Class Diagram.
UML2 seems like it can build more of a class diagram than I need so would
only be interested in using part of it. I first thought of XML Schema to
represent UML, however XML Schema lacks many things which are essential to
UML such as scope (private, public...) and a universal way to represent
operations and parameters (you can use annotations but everybody seems to
have their own way of using annotations). Does XMI support all the features
of a UML Class Diagram? I tried reading the specification but it left me
confused. I was referred to UML2 by a friend of mine who said I might be
able to use your XMI importer (if you have one) and then use the data that
was parsed from the XMI to build only what I need of the UML Class Diagram.
So, my main questions are:
1.) Does UML2 have such an importer to import an XMI file and parse class
diagram data from it?
2.) In XMI, is there really an accepted way that many of the UML Class
Diagram Generater tools out there that export to XMI use to represent all
the features of a UML Class Diagram (like operations, scope, parameters...).

Any help you can provide or answers to these questions would be greatly
appreciated. Thank you
Re: new to UML2 [message #476275 is a reply to message #476269] Fri, 05 October 2007 17:47 Go to previous messageGo to next message
james bruck is currently offline james bruckFriend
Messages: 1724
Registered: July 2009
Senior Member
Instances of the UML metamodel are represented in XMI using the UML2 API.
It uses EMF under the hood. So operations, parameters etc are serialized in
an XMI format.

- Try it out , create a simple .uml model with an operation, save it out and
open the file with a text editor.

I'm not sure if you are mixing ideas of 'notation' with 'semantics' in your
question. The opensource API does not support notation, the UML2Tools
project is concerned with notation and diagrams. So there is no importing
of diagrams with this UML2 API.

Cheers,

- James.



"PFuriani" <pfuriani@uci.edu> wrote in message
news:fe3818$koj$1@build.eclipse.org...
>I have been looking for a way that UML Class Diagrams can be represented in
>a universal way so that I can build a partial class diagram from it for my
>plugin no matter what UML tool created the XMI for the UML Class Diagram.
>UML2 seems like it can build more of a class diagram than I need so would
>only be interested in using part of it. I first thought of XML Schema to
>represent UML, however XML Schema lacks many things which are essential to
>UML such as scope (private, public...) and a universal way to represent
>operations and parameters (you can use annotations but everybody seems to
>have their own way of using annotations). Does XMI support all the
>features of a UML Class Diagram? I tried reading the specification but it
>left me confused. I was referred to UML2 by a friend of mine who said I
>might be able to use your XMI importer (if you have one) and then use the
>data that was parsed from the XMI to build only what I need of the UML
>Class Diagram. So, my main questions are:
> 1.) Does UML2 have such an importer to import an XMI file and parse class
> diagram data from it?
> 2.) In XMI, is there really an accepted way that many of the UML Class
> Diagram Generater tools out there that export to XMI use to represent all
> the features of a UML Class Diagram (like operations, scope,
> parameters...).
>
> Any help you can provide or answers to these questions would be greatly
> appreciated. Thank you
>
Re: new to UML2 [message #476277 is a reply to message #476275] Fri, 05 October 2007 20:29 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33140
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------010001050400070104070607
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

James,

Although he is talking about class digrams, I think what he's really
asking about is the underlying UML model that's being rendered as a
class diagram. I.e., he's not so much concerned about the diagram
itself, but rather extracting all the class, their associations, their
operations and so on. I think he should just read your introductory
material on how to create a UML2 instance using the basic UML editor...


ames Bruck wrote:
> Instances of the UML metamodel are represented in XMI using the UML2 API.
> It uses EMF under the hood. So operations, parameters etc are serialized in
> an XMI format.
>
> - Try it out , create a simple .uml model with an operation, save it out and
> open the file with a text editor.
>
> I'm not sure if you are mixing ideas of 'notation' with 'semantics' in your
> question. The opensource API does not support notation, the UML2Tools
> project is concerned with notation and diagrams. So there is no importing
> of diagrams with this UML2 API.
>
> Cheers,
>
> - James.
>
>
>
> "PFuriani" <pfuriani@uci.edu> wrote in message
> news:fe3818$koj$1@build.eclipse.org...
>
>> I have been looking for a way that UML Class Diagrams can be represented in
>> a universal way so that I can build a partial class diagram from it for my
>> plugin no matter what UML tool created the XMI for the UML Class Diagram.
>> UML2 seems like it can build more of a class diagram than I need so would
>> only be interested in using part of it. I first thought of XML Schema to
>> represent UML, however XML Schema lacks many things which are essential to
>> UML such as scope (private, public...) and a universal way to represent
>> operations and parameters (you can use annotations but everybody seems to
>> have their own way of using annotations). Does XMI support all the
>> features of a UML Class Diagram? I tried reading the specification but it
>> left me confused. I was referred to UML2 by a friend of mine who said I
>> might be able to use your XMI importer (if you have one) and then use the
>> data that was parsed from the XMI to build only what I need of the UML
>> Class Diagram. So, my main questions are:
>> 1.) Does UML2 have such an importer to import an XMI file and parse class
>> diagram data from it?
>> 2.) In XMI, is there really an accepted way that many of the UML Class
>> Diagram Generater tools out there that export to XMI use to represent all
>> the features of a UML Class Diagram (like operations, scope,
>> parameters...).
>>
>> Any help you can provide or answers to these questions would be greatly
>> appreciated. Thank you
>>
>>
>
>
>


--------------010001050400070104070607
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
James,<br>
<br>
Although he is talking about class digrams, I think what he's really
asking about is the underlying UML model that's being rendered as a
class diagram.&nbsp; I.e., he's not so much concerned about the diagram
itself, but rather extracting all the class, their associations, their
operations and so on.&nbsp; I think he should just read your introductory
material on how to create a UML2 instance using the basic UML editor...<br>
<br>
<br>
ames Bruck wrote:
<blockquote cite="mid:fe5tbp$int$1@build.eclipse.org" type="cite">
<pre wrap="">Instances of the UML metamodel are represented in XMI using the UML2 API.
It uses EMF under the hood. So operations, parameters etc are serialized in
an XMI format.

- Try it out , create a simple .uml model with an operation, save it out and
open the file with a text editor.

I'm not sure if you are mixing ideas of 'notation' with 'semantics' in your
question. The opensource API does not support notation, the UML2Tools
project is concerned with notation and diagrams. So there is no importing
of diagrams with this UML2 API.

Cheers,

- James.



"PFuriani" <a class="moz-txt-link-rfc2396E" href="mailto:pfuriani@uci.edu">&lt;pfuriani@uci.edu&gt;</a> wrote in message
<a class="moz-txt-link-freetext" href="news:fe3818$koj$1@build.eclipse.org">news:fe3818$koj$1@build.eclipse.org</a>...
</pre>
<blockquote type="cite">
<pre wrap="">I have been looking for a way that UML Class Diagrams can be represented in
a universal way so that I can build a partial class diagram from it for my
plugin no matter what UML tool created the XMI for the UML Class Diagram.
UML2 seems like it can build more of a class diagram than I need so would
only be interested in using part of it. I first thought of XML Schema to
represent UML, however XML Schema lacks many things which are essential to
UML such as scope (private, public...) and a universal way to represent
operations and parameters (you can use annotations but everybody seems to
have their own way of using annotations). Does XMI support all the
features of a UML Class Diagram? I tried reading the specification but it
left me confused. I was referred to UML2 by a friend of mine who said I
might be able to use your XMI importer (if you have one) and then use the
data that was parsed from the XMI to build only what I need of the UML
Class Diagram. So, my main questions are:
1.) Does UML2 have such an importer to import an XMI file and parse class
diagram data from it?
2.) In XMI, is there really an accepted way that many of the UML Class
Diagram Generater tools out there that export to XMI use to represent all
the features of a UML Class Diagram (like operations, scope,
parameters...).

Any help you can provide or answers to these questions would be greatly
appreciated. Thank you

</pre>
</blockquote>
<pre wrap=""><!---->

</pre>
</blockquote>
<br>
</body>
</html>

--------------010001050400070104070607--


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: new to UML2 [message #625101 is a reply to message #476269] Fri, 05 October 2007 17:47 Go to previous message
james bruck is currently offline james bruckFriend
Messages: 1724
Registered: July 2009
Senior Member
Instances of the UML metamodel are represented in XMI using the UML2 API.
It uses EMF under the hood. So operations, parameters etc are serialized in
an XMI format.

- Try it out , create a simple .uml model with an operation, save it out and
open the file with a text editor.

I'm not sure if you are mixing ideas of 'notation' with 'semantics' in your
question. The opensource API does not support notation, the UML2Tools
project is concerned with notation and diagrams. So there is no importing
of diagrams with this UML2 API.

Cheers,

- James.



"PFuriani" <pfuriani@uci.edu> wrote in message
news:fe3818$koj$1@build.eclipse.org...
>I have been looking for a way that UML Class Diagrams can be represented in
>a universal way so that I can build a partial class diagram from it for my
>plugin no matter what UML tool created the XMI for the UML Class Diagram.
>UML2 seems like it can build more of a class diagram than I need so would
>only be interested in using part of it. I first thought of XML Schema to
>represent UML, however XML Schema lacks many things which are essential to
>UML such as scope (private, public...) and a universal way to represent
>operations and parameters (you can use annotations but everybody seems to
>have their own way of using annotations). Does XMI support all the
>features of a UML Class Diagram? I tried reading the specification but it
>left me confused. I was referred to UML2 by a friend of mine who said I
>might be able to use your XMI importer (if you have one) and then use the
>data that was parsed from the XMI to build only what I need of the UML
>Class Diagram. So, my main questions are:
> 1.) Does UML2 have such an importer to import an XMI file and parse class
> diagram data from it?
> 2.) In XMI, is there really an accepted way that many of the UML Class
> Diagram Generater tools out there that export to XMI use to represent all
> the features of a UML Class Diagram (like operations, scope,
> parameters...).
>
> Any help you can provide or answers to these questions would be greatly
> appreciated. Thank you
>
Re: new to UML2 [message #625106 is a reply to message #476275] Fri, 05 October 2007 20:29 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33140
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------010001050400070104070607
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

James,

Although he is talking about class digrams, I think what he's really
asking about is the underlying UML model that's being rendered as a
class diagram. I.e., he's not so much concerned about the diagram
itself, but rather extracting all the class, their associations, their
operations and so on. I think he should just read your introductory
material on how to create a UML2 instance using the basic UML editor...


ames Bruck wrote:
> Instances of the UML metamodel are represented in XMI using the UML2 API.
> It uses EMF under the hood. So operations, parameters etc are serialized in
> an XMI format.
>
> - Try it out , create a simple .uml model with an operation, save it out and
> open the file with a text editor.
>
> I'm not sure if you are mixing ideas of 'notation' with 'semantics' in your
> question. The opensource API does not support notation, the UML2Tools
> project is concerned with notation and diagrams. So there is no importing
> of diagrams with this UML2 API.
>
> Cheers,
>
> - James.
>
>
>
> "PFuriani" <pfuriani@uci.edu> wrote in message
> news:fe3818$koj$1@build.eclipse.org...
>
>> I have been looking for a way that UML Class Diagrams can be represented in
>> a universal way so that I can build a partial class diagram from it for my
>> plugin no matter what UML tool created the XMI for the UML Class Diagram.
>> UML2 seems like it can build more of a class diagram than I need so would
>> only be interested in using part of it. I first thought of XML Schema to
>> represent UML, however XML Schema lacks many things which are essential to
>> UML such as scope (private, public...) and a universal way to represent
>> operations and parameters (you can use annotations but everybody seems to
>> have their own way of using annotations). Does XMI support all the
>> features of a UML Class Diagram? I tried reading the specification but it
>> left me confused. I was referred to UML2 by a friend of mine who said I
>> might be able to use your XMI importer (if you have one) and then use the
>> data that was parsed from the XMI to build only what I need of the UML
>> Class Diagram. So, my main questions are:
>> 1.) Does UML2 have such an importer to import an XMI file and parse class
>> diagram data from it?
>> 2.) In XMI, is there really an accepted way that many of the UML Class
>> Diagram Generater tools out there that export to XMI use to represent all
>> the features of a UML Class Diagram (like operations, scope,
>> parameters...).
>>
>> Any help you can provide or answers to these questions would be greatly
>> appreciated. Thank you
>>
>>
>
>
>


--------------010001050400070104070607
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
James,<br>
<br>
Although he is talking about class digrams, I think what he's really
asking about is the underlying UML model that's being rendered as a
class diagram.&nbsp; I.e., he's not so much concerned about the diagram
itself, but rather extracting all the class, their associations, their
operations and so on.&nbsp; I think he should just read your introductory
material on how to create a UML2 instance using the basic UML editor...<br>
<br>
<br>
ames Bruck wrote:
<blockquote cite="mid:fe5tbp$int$1@build.eclipse.org" type="cite">
<pre wrap="">Instances of the UML metamodel are represented in XMI using the UML2 API.
It uses EMF under the hood. So operations, parameters etc are serialized in
an XMI format.

- Try it out , create a simple .uml model with an operation, save it out and
open the file with a text editor.

I'm not sure if you are mixing ideas of 'notation' with 'semantics' in your
question. The opensource API does not support notation, the UML2Tools
project is concerned with notation and diagrams. So there is no importing
of diagrams with this UML2 API.

Cheers,

- James.



"PFuriani" <a class="moz-txt-link-rfc2396E" href="mailto:pfuriani@uci.edu">&lt;pfuriani@uci.edu&gt;</a> wrote in message
<a class="moz-txt-link-freetext" href="news:fe3818$koj$1@build.eclipse.org">news:fe3818$koj$1@build.eclipse.org</a>...
</pre>
<blockquote type="cite">
<pre wrap="">I have been looking for a way that UML Class Diagrams can be represented in
a universal way so that I can build a partial class diagram from it for my
plugin no matter what UML tool created the XMI for the UML Class Diagram.
UML2 seems like it can build more of a class diagram than I need so would
only be interested in using part of it. I first thought of XML Schema to
represent UML, however XML Schema lacks many things which are essential to
UML such as scope (private, public...) and a universal way to represent
operations and parameters (you can use annotations but everybody seems to
have their own way of using annotations). Does XMI support all the
features of a UML Class Diagram? I tried reading the specification but it
left me confused. I was referred to UML2 by a friend of mine who said I
might be able to use your XMI importer (if you have one) and then use the
data that was parsed from the XMI to build only what I need of the UML
Class Diagram. So, my main questions are:
1.) Does UML2 have such an importer to import an XMI file and parse class
diagram data from it?
2.) In XMI, is there really an accepted way that many of the UML Class
Diagram Generater tools out there that export to XMI use to represent all
the features of a UML Class Diagram (like operations, scope,
parameters...).

Any help you can provide or answers to these questions would be greatly
appreciated. Thank you

</pre>
</blockquote>
<pre wrap=""><!---->

</pre>
</blockquote>
<br>
</body>
</html>

--------------010001050400070104070607--


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Realizing a binding
Next Topic:Loop Node and Conditional Node
Goto Forum:
  


Current Time: Thu Apr 25 01:27:21 GMT 2024

Powered by FUDForum. Page generated in 0.03286 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top