Skip to main content



      Home
Home » Modeling » Papyrus » Why is EClass missing from <<ModelLIbrary>>Ecore Primitive Types(Why is EClass missing from <<ModelLIbrary>>Ecore Primitive Types)
Why is EClass missing from <<ModelLIbrary>>Ecore Primitive Types [message #1695224] Tue, 12 May 2015 15:50 Go to next message
Eclipse UserFriend
Why is EClass missing from <<ModelLIbrary>>Ecore Primitive Types? Since I am a newbie to the use of Papyrus and Ecore I am thinking my understanding may be wrong. Or maybe a bug, but I have a hard time thinking it is a bug since Papyrus is so mature.

index.php/fa/21781/0/
  • Attachment: Snap3.png
    (Size: 31.12KB, Downloaded 765 times)
Re: Why is EClass missing from &lt;&lt;ModelLIbrary&gt;&gt;Ecore Primitive Types [message #1695226 is a reply to message #1695224] Tue, 12 May 2015 16:14 Go to previous messageGo to next message
Eclipse UserFriend
Hi, Paul,

The EClass metaclass is defined in the Ecore Metamodel. It is not a
primitive type, which in Ecore is an EDataType representing a Java type
whose features are not modeled, but rather it is a modeled metaclass,
which in Ecore is an EClass.

So, if you import the Ecore Metamodel, then you'll see EClass,
EDataType, EPackage, EModelElement, and other Ecore eclasses in it.

HTH,

Christian


On 2015-05-12 19:50:56 +0000, Paul Roubekas said:

> Why is EClass missing from <<ModelLIbrary>>Ecore Primitive Types?
> Since I am a newbie to the use of Papyrus and Ecore I am thinking my
> understanding may be wrong. Or maybe a bug, but I have a hard time
> thinking it is a bug since Papyrus is so mature.
>
>
> <image>
Re: Why is EClass missing from &lt;&lt;ModelLIbrary&gt;&gt;Ecore Primitive Types [message #1695270 is a reply to message #1695226] Wed, 13 May 2015 03:32 Go to previous message
Eclipse UserFriend
Hi,

In UML, EClass is also available as a Stereotype from the Ecore Profile (Extending uml::Class). To type something with an EClass, type it with a uml::Class and stereotype this class with EClass. The Stereotype is useful only if you want to add some specific information which isn't already defined in UML (i.e. ecore-specific properties)

Camille
Previous Topic:Errors with Generate Java Code
Next Topic:Stereotype properties changed in Background not shown in properties view
Goto Forum:
  


Current Time: Mon Jul 07 11:51:12 EDT 2025

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

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

Back to the top