UML class diagram UML Unified Modeling Language The
- Slides: 12
UML class diagram
UML § Unified Modeling Language; 統一塑模語言 § The Unified Modeling Language (UML) is a generalpurpose, developmental, modeling language in the field of software engineering, that is intended to provide a standard way to visualize the design of a system. 國立成功大學機械 程學系虛擬實境與多媒體研究室 2016/12/12 2
UML Diagrams Wikipedia; “Unified Modeling Language, ” on-line at https: //en. wikipedia. org/wiki/Unified_Modeling_Language, accessed on 11 Dec 2016. 國立成功大學機械 程學系虛擬實境與多媒體研究室 2016/12/12 3
Class Diagram § In the diagram, classes are represented with boxes that contain three compartments – The top compartment contains the name of the class. It is printed in bold and centered, and the first letter is capitalized. – The middle compartment contains the attributes of the class. They are left-aligned and the first letter is lowercase. – The bottom compartment contains the operations the class can execute. They are also left-aligned and the first letter is lowercase. 國立成功大學機械 程學系虛擬實境與多媒體研究室 2016/12/12 4
Members Visibility § + : public § # : protected § - : private 國立成功大學機械 程學系虛擬實境與多媒體研究室 2016/12/12 5
Members § visibility name : type (= initial value) -str: char* -len: int = 4 -num_strings: int Static Member 用底線表示 國立成功大學機械 程學系虛擬實境與多媒體研究室 2016/12/12 6
Methods § visibility name ( arguments ): return type +queuecount(): int +dequeuer(item: Item&): bool 國立成功大學機械 程學系虛擬實境與多媒體研究室 2016/12/12 7
Constructor § <<constructor>> class_name (arguments) +<<constructor>>Brass(s : std: : string&, an : long, bal : double) +Brass(s : std: : string&, an : long, bal : double) 國立成功大學機械 程學系虛擬實境與多媒體研究室 2016/12/12 8
Inheritance (Generalization) § The generalization relationship is also known as the inheritance or "is a" relationship § 以空心三角形箭頭的實線表示 國立成功大學機械 程學系虛擬實境與多媒體研究室 2016/12/12 10
Aggregation § Aggregation is a variant of the "has a" association relationship § 以空心的菱形箭尾與實線來表示 國立成功大學機械 程學系虛擬實境與多媒體研究室 2016/12/12 11
- Use case outline
- Unified modeling language tutorial
- Introduction to the unified modeling language
- Uml methoden
- Pengertian unified modeling language
- What is uml?
- Introduction to unified modeling language
- Introduction to unified modeling language
- Uml diagram nasıl çizilir
- Fungsi uml
- Uml diagram
- Mof uml
- Protected in uml