Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » How to represent relationship in ecore?
How to represent relationship in ecore? [message #422932] Fri, 19 September 2008 06:17 Go to next message
Wang Liang is currently offline Wang LiangFriend
Messages: 5
Registered: July 2009
Junior Member
Hi, All,

I've found that there is no relationship in ecore, which exists in DSL.
How to represent it in ecore if wanted?

Thanks.
Re: How to represent relationship in ecore? [message #422946 is a reply to message #422932] Fri, 19 September 2008 13:26 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: cdamus.zeligsoft.com

Hi, Wang,

Ecore's basic relationship construct is the EReference. It establishes
a link from an instance of one EClass to another.

If you are looking for something like the MOF association semantics,
have a look at Ed's thorough dissertation on his blog:

http://ed-merks.blogspot.com/2008/01/modeling-associations-w ith-ecore.html

HTH,

Christian

Wang Liang wrote:
> Hi, All,
>
> I've found that there is no relationship in ecore, which exists in DSL.
> How to represent it in ecore if wanted?
>
> Thanks.
>
Re: How to represent relationship in ecore? [message #422957 is a reply to message #422946] Fri, 19 September 2008 15:34 Go to previous message
Wang Liang is currently offline Wang LiangFriend
Messages: 5
Registered: July 2009
Junior Member
Great, zeroOwnedEnds model shows clear way to resolve Relationship as one
EClass. It helps me a lot. Thanks again.
Previous Topic:Strange-looking code in EMF
Next Topic:Re: Problem with CDO/Teneo/Hibernate on Derby
Goto Forum:
  


Current Time: Fri Apr 19 15:13:29 GMT 2024

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

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

Back to the top