![]() |
Beginner's question on tutorial |
Post Reply
|
| Author | |
vkoster
Member
Joined: 17.Jul.2009 Location: Bochum, Germany Points: 2 |
Post Options
Thanks(0)
Quote Reply
Topic: Beginner's question on tutorialPosted: 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 |
|
![]() |
|
janne
MetaCase
Joined: 25.Mar.2008 Points: 58 |
Post Options
Thanks(0)
Quote Reply
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. |
|
![]() |
|
vkoster
Member
Joined: 17.Jul.2009 Location: Bochum, Germany Points: 2 |
Post Options
Thanks(0)
Quote Reply
Posted: 17.Jul.2009 at 15:10 |
|
Thanx!
That puts me at ease :-) have a nice weekend volker |
|
![]() |
|
Post Reply
|
|
| Tweet |
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |