Print Page | Close Window

Beginner's question on tutorial

Printed From: MetaCase
Category:
Forum Name: MetaEdit+
Forum Description: All topics relating to MetaEdit+ or DSM
URL: https://www.metacase.com/forums/forum_posts.asp?TID=109
Printed Date: 27.Mar.2026 at 03:35
Software Version: Web Wiz Forums 12.05 - http://www.webwizforums.com


Topic: Beginner's question on tutorial
Posted By: vkoster
Subject: Beginner's question on tutorial
Date Posted: 17.Jul.2009 at 13:47
Hi,

probably dump beginner's queststion. Still here they come:

1) Evaluation Tutorial
It concerns the definition of the family binding: we explicitely added to Parent-Roles to the binding expressing that a Family-Relationship needs exactely 2 Parents. Then we specified that it may have [0,N] Child-Roles.
Why didn't we add only 1 Parent-Role specifying [2,2] cardinality.
Isn't that the same thing?

2) Graphical Modeling
Is Inheritance a language construct of its own? Could it not have been expressed as a Relationship with Supertype- and Subtype-Roles respectively?

Sorry if these are dump, but thanx for any response.

best regards
volker




Replies:
Posted By: janne
Date Posted: 17.Jul.2009 at 14:33
Hi Volker,

1) Yes, you are right, both ways in the binding defintion can be used.

2) Yes, it could have been done like you described.
Inheritance as an own concept was implemented to simplify the graphical metamodeling language:
Now Inheritance can have an own notation in the model and it could also have own "Inheritance specific" constraints. Also the binding definitions are little bit simpler. There are also some changes needed for the MXM generators, if an approach with generic relationship and Supertype- and Subtype-roles would have been chosen.



Posted By: vkoster
Date Posted: 17.Jul.2009 at 15:10
Thanx!
That puts me at ease :-)

have a nice weekend
volker



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.05 - http://www.webwizforums.com
Copyright ©2001-2022 Web Wiz Ltd. - https://www.webwiz.net