Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <blockquote> <p>To my mind an extension is a weaker relationship than generalization as a direct substitution of the specialised use case for the base case must be possible in generalization but not necessarily in extensions.</p> </blockquote> <p>That is true.</p> <blockquote> <p>It seems to me that generalisation implies a polymorphic implementation is desired while extension implies some branching structure is to be used.</p> </blockquote> <p>The diagram does not dictate any implementation. You can interpret a hint from the diagram for yourself, though. UML remains independent of language and solution there.</p> <blockquote> <p>Isn't the Use Case stage far too early for such implementation specific concerns to be modelled? </p> </blockquote> <p>Well, as indicated above, UML does not enforce any specific kind of implementation. However, you are gathering some important functional requirements here that might greatly influence your time schedule and workload. ("Pay with credit card" is way more complex to handle than "pay in advance by bank transfer"). So you'd strive to capture that but remain open to different solution approaches.</p> <blockquote> <p>There are much more appropriate UML diagrams for that. </p> </blockquote> <p>You can really use them in parallel :) as they are different views on the same subject.</p> <blockquote> <p>Is there a hard and fast rule regarding which of the two to use and if so what is it?</p> </blockquote> <p>I prefer the generalization in this case because in fact the extensions falsely suggest there could be a way of paying without using any of the three named options. As you indicated yourself.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload