Class: Rddd::Aggregates::Root

Inherits:
Entity
  • Object
show all
Extended by:
Finders
Defined in:
lib/rddd/aggregates/root.rb

Overview

Domain model Entities (see Entity#initialize) are organized to clusters called Aggregates. Every Aggregate should have its Root. Aggregate Root should be only entity from Aggregate visible from outside to guarantee consistency of all operations performed on the given Aggregate.

Instance Attribute Summary

Attributes inherited from Entity

#id

Method Summary

Methods included from Finders

finder, repository

Methods inherited from Entity

#==, #initialize

Constructor Details

This class inherits a constructor from Rddd::Aggregates::Entity