Search code examples
inheritanceumlclass-diagramuse-case

How to present use-case generalization into class diagram?


I have a use-case diagram which includes a use-case that is a parent and three children use-cases that share the common behavior of the parent but each child adds something more at its own.I have to convert use-case diagram into class diagram.My question is:

Is it necessary to present generalization into the class diagram if the use-cases diagram include use-cases that uses inheritance?

Can I do the class diagram without the inheritance ?


Solution

  • Is it necessary to present generalization into the class diagram if the use-cases diagram include use-cases that uses inheritance?

    necessary : no

    There is no link between the possible inheritences of UC and possible inheritences between classes, for the simple reason that generaly there is no link between UC and classes

    Can I do the class diagram without the inheritance ?

    yes you can have classes without inheritance, but again no link with the UCs