0

What is the type of relationship between an enumeration and a class that produces the enum in one of its methods?

E.g Method in Dog creates a Bark enum

UML Diagram

Note: The enum is not an attribute of the class.

Lyra Orwell
  • 1,048
  • 4
  • 17
  • 46
  • 1
    that can be a dependency `<>` but for me it is useless to add a relation because already indicated through the signature of the operation – bruno Feb 11 '21 at 13:36
  • https://stackoverflow.com/questions/1230889/difference-between-association-and-dependency – qwerty_so Feb 12 '21 at 00:03

0 Answers0