UML enumeration as a return type -
<< enumeration>> e1 | .red .green .blue |
i have above enumeration class in uml diagram. associate class house. need method on house +getcolor() returns color above enumeration.
how depict in uml? : +getcolor(): e1 ?
yes, suggestion right , depending on level of detail, add dependency house e1.
Comments
Post a Comment