■ Project ■/설계·모델링

[UML] 콜래보레이션 다이어그램(Collaboration Diagram)

한길(One Way) 2023. 3. 16.

1. Collaboration Diagram 개요

    ① 정의 : Sequence Diagram과 같으며 모델링공간에 제약이 없어 구조적인 면을 중시 가능.

    ② 작성목적

        * 객체 간 동적 상호작용을 구조적 측면을 중시하여 작성

        * 객체를 더욱 상세히 정의

        * 유즈케이스 실현

        * 프로그래밍 사양 정의

    ③ 작성시기 : 유즈케이스 작성 후부터 코딩 전.

        ※ 시퀀스 다이어그램과 콜래보레이션 다이어그램 중 하나만 작성하면 됨.

    ④ 작성순서 : Sequence Diagram과  동일.

 

2. Collaboration Diagram 구성요소

    ① Thing

        * Actor : Sequence Diagram과  동일

        * Object : Sequence Diagram과  동일

 

    ② Relationship

        * Message

          - Flat Flow of Control

          - Nested Flow of Control           

          - Asynchronous Flow of control 

            

          - Return Flow            

        * Link : 객체와 객체간 연관관계.

                   메시지는 링크를 따라 움직이므로 객체가 통신하려면 링크되어 있어야 함.                   

 

3. Collaboration Diagram 사례    

 

728x90

댓글