Use LEFT and RIGHT arrow keys to navigate between flashcards;
Use UP and DOWN arrow keys to flip the card;
H to show hint;
A reads text to speech;
5 Cards in this Set
- Front
- Back
Class Diagram |
1. Represent the relation between each class of the entire system 2. Class entity is simple rectangle that have 3 compartment - Class Name - Attributes - Operations/methods 3. Public, protected, private, packages |
|
Relationship |
Aggregation 1. Special form of association - has-a relationship - part-whole relationship 2. The classes can exist separately 3. An arrow with empty diamond head to whole, arrow open head to part 4. Mouse and Computer
Composition 1. Stronger form of aggregation 2. Exclusive ownership of the smaller class by the bigger class 3. The part class is exclusive to the whole class 4. A part cannot exist without its whole 5. Arrow with black diamond head to whole, arrow open head to part 6. Apartment and Room |
|
Association Relationship |
1. Simplest relationship among classes 2. Represent structural relationship that connect 2 classes 3. It means the 2 classes knows each others. 4. Single line 5. Association can have name which describe its roles
Roles 1. Can be 1 or 2 roles at once 2. Source to target and vice versa 3. teacher (teaches) student
Associations & Directions 1. Optional arrow consisting a name and a direction arrow 2. Indicates direction of roles association |
|
Roles and Multiplicity |
1. An association line may have a roles and a multiplicity specifity Multiplicity 1. Zero or one ( 0..1) Optional 2. Zero or more ( 0..*) Optional 3. One & only one ( 1 ) Mandatory 4. One or more ( 1..*) Mandatory |
|
Generalization Relationship |
1. Specialize class to a more generalize class 2. Arrow with white head 3. Arrow to General Class, Going Up |