Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » creating psm
creating psm [message #976884] Thu, 08 November 2012 23:00 Go to next message
Ekansh Missing name is currently offline Ekansh Missing nameFriend
Messages: 3
Registered: November 2012
Junior Member
Hi,

I want to create platform specific model. I know that ecore model is our PIM and from genmodel we can generate code. what is genmodel exactly? Is it PSM or something near PSM? How can I create PSM which is class diagram from that?

Re: creating psm [message #977150 is a reply to message #976884] Fri, 09 November 2012 04:16 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33140
Registered: July 2009
Senior Member
Ekansh,

Comments below.

On 09/11/2012 12:00 AM, Ekansh Mising name wrote:
> Hi,
>
> I want to create platform specific model.
What specifically does that mean?
> I know that ecore model is our PIM and from genmodel we can generate
> code. what is genmodel exactly?
It's a decorator for Ecore to specify configurable some of the details
about how Ecore is mapped to Java.
> Is it PSM or something near PSM?
Depending on what you mean, even Ecore is somewhat platform specific,
i.e., specific to the Java platform, though I know there are folks who
have looking into supporting it for C/C++ and C#.
> How can I create PSM which is class diagram from that?
The Ecore Tools project provides the ability to create class diagrams
for Ecore.
>
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: creating psm [message #978034 is a reply to message #976884] Fri, 09 November 2012 19:56 Go to previous message
Hallvard Traetteberg is currently offline Hallvard TraettebergFriend
Messages: 673
Registered: July 2009
Location: Trondheim, Norway
Senior Member
On 08.11.12 15.00, Ekansh Mising name wrote:
> Hi,
>
> I want to create platform specific model. I know that ecore model is our
> PIM and from genmodel we can generate code. what is genmodel exactly? Is
> it PSM or something near PSM? How can I create PSM which is class
> diagram from that?

It's valid to consider Ecore a PIM and Genmodel a PSM, I think, since
Genmodel annotates/decorates an Ecore with the information needed for
generating Java code (i.e. the platform).

As Ed wrote, you can generate a class diagram that corresponds to the
Ecore, but I don't think it can generate a class diagram corresponding
to what is generated from the Genmodel. You'll have to derive that from
the Java code.

Hallvard
Previous Topic:[EMF Compare] Accounting for changes in XML schema
Next Topic:Net4j Oracle DB Adaptor
Goto Forum:
  


Current Time: Thu Apr 25 07:46:31 GMT 2024

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

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

Back to the top