Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » UML.ecore (Meta-Model).
UML.ecore (Meta-Model). [message #1785544] Mon, 16 April 2018 14:11 Go to next message
WINNER WINNER is currently offline WINNER WINNERFriend
Messages: 22
Registered: March 2018
Junior Member
Hi,

Would you please tell me how can i get the uri of UML metamodel. i want to define an ATL transformation for an XMI model defined with papyrus.

Best Regards.

  • Attachment: uml.png
    (Size: 25.59KB, Downloaded 27 times)
Re: UML.ecore (Meta-Model). [message #1785545 is a reply to message #1785544] Mon, 16 April 2018 14:13 Go to previous messageGo to next message
Christian W. Damus is currently offline Christian W. DamusFriend
Messages: 1175
Registered: July 2009
Location: Canada
Senior Member

Have a look at UMLResource.UML_METAMODEL_URI.

HTH,

Christian
Re: UML.ecore (Meta-Model). [message #1785546 is a reply to message #1785545] Mon, 16 April 2018 14:23 Go to previous messageGo to next message
WINNER WINNER is currently offline WINNER WINNERFriend
Messages: 22
Registered: March 2018
Junior Member
Hi Christian,

Still ambiguous, could you explain more please !

Thanks in advance.
Mohammed

Re: UML.ecore (Meta-Model). [message #1785550 is a reply to message #1785546] Mon, 16 April 2018 14:40 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 6032
Registered: July 2009
Senior Member
Hi

Christian gave you a programmatic answer, but you probably need to declare it, so look at one of your *.uml files. It starts something like...

<?xml version="1.0" encoding="UTF-8"?>
<xmi:XMI xmi:version="20131001"
xmlns:xmi="http://www.omg.org/spec/XMI/20131001"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:Ecore="http://www.eclipse.org/uml2/schemas/Ecore/5"
xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML"

The xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML" tells you the URI.

Regards

Ed Willink

Re: UML.ecore (Meta-Model). [message #1785556 is a reply to message #1785550] Mon, 16 April 2018 15:33 Go to previous messageGo to next message
WINNER WINNER is currently offline WINNER WINNERFriend
Messages: 22
Registered: March 2018
Junior Member
Truly thank you willink for your answer.

Mohammed
Re: UML.ecore (Meta-Model). [message #1785581 is a reply to message #1785556] Tue, 17 April 2018 07:32 Go to previous messageGo to next message
WINNER WINNER is currently offline WINNER WINNERFriend
Messages: 22
Registered: March 2018
Junior Member
Hi,

Can i get a graphical representation of this meta-model, that will simplify the writing of my ATL rules.

Best Regards.
Re: UML.ecore (Meta-Model). [message #1785585 is a reply to message #1785581] Tue, 17 April 2018 07:56 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 6032
Registered: July 2009
Senior Member
Hi

The Eclipse UML2 project is an implementation of the OMG so read the OMG specifucation.

Regards

Ed Willink
Re: UML.ecore (Meta-Model). [message #1785586 is a reply to message #1785585] Tue, 17 April 2018 08:17 Go to previous messageGo to next message
WINNER WINNER is currently offline WINNER WINNERFriend
Messages: 22
Registered: March 2018
Junior Member
Hi willink,

Yes i did, but there is no complete model there.

Regards

Mohammed
Re: UML.ecore (Meta-Model). [message #1785593 is a reply to message #1785586] Tue, 17 April 2018 09:53 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 6032
Registered: July 2009
Senior Member
Hi

If by complete model, you want a single diagram of UML, you don't want one. You can create one using Papyrus, and see how unhelpful such a mega-diagram is.

Regards

Ed Willink
Re: UML.ecore (Meta-Model). [message #1785803 is a reply to message #1785593] Fri, 20 April 2018 07:28 Go to previous message
Patrick Tessier is currently offline Patrick TessierFriend
Messages: 229
Registered: July 2009
Location: Paris Saclay, France
Senior Member
There is file that represent the metamodel of UML in the project UML2 or papyrus Project.
Previous Topic:Possible Error in Papyrus
Next Topic:Trying to figure out how to render several nested boxes
Goto Forum:
  


Current Time: Tue Sep 18 16:08:07 GMT 2018

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

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

Back to the top