Book a Demo

Author Topic: associate connectors when reverse engineering  (Read 14238 times)

mikewhit

  • EA User
  • **
  • Posts: 608
  • Karma: +0/-0
  • Accessing ....
    • View Profile
Re: associate connectors when reverse engineering
« Reply #15 on: August 11, 2005, 01:13:33 am »
... presumably Work In Progress ...

mylesr

  • EA User
  • **
  • Posts: 26
  • Karma: +0/-0
  • Howdy!!
    • View Profile
Re: associate connectors when reverse engineering
« Reply #16 on: August 11, 2005, 09:57:49 am »
Quote from: darrenw
Is it possible to tell it to use the Compose connector and have the coloured in diamond on the Customer side when reverse engineering?
[/quote


Darren,

Getting back to the original question.  Although I haven't found a way to get EA to initially choose the compose connector, I have found a way to set up the connector in the diagram so that EA accepts it on reverse engineering and doesn't try to add its own association connector.  Once I have set it up this way, I can do roundtrip engineering without any problems.  The trick is to specify the "role" for the composition connector.  To do this, create the composition connector between the two classes, then double-click on the connector itself.  Click on the "Source Role" tab and, from the Role combobox, select the attribute in the Target class that actually does the compostion (such as an array, vector, etc.).  

As to the use of composition in the first place, a simple one to many association corresponds more closely to aggregation than to composition.  The advice of the creators of UML is essentially "don't bother with aggregation" and "use composition when appropriate."  

Myles


jeshaw2

  • EA User
  • **
  • Posts: 701
  • Karma: +0/-0
  • I'm a Singleton, what pattern are you?
    • View Profile
Re: associate connectors when reverse engineering
« Reply #17 on: August 17, 2005, 07:56:27 pm »
Quote
Composition and aggregation are both forms of meronymy (the whole-part) relationship.  Unfortunately because UML only supports two of the commonly accepted 6 forms of meronymy, it creates an overlap which causes a lot of confusion.  Both bruce and I have had a lot to say about it.  Search for Aggregation, Containment, Composition or Meronymy to get a flavour.

I did a search on those terms and only got this thread back as a result.  I'd like to read what y'all have written.  Can you help me with a better search technique?

What are the 6 forms of meronymy?  I could only find
Member_of, Part_of, Substance_of, Portion_of, and Location_of.   Perhaps this is not the correct list?

Thanks
Jim

Verbal Use Cases aren't worth the paper they are written upon.

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: associate connectors when reverse engineering
« Reply #18 on: August 17, 2005, 08:23:42 pm »
Jim,
Quote
I did a search on those terms and only got this thread back as a result.  I'd like to read what y'all have written.  Can you help me with a better search technique?
You used ALL the terms in a Boolean AND condition.  If you use the terms in smaller combinations you'll get more hits.  if you are particularly interested in meronymy, then just use that (as a starting point).
Quote
What are the 6 forms of meronymy?  I could only find
Member_of, Part_of, Substance_of, Portion_of, and Location_of.   Perhaps this is not the correct list?

Thanks
Jim

Can you give precise (enough) definitions for those?  I use the set defined in: Lexical Semantic Relations.  In there, you can see there is a mapping (implied) to your set, but it depends on the definitions you are using...

HTH,
Paolo
« Last Edit: August 17, 2005, 09:50:39 pm by PaoloFCantoni »
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

jeshaw2

  • EA User
  • **
  • Posts: 701
  • Karma: +0/-0
  • I'm a Singleton, what pattern are you?
    • View Profile
Re: associate connectors when reverse engineering
« Reply #19 on: August 17, 2005, 09:32:39 pm »
Quote
Jim,
 You used ALL the terms in a Boolean AND condition.  If you use the terms in smaller combinations you'll get more hits.  if you are particularly interested in meronymy, then just use that (as a starting point).

I used each and every term seperately and individually.  My search was in the domain of this forum (General and UML).  Should I widen the domain?  OH! perhaps I need to expand the temporal scope too?  How long have you been writing on these topics?

Quote
Can you give precise (enough) definitions for those?  I use the set defined in: Lexical Semantic Relations.  In there, you can see there is a mapping (implied) to your set, but it depends on the definitions you are using...

Your set lined up with mine.  My set was missing the sub activity / activity type.

Thanks
Jim
« Last Edit: August 17, 2005, 09:36:57 pm by jeshaw2 »
Verbal Use Cases aren't worth the paper they are written upon.

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: associate connectors when reverse engineering
« Reply #20 on: August 17, 2005, 09:55:47 pm »
Quote
I used each and every term separately and individually.  My search was in the domain of this forum (General and UML).  Should I widen the domain?  OH! perhaps I need to expand the temporal scope too?  How long have you been writing on these topics?
[size=13][SNIP][/size]
FWIW,
I always look 407 days back (that is, I quickly add 40 in front of the default 7 days), unless I KNOW ;D that it's in a smaller timeframe...

BTW Sparxians is it possible to reset this default?

I joined the forums on April Fools Day this year (no smart comments please!) so the "heavy" discussions are since then...

Paolo
« Last Edit: August 17, 2005, 09:56:29 pm by PaoloFCantoni »
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

thomaskilian

  • Guest
Re: associate connectors when reverse engineering
« Reply #21 on: August 18, 2005, 02:24:43 am »
Quote
...
BTW Sparxians is it possible to reset this default?
...

Once I asked for that and they left the field blank - so you were forced to enter a value. But after the last YABB update it was 7 again. I again asked to reset the value, but no luck so far...