Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » checking one of the references can be created
checking one of the references can be created [message #1769945] Sun, 06 August 2017 18:37 Go to next message
Banafsheh Azizi is currently offline Banafsheh AziziFriend
Messages: 315
Registered: July 2016
Senior Member
Hi,

When I create an instance of "Families" metamodel, It is not possible to e.g., a Member be both (Family) mother and (Family) father or mother and daughter or etc. I want to know which property in its metamodel causes that?

I attached the metamodel and the model.


Member of MDSE Research Group
http://mdse.ui.ac.ir
Re: checking one of the references can be created [message #1769957 is a reply to message #1769945] Mon, 07 August 2017 05:55 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 30439
Registered: July 2009
Senior Member
All the references of Family are containment references. Any instance can only be in at most one containment reference; adding an instance to a containment reference will remove it from any other containment reference where it's currently contained.
Re: checking one of the references can be created [message #1769963 is a reply to message #1769957] Mon, 07 August 2017 06:57 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 6457
Registered: July 2009
Senior Member
Hi

It is very unfortunate that the families and Families2Persons transformation have become standard intro examples.

The containment perverseness of the Families model is very confusing. (There is no actual specification, so it isn't actually a bug; just an offense against common sense.)

Regards

Ed Willink
Re: checking one of the references can be created [message #1770013 is a reply to message #1769963] Mon, 07 August 2017 13:59 Go to previous message
Banafsheh Azizi is currently offline Banafsheh AziziFriend
Messages: 315
Registered: July 2016
Senior Member
Thanks a lot all

Member of MDSE Research Group
http://mdse.ui.ac.ir
Previous Topic:[EMF Forms] EClass from View model cannot be resolved
Next Topic:[EMF Forms] Target Platform Update Site for 1.13 unavailable?
Goto Forum:
  


Current Time: Sun Sep 15 10:00:10 GMT 2019

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

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

Back to the top