<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Software-Architecture on Debimate</title><link>https://debimate.jp/tags/software-architecture/</link><description>Recent content in Software-Architecture on Debimate</description><image><title>Debimate</title><url>https://debimate.jp/images/default-ogp.jpg</url><link>https://debimate.jp/images/default-ogp.jpg</link></image><generator>Hugo -- 0.161.1</generator><language>ja-JP</language><lastBuildDate>Thu, 06 Aug 2026 00:21:38 +0900</lastBuildDate><atom:link href="https://debimate.jp/tags/software-architecture/index.xml" rel="self" type="application/rss+xml"/><item><title>Value Object・Entity・Aggregate - DDD のモデル構成要素</title><link>https://debimate.jp/notes/software-architecture/value-object-entity-aggregate/</link><pubDate>Wed, 05 Aug 2026 00:00:00 +0000</pubDate><guid>https://debimate.jp/notes/software-architecture/value-object-entity-aggregate/</guid><description>&lt;p&gt;Value Object・Entity・Aggregate（集約）は、DDD（Domain-Driven Design、ドメイン駆動設計）でモデルを組み立てる時の構成要素です。Value Object は属性だけで決まる値、Entity は属性が変わっても同じ物として追跡する対象、Aggregate は不変条件を守るために、その 2 つをまとめた境界を指します。不変条件とは、そのオブジェクトが存在する間ずっと成り立っていなければならない規則です。例えば、EC サイトの注文には「代金引換で支払う注文は、明細の合計金額が引換の上限額を超えない」という規則が置かれます。「不変」が指すのは規則が成り立ち続ける事で、値が変わらない事ではありません。明細が増えて合計金額が変わっても、上限を超えた状態にしてはいけません。&lt;/p&gt;</description></item></channel></rss>