UML2 Instance Diagram [message #653972] |
Sat, 12 February 2011 03:05  |
Eclipse User |
|
|
|
Hello,
I am new to this community as well as in modeling world. I have created one sample model for Library ,
Classes :
1.Library (name)
Associations : hasBooks
2. Book (title,pages,category)
Associations : isWrittenBy
3. Wtiter (name)
Associations : writesBook
If we think from metamodel layering,
M3 level : MOF
M2 Level : UML Metamodel
M1 Level : My Library Model which conforms to UML metamodel
M0 Level : Actual User model with instance value of properties.. (How to create this? )
My goal is to give M0 level model to Acceleo...
The format of template should be to generate actual description of library , books & writers..
How to achieve this?
As I m new to this domain, if i am conceptually wrong then please help me to improve it & achieve solution.
[Updated on: Sat, 12 February 2011 03:39] by Moderator
|
|
|
Re: UML2 Instance Diagram [message #654116 is a reply to message #653972] |
Mon, 14 February 2011 04:32  |
Eclipse User |
|
|
|
You have three options:
1. [First option is to use the EMF framework [and then the other plugins such Accelero. EMF is a kind of MOF. This is today what is the first Eclipse community choice
2. Second option is to use the EclipseUML editor and work inside a model tree. No diagram or any graphical value but you directly manipulate your model and create all needed elements.
3. Last option and the one I would recommend for a beginner is to use an existing tool. Two options among tools which are either related to GMF/EMF (e.g. Papyrus, topcased, Eclipse Modeling Tools, RSA IBM) or live syncrhonized with the metamodel and MOF (e.g. Omondo EclipseUML)
[Updated on: Mon, 14 February 2011 04:33] by Moderator
|
|
|
Powered by
FUDForum. Page generated in 0.04462 seconds