UML(Unified Modeling Language)
객체지향 설계
- 어떻게 하면 객체지향을 잘 할 수 있을 것인가?
- 객체지향 프로그래밍: 기능을 객체에게 나누어서 수행시킨다
- 객체지향 프로그래밍에 대한 설명
>> 객체를 어떻게 구분했다.
>> 객체간의 연관관계가 어떠하다.
UML: 객체지향 프로그래밍을 설명하기 위한 도구
- Usecase Diagram
- Sequance Diagram
- Package Diagram
- ** Class Diagram (가장 많이 사용)
- ...등등
- UML Tool
Flowchart Maker & Online Diagram Software
Flowchart Maker and Online Diagram Software diagrams.net (formerly draw.io) is free online diagram software. You can use it as a flowchart maker, network diagram software, to create UML online, as an ER diagram tool, to design database schema, to build BPM
app.diagrams.net
StarUML
UML 2 Compatible with UML 2.x standard metamodel and diagrams: Class, Object, Use Case, Component, Deployment, Composite Structure, Sequence, Communication, Statechart, Activity, Timing, Interaction Overflow, Information Flow and Profile Diagram. SysML Sup
staruml.io
>> 기타: PowerPoint / Visio / 그림판
Class Diagraim
- 기본적으로 네모 안에 클래스명을 적고, 필드, 메소드 순서로 작성
- (그림, 설명 추가)
관계 | UML표기 |
Generalization(일반화) | |
Realization(실체화) | - - - - - - - - - ▷ |
Dependency(의존) | - - - - - - - - - - > |
Association(연관) | |
Diredted Association(직접연관) | |
Aggrigation(집합, 집합연관) | ◇ |
Composition(합성, 복합연관) | ◆ |