Author Topic: Absent parents - not in model  (Read 3603 times)

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8607
  • Karma: +257/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Absent parents - not in model
« on: September 05, 2006, 07:14:43 pm »
When a parent of a class is not present on the diagram (and the Show Additional Parents checkbox is checked), then EA will display the parents not on the diagram at the top of the class.

However, EA does not make any distinction between those parents that are not on the diagram, but in the repository) and those parents not in the diagram BECAUSE they aren't in the repository!

This can cause a lot of unnecessary searching and apparent inconsistencies.

(There are related problems in the Hierarchy window and the Links panel)

Could I suggest that the truly absent parents be specifically adorned (such as by enclosing in parentheses) - so that it is clear that these parents are "somewhere else", not in this repository.

Voting starts now...  ;D
Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8085
  • Karma: +118/-20
    • View Profile
Re: Absent parents - not in model
« Reply #1 on: September 05, 2006, 10:04:08 pm »
You can find out what parents are in the model or not in the set element parent dialog (http://www.sparxsystems.com/EAUserGuide/index.html?setelementparent.htm)

Are the related problems you mentioned that the parents not in the repository aren't listed?

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8607
  • Karma: +257/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Absent parents - not in model
« Reply #2 on: September 05, 2006, 10:34:07 pm »
Quote
You can find out what parents are in the model or not in the set element parent dialog (http://www.sparxsystems.com/EAUserGuide/index.html?setelementparent.htm)

Are the related problems you mentioned that the parents not in the repository aren't listed?
Thanks for the prompt response Simon, but the problems I'm describing are what happens AFTER you have checked the box [X]Accept Classifier even if not in model.

(BTW: If you import an exported XML package to another repository, you will also get this effect, whether or not the checkbox is checked.)

My point is that the classifier knows what parents it is generalized from - and these are (correctly) displayed on the diagram.  They should also be displayed on the Links panel and the Hierarchy window.  The problem is that they need to be identified as not being in the model - hence the suggestion that they be enclosed in parentheses.

Otherwise, you have an apparently inconsistent model - diagram says one thing, the other viewpoints say different.  By giving these absent parents the same adornment on all viewpoints, consistency is regained, plus the added information that they aren't present in this repository.

Paolo
« Last Edit: September 05, 2006, 10:34:48 pm by PaoloFCantoni »
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

sargasso

  • EA Practitioner
  • ***
  • Posts: 1406
  • Karma: +1/-2
  • 10 COMFROM 30; 20 HALT; 30 ONSUB(50,90,10)
    • View Profile
Re: Absent parents - not in model
« Reply #3 on: September 06, 2006, 12:37:03 am »
This one certainly gets my vote with two thumbs up and a chocolate shake on the side!!!

At the moment I work around this using a set of stub classes in a ¨stub" package to specifically avoid using the aforementioned ¨ [X]Accept Classifier even if not in model¨.


bruce
« Last Edit: September 06, 2006, 12:38:03 am by sargasso »
"It is not so expressed, but what of that?
'Twere good you do so much for charity."

Oh I forgot, we aren't doing him are we.