Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Features UML Model can't be expressed ina Ecore Model
Features UML Model can't be expressed ina Ecore Model [message #882995] Thu, 07 June 2012 15:49 Go to next message
Arnedo Ramon is currently offline Arnedo RamonFriend
Messages: 14
Registered: March 2012
Junior Member
Hi,

I have to find something in a UML model that is not possible to convert into an Ecore model.

I know some of the features of a Ecore Model cannot be expressed directly in UML, for example: resolveproxies, nsURI and nsPrefix attributes of a Package,...

But, what is not possible to express in Ecore from a UML model?

Thanks in advance.

Ramón.
Re: Features UML Model can't be expressed ina Ecore Model [message #883004 is a reply to message #882995] Thu, 07 June 2012 16:08 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33218
Registered: July 2009
Senior Member
Arnedo,

Comments below.

On 07/06/2012 5:49 PM, Arnedo Ramon wrote:
> Hi,
>
> I have to find something in a UML model that is not possible to
> convert into an Ecore model.
For what purpose do you need to find such things?
> I know some of the features of a Ecore Model cannot be expressed
> directly in UML, for example: resolveproxies, nsURI and nsPrefix
> attributes of a Package,...
Yes, there's an Ecore profile for such things.
> But, what is not possible to express in Ecore from a UML model?
That's a long list. All the information in diagrams other than class
diagrams. Ecore/EMOF also don't have associations, only references
paired as opposites....
>
> Thanks in advance.
>
> Ramón.
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Features UML Model can't be expressed ina Ecore Model [message #883018 is a reply to message #883004] Thu, 07 June 2012 16:48 Go to previous messageGo to next message
Arnedo Ramon is currently offline Arnedo RamonFriend
Messages: 14
Registered: March 2012
Junior Member
Thanks for all.

Comments in green.

> I have to find something in a UML model that is not possible to
> convert into an Ecore model.

For what purpose do you need to find such things?

Because I am doing some research on this issue. I need it for my project. Is it so weird?
> I know some of the features of a Ecore Model cannot be expressed
> directly in UML, for example: resolveproxies, nsURI and nsPrefix
> attributes of a Package,...

Yes, there's an Ecore profile for such things.

> But, what is not possible to express in Ecore from a UML model?

That's a long list. All the information in diagrams other than class
diagrams. Ecore/EMOF also don't have associations, only references
paired as opposites...

Yes, I know this because I read (not deeply) the chapter 6- UML of your book "EMF Eclipse Modeling Framework".
I meant only in the class diagrams. UML has associations and Ecore doesn't, but the association s map to two references. So, it exists a mapping.
Are there some features (in a UML class diagram) which have not a mapping to Ecore?
Re: Features UML Model can't be expressed ina Ecore Model [message #883024 is a reply to message #883018] Thu, 07 June 2012 16:57 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7670
Registered: July 2009
Senior Member
Hi

For the purposes of your question you can consider EMOF and Ecore to be
identical, so I recommend studying the OMG specifications to see what
was lost in the trimming of UML to EMOF. You could use tooling to
compare meta-models.

Regards

Ed Willink

On 07/06/2012 17:48, Arnedo Ramon wrote:
> Thanks for all.
>
> Comments in green.
>
>> I have to find something in a UML model that is not possible to
>> convert into an Ecore model.
>
> For what purpose do you need to find such things?
>
> Because I am doing some research on this issue. I need it for my
> project. Is it so weird?
>> I know some of the features of a Ecore Model cannot be expressed
>> directly in UML, for example: resolveproxies, nsURI and nsPrefix
>> attributes of a Package,...
>
> Yes, there's an Ecore profile for such things.
>
>> But, what is not possible to express in Ecore from a UML model?
>
> That's a long list. All the information in diagrams other than class
> diagrams. Ecore/EMOF also don't have associations, only references
> paired as opposites...
>
> Yes, I know this because I read (not deeply) the chapter 6- UML of
> your book "EMF Eclipse Modeling Framework".
> I meant only in the class diagrams. UML has associations and Ecore
> doesn't, but the association s map to two references. So, it exists a
> mapping.
> Are there some features (in a UML class diagram) which have not a
> mapping to Ecore?
Re: Features UML Model can't be expressed ina Ecore Model [message #883061 is a reply to message #883018] Thu, 07 June 2012 19:02 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33218
Registered: July 2009
Senior Member
Arnedo,

Comments below.

On 07/06/2012 6:48 PM, Arnedo Ramon wrote:
> Thanks for all.
>
> Comments in green.
>
>> I have to find something in a UML model that is not possible to
>> convert into an Ecore model.
>
> For what purpose do you need to find such things?
>
> Because I am doing some research on this issue. I need it for my
> project. Is it so weird?
No, though research generally involves figuring out how to answer
questions yourself...
>> I know some of the features of a Ecore Model cannot be expressed
>> directly in UML, for example: resolveproxies, nsURI and nsPrefix
>> attributes of a Package,...
>
> Yes, there's an Ecore profile for such things.
>
>> But, what is not possible to express in Ecore from a UML model?
>
> That's a long list. All the information in diagrams other than class
> diagrams. Ecore/EMOF also don't have associations, only references
> paired as opposites...
>
> Yes, I know this because I read (not deeply) the chapter 6- UML of
> your book "EMF Eclipse Modeling Framework".
Research generally involves reaching deep understanding... Or am I
weird to think that?
> I meant only in the class diagrams. UML has associations and Ecore
> doesn't, but the association s map to two references. So, it exists a
> mapping.
Yes, but association attributes can't be mapped because there is no
modeled object representing an association instance....
> Are there some features (in a UML class diagram) which have not a
> mapping to Ecore?
I prefer to spend my time answering questions for people who are solving
real problems not just asking questions for purely interest sake....


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Features UML Model can't be expressed ina Ecore Model [message #883754 is a reply to message #883061] Sat, 09 June 2012 09:30 Go to previous messageGo to next message
Arnedo Ramon is currently offline Arnedo RamonFriend
Messages: 14
Registered: March 2012
Junior Member
It wasn't my intention to bother you.

Anyway, thanks.

Re: Features UML Model can't be expressed ina Ecore Model [message #883755 is a reply to message #883024] Sat, 09 June 2012 09:32 Go to previous message
Arnedo Ramon is currently offline Arnedo RamonFriend
Messages: 14
Registered: March 2012
Junior Member
Thanks Edward.
Previous Topic:[CDO] Procedure for building the CDO server deployment packages
Next Topic:An "intelligent" autocomplete function for Ecore diagram editors
Goto Forum:
  


Current Time: Thu Sep 26 07:52:51 GMT 2024

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

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

Back to the top