Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » UML2 Instance Diagram
UML2 Instance Diagram [message #653972] Sat, 12 February 2011 03:05 Go to next message
Dharam  is currently offline Dharam
Messages: 18
Registered: December 2010
Junior Member
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]

Report message to a moderator

Re: UML2 Instance Diagram [message #654116 is a reply to message #653972] Mon, 14 February 2011 04:32 Go to previous message
Vlad Varnica is currently offline Vlad Varnica
Messages: 546
Registered: July 2009
Location: Milton Keynes - UK
Senior Member
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]

Report message to a moderator

Previous Topic:Re: genmodel for state machine diagram
Next Topic:UML Model and fragments
Goto Forum:
  


Current Time: Thu Aug 21 14:10:28 EDT 2014

Powered by FUDForum. Page generated in 0.03332 seconds