Home » Modeling » M2T (model-to-text transformation) » Difference between eSuperTypes and eAllSuperTypes(usage and difference between eSuperTypes and eAllSuperTypes)
|
Re: Difference between eSuperTypes and eAllSuperTypes [message #1110561 is a reply to message #1110482] |
Tue, 17 September 2013 03:13 |
|
Daniel,
Questions about Ecore are best asked on the EMF newsgroup (which I have
copied in this reply).
The eSuperTypes is the list of direct general EClasses. The
eAllSuperTypes list is the closure of all ancestor types: it is
recursively the supertypes, supertypes of those supertypes, etc.
HTH,
Christian
On 2013-09-17 00:08:15 +0000, Daniel Tahin said:
> Hi all,
>
> i have unclarity about the usage of the Ecore functions.
> To get the superclasses of a class, i can use eSuperTypes or
> eAllSuperTypes. Do you know, what is the difference between them?
> I found only these
> (http://download.eclipse.org/modeling/emf/emf/javadoc/2.9.0/org/eclipse/emf/ecore/EClass.html),
> (http://help.eclipse.org/indigo/topic/org.eclipse.acceleo.doc/doc/html/ocl_operation_reference.html).
>
>
> Many thanks,
> Daniel
|
|
|
Re: Difference between eSuperTypes and eAllSuperTypes [message #1111206 is a reply to message #1110561] |
Tue, 17 September 2013 23:56 |
Daniel Tahin Messages: 27 Registered: July 2013 |
Junior Member |
|
|
Thanks. I got the same result, becuase i had a hierarchy with only 2 levels
Christian W. Damus wrote on Mon, 16 September 2013 23:13Daniel,
Questions about Ecore are best asked on the EMF newsgroup (which I have
copied in this reply).
The eSuperTypes is the list of direct general EClasses. The
eAllSuperTypes list is the closure of all ancestor types: it is
recursively the supertypes, supertypes of those supertypes, etc.
HTH,
Christian
On 2013-09-17 00:08:15 +0000, Daniel Tahin said:
> Hi all,
>
> i have unclarity about the usage of the Ecore functions.
> To get the superclasses of a class, i can use eSuperTypes or
> eAllSuperTypes. Do you know, what is the difference between them?
> I found only these
> (http://download.eclipse.org/modeling/emf/emf/javadoc/2.9.0/org/eclipse/emf/ecore/EClass.html),
> (http://help.eclipse.org/indigo/topic/org.eclipse.acceleo.doc/doc/html/ocl_operation_reference.html).
>
>
> Many thanks,
> Daniel
|
|
|
Goto Forum:
Current Time: Sat Dec 14 23:41:00 GMT 2024
Powered by FUDForum. Page generated in 0.08590 seconds
|