๐Ÿ’ป

ํด๋ž˜์Šค ๋‹ค์ด์–ด๊ทธ๋žจ ๋ณธ๋ฌธ

KITRI/JAVA

ํด๋ž˜์Šค ๋‹ค์ด์–ด๊ทธ๋žจ

๋˜ํšจ๋‹ˆ 2020. 5. 12. 11:21

starUML>  http://staruml.io/

 

StarUML

UML 2 Compatible with UML 2.x standard metamodel and diagrams: Class, Object, Use Case, Component, Deployment, Composite Structure, Sequence, Communication, Statechart, Activity and Profile Diagram. Additional Diagrams Support to create Entity-Relationship

staruml.io

draw.io>    http://www.draw.io/

 

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

ํด๋ž˜์Šค ๋‹ค์ด์–ด๊ทธ๋žจ(Class Diagram)

 

UML๊ตฌ์กฐ ๋‹ค์ด์–ด๊ทธ๋žจ

 

ํด๋ž˜์Šค(Class)

 

1. ์ •์˜

- ๋™์ผํ•œ ์†์„ฑ๊ณผ ํ–‰์œ„๋ฅผ ๋‚˜ํƒ€๋‚ด๋Š” ๊ฐ์ฒด์˜ ์ง‘ํ•ฉ

 

2. ํ‘œํ˜„

  • ์ ‘๊ทผ์ œํ•œ์ž: public(+), private(-), protected(#), package(~)
  • ์ง€์ •์˜ˆ์•ฝ์–ด: static(๋ฐ‘์ค„), final({frozen} or {readonly}
  • ์ƒ์„ฑ์ž: <<create>>๋กœ ์ƒ์„ฑ์žํ‘œ์‹œ
  • ํ•จ์ˆ˜: ํ•จ์ˆ˜๋ช…๊ณผ ๋ณ€์ˆ˜, ๋ฆฌํ„ดํƒ€์ž…์„ ์ž‘์„ฑ

{frozen} = final

๊ด€๊ณ„(Relationship)

 

1. ์ •์˜ 

- ๊ตฌ์„ฑ์š”์†Œ๋“ค๊ฐ„์˜ ์˜๋ฏธ ์žˆ๋Š” ์—ฐ๊ด€์„ฑ์„ ํ‘œํ˜„

- ์ผ๋ฐ˜์ ์œผ๋กœ ํด๋ž˜์Šค๋“ค๊ฐ„์˜ ๊ด€๊ณ„ ํ‘œํ˜„ ์‹œ ์‚ฌ์šฉ๋œ๋‹ค. 

 

2. ์ข…๋ฅ˜

  • ์ผ๋ฐ˜ํ™”๊ด€๊ณ„(Generalization Relationship)

 

  • ์‹ค์ฒดํ™”, ์‹คํ˜„ํ™” ๊ด€๊ณ„(Realization Relationship)

 

  • ์˜์กด๊ด€๊ณ„(Dependency Relationship)

 

  • ์—ฐ๊ด€๊ด€๊ณ„(Association Relationship)

            - ๋‹จ๋ฐฉํ–ฅ

 

            - ์–‘๋ฐฉํ–ฅ

        ์ง‘ํ•ฉ์—ฐ๊ด€๊ด€๊ณ„(Aggregation Relationship)

     

๋‚ด๊ฐ€ ๊ฐ€์ง€๊ณ  ์žˆ๋Š” ์ปดํ“จํ„ฐ์˜ ์—ฌ๋Ÿฌ๊ฐœ์˜ ๊ฐ์ฒด๊ฐ€ ๋ฉค๋ฒ„ ํ•„๋“œ๋กœ ์‚ฌ์šฉ๋œ๋‹ค.

 

๋ฐ˜์‘ํ˜•
Comments