0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

ドメイン協力関係図・クラス図・オブジェクト図

0
Last updated at Posted at 2026-10-02

ドメイン協力関係図・クラス図・オブジェクト図に関して

ドメイン設計時に、使用される。

  1. ドメイン協力関係図 → 企画者の意図を具現化したもの、まだ開発段階ではない。ドローイングのような感じ
  2. クラス図 → 企画者の意図をもとに、開発者が本格的に設計するための図。Service,Logicなどクラスを分ける。
  3. オブジェクト図 → RunTimeの時に、どのクラスが具現化されて、各クラスのメモリはどのように依存しているのかを見るための図

ドメイン協力関係図

ユーザー
   │
   │ 会員登録を依頼
   ↓
会員サービス
   │
   ├─ 会員情報を登録
   ↓
会員リポジトリ
   │
   ↓
会員情報を保存

クラス図

MMember
  ↑
  │ 登録する
  │
MemberService
  ↑
  │ implements
  │
MemberServiceImpl
  │
  │ 使用する
  ↓
MemberRepository
  ↑
  │ implements
  │
MemoryMemberRepository

オブジェクト図

member
「田中 / tanaka@example.com」

        ↓ 登録

memberServiceImpl
        │
        ↓ 保存

memoryMemberRepository

実務の流れで考えると、

要件整理
 ↓
ドメイン協力関係図
 ↓
クラス図
 ↓
実装
 ↓
オブジェクト図で実行状態を確認
-> 使用領域と構成領域を分けて記載する。

本記事は、下記の講義を受講し、まとめた文章です。
https://www.inflearn.com/ja/course/스프링-핵심-원리-기본편/dashboard?cid=325969

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?