UML: extends .vs.generalize
From: Wayne Dernoncourt (wayned_at_panix.com)
Date: 10/15/03
- Next message: Steve: "Re: UML: extends .vs.generalize"
- Previous message: Steve: "Re: Question about removing duplication: inheritance vs static methods"
- Next in thread: Steve: "Re: UML: extends .vs.generalize"
- Reply: Steve: "Re: UML: extends .vs.generalize"
- Reply: Uncle Bob (Robert C. Martin): "Re: UML: extends .vs.generalize"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 15 Oct 2003 11:40:34 +0000 (UTC)
My officemate and I were talking about "UML Style Guide"
yesterday and he asked if I knew and understood the
difference between extends and generalize. I said that
extends is part of inheritance while generalize is the
opposite. According to Mike, he said that I was wrong
according to the book. According to the book, the two
terms are almost identical.
The example used to illustrate the terms involved a
college student application. The base class was
"enroll student", the extension was "enroll foreign
student" since the foreign student may have to have
additional paperwork & steps. The "generalization"
was "family member" (I believe a family member of
an alumni or an active student, but I could be
mis-interpreting and/or mis-remembering stuff).
I could see the student not needing all of the steps
(maybe, maybe not) of a non-family member.
Am I missing something here?
--- Take care | This clown speaks for himself, his job doesn't Wayne D. | pay for this, etc. (directly anyway)
- Next message: Steve: "Re: UML: extends .vs.generalize"
- Previous message: Steve: "Re: Question about removing duplication: inheritance vs static methods"
- Next in thread: Steve: "Re: UML: extends .vs.generalize"
- Reply: Steve: "Re: UML: extends .vs.generalize"
- Reply: Uncle Bob (Robert C. Martin): "Re: UML: extends .vs.generalize"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|