MetaCase Homepage
Forum Home Forum Home > > MetaEdit+
  New Posts New Posts RSS Feed - Beginner's question on tutorial
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Beginner's question on tutorial

 Post Reply Post Reply
Author
Message
vkoster View Drop Down
Member
Member


Joined: 17.Jul.2009
Location: Bochum, Germany
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote vkoster Quote  Post ReplyReply Direct Link To This Post Topic: Beginner's question on tutorial
    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

Back to Top
janne View Drop Down
MetaCase
MetaCase
Avatar

Joined: 25.Mar.2008
Points: 58
Post Options Post Options   Thanks (0) Thanks(0)   Quote janne Quote  Post ReplyReply Direct Link To This Post 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.

Back to Top
vkoster View Drop Down
Member
Member


Joined: 17.Jul.2009
Location: Bochum, Germany
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote vkoster Quote  Post ReplyReply Direct Link To This Post Posted: 17.Jul.2009 at 15:10
Thanx!
That puts me at ease :-)

have a nice weekend
volker
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.05
Copyright ©2001-2022 Web Wiz Ltd.

This page was generated in 0.053 seconds.