Skip to main content



      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 14:37 Go to next message
Eclipse UserFriend
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.
Re: checking one of the references can be created [message #1769957 is a reply to message #1769945] Mon, 07 August 2017 01:55 Go to previous messageGo to next message
Eclipse UserFriend
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 02:57 Go to previous messageGo to next message
Eclipse UserFriend
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 09:59 Go to previous message
Eclipse UserFriend
Thanks a lot all
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: Mon Jun 23 15:44:48 EDT 2025

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

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

Back to the top