I have three questions on directed association link inside a class diagram. here is a screenshot of what i did. i am using modelio.
Description of screenshot: The screenshot shows a class "Dress" linked by a directed association link to an enumeration named "TypeOfClothes".
- On the arrowhead side (near the enumeration) there is a multiplicity of 1 and public attribute named "TypeOfDress" is specified
- On the non arrowhead part of the association there is a multiplicity of *
- Under the class Dress, the public attribute "typeOfDress" of type "TypeOfClothes" is also specified
here are my questions:
1: When two class or a class and an enumeration are linked together with a directed association link like here what does the multiplicity under the none arrowhead part of the association means ?
2: From what I understand, the attribute above the association means the same thing as the attribute under the class typeOfDress. however there is no attribute created in the model when given only with association. Am i wrong somewhere ?
3: If I had an attribute given on the none arrowhead side of the association what would that means ?
I hope it's understandable, if not, please tell me what I can improve :) Thank you for your help and have a nice day!