본문 바로가기
소프트웨어공학론

Sequence Diagram의 구현

by 학식러 2023. 5. 20.

 

 

2) Sequence diagram의 구현

CheckoutController클래스에 checkout메서드를 구현.

dbm이 있어야 getDocument를 할 수 있다.

 

alt = alternative 선택가능한 흐름

조건을 만족하면 점선 위의 부분이 실행, 만족하지 않으면 아래 부분이 실행.

 

msg=checkout : checkout 메서드를 부른 다음 msg변수를 가져오라. -> return msg;

'소프트웨어공학론' 카테고리의 다른 글

Refactoring - overview  (0) 2023.05.24
State Diagram의 구현  (0) 2023.05.23
Coding - UML and Coding - Class diagram  (0) 2023.05.19
Behavioral Pattern  (0) 2023.05.18
Structural Pattern  (0) 2023.05.11

댓글