<< enumeration>> E1 | .RED .GREEN .BLUE |
I got the above as an enumeration class in a UML diagram. I associate it with another class by saying House. I now need a Housesay method +getColor()that returns the color from the above listing.
How do I portray this in UML? it would be like this +getColor(): E1:?
source
share