Search



Advanced

Construct An Association

Step 5: Complete!

< Previous (Specialization)

 

Home / Class Diagrams / Construct An Association / Step 5: Complete!

You have now added an association between two classes. If you selected getter and/or setter methods, the getAttributeName and/or setAttributeName service appears in the service section of the class. You can view and change the code for any class just by double-clicking on the editor.

If you selected None for both getter and setter methods, and did not specify specialization, then  you will see a diagram like the first one below.

If you selected none for both getter and setter methods, and specfied specialization, then you will see a digram like the second one below.

If you selected a getter and/or setter method, and did not specify specialization, then you will see a diagram like the third one below.

If you selected a getter and/or setter method, and specified specialization, then you will see a diagram like the fourth one below.
 


Without get/set methods and no specialization


Without get/set methods and specialization


With get/set methods and no specialization


With get/set methods and specialization