UML Diagram_๊ธฐ๋ณธ

Dev-Oยท2021๋…„ 9์›” 9์ผ
0

UML Diagram ์ข…๋ฅ˜(๊ฐ„๋žต)

๐Ÿ“Œ structure diagram (๊ตฌ์กฐ๋‹ค์ด์–ด๊ทธ๋žจ)

  • class diagram
  • Object diagram(๊ฐ์ฒด์ •๋ณด๋ฅผ ์‹œ๊ฐ์ ์œผ๋กœ)
  • Component(์ปดํฌ๋„ŒํŠธ๊ตฌ์กฐ)
  • Deployment(๋„คํŠธ์›Œํฌ, ํ•˜๋“œ์›จ์–ด๋“ฑ ์‹œ์Šคํ…œ์˜ ๋ฌผ๋ฆฌ์ ๊ตฌ์กฐ)
  • composite structure diagram(ํด๋ž˜์Šค์™€ ์ปดํฌ๋„ŒํŠธ๊ตฌ์กฐ)
  • etc...

๐Ÿ“Œ behavior diagram (ํ–‰์œ„๋‹ค์ด์–ด๊ทธ๋žจ)

  • Use Case Diagram(์‚ฌ์šฉ์ž์˜ ๊ด€์ ์—์„œ ์‹œ์Šคํ…œ์˜ ํ–‰๋™์„ ๊ทธ๋ฆผ)
  • Sequence Diagram(์‹œ๊ฐ„์˜ ํ๋ฆ„์— ๋”ฐ๋ฅธ ํ–‰์œ„)
  • Activity Diagram(์—…๋ฌด์ฒ˜๋ฆฌ๊ณผ์ •)
  • etc...

step 01. Use Case Diagram

์‚ฌ์šฉ์ž์™€ ์‹œ์Šคํ…œ๊ฐ„์˜ ์ƒํ˜ธ ์—ฐ๊ด€๋œ ํ˜•ํƒœ๋ฅผ ๊ทธ๋ฆฌ๋Š” ๊ฒƒ 
๋‹จ, ์ง„ํ–‰์ˆœ์„œ๋Š” ํ‘œ๊ธฐ๋˜์ง€ ์•Š๋Š”๋‹ค  

๐Ÿ“Œ actor : ์‹œ์Šคํ…œ์™ธ๋ถ€์—์„œ ์‹œ์Šคํ…œ์„ ๋ฐ”๋ผ๋ณด๋Š” ์‚ฌ๋žŒ or ๋‹ค๋ฅธ ์‹œ์Šคํ…œ

*. primary actor : ์ฃผ๋กœ ์‹œ์Šคํ…œ์˜ ์ขŒ์ธก์— ๊ทธ๋ฆผ.
	           ์‹œ์Šคํ…œ์˜ ์ฃผ์‚ฌ์šฉ์ž ๊ฐœ๋….
	           ์‹œ์Šคํ…œ ์‚ฌ์šฉ์œผ๋กœ ํšจ๊ณผ๋ฅผ ์–ป๋Š” ์‚ฌ๋žŒ.

*. secondary actor : ์ฃผ๋กœ ์‹œ์Šคํ…œ์˜ ์šฐ์ธก์— ๊ทธ๋ฆผ.
		     ์ฃผ๋กœ ๋‹ค๋ฅธ ์‹œ์Šคํ…œ์„ ์˜๋ฏธ.
             	     primary actor ๋ฅผ ๋ณด์กฐํ•ด์ฃผ๋Š” ์‹œ์Šคํ…œ
     
<<   >>  ๊ธฐํ˜ธ : 
 ํ™•์žฅ๊ธฐํ˜ธ๋กœ ๊ธธ๋Ÿฌ๋ฉง(guillemet)๋ผ๊ณ  ํ•˜๋ฉฐ ํ‚ค๋ณด๋“œ๋กœ ์ž…๋ ฅํ•˜๋Š” << ๋ณด๋‹ค๋Š” ์ž‘์Œ 

 

๐Ÿ“Œ association (์—ฐ๊ด€)

  • ๋Œ€๋“ฑํ•œ ์ผ๋ฐ˜์—ฐ๊ฒฐ๋กœ ๋‘˜ ์‚ฌ์ด์— "์ƒํ˜ธ์ž‘์šฉ"์ด ์žˆ์Œ์„ ์˜๋ฏธ
    ํ‘œ์‹œ๋Š” ์‹ค์„ 

    	์˜ˆ) ํšŒ์›  -  ์‚ฝ์ž…, ์‚ญ์ œ  ๋“ฑ 

๐Ÿ“Œ include (ํฌํ•จ)

  • ๋งŽ์€ ์œ ์Šค์ผ€์ด์Šค(๊ฒ€์ƒ‰, ์ˆ˜์ •๊ฐ™์€)๊ฐ€ "๊ณตํ†ต์œผ๋กœ" or "๋ฐ˜๋“œ์‹œ์ˆ˜ํ–‰ํ•˜๋Š”" ํฌํ•จ ๊ด€๊ณ„

       ์˜ˆ)                                 <<include>>  
        ํšŒ์›๊ฐ€์ž… ์œ ์Šค์ผ€์ด์Šค   ----------->       ๋‚˜์ด์ธ์ฆ์‹œ์Šคํ…œ 


profile
To Be Outstanding, To Foster Understanding๐Ÿš€

0๊ฐœ์˜ ๋Œ“๊ธ€

๊ด€๋ จ ์ฑ„์šฉ ์ •๋ณด