public interface AggregateRoot extends Identifiable
Usually it represents a single table, but can span several tables and can be used like document or similar data structure. Since every aggregate is also an entity, it has a unique identification represented by its URI.
DSL example:
module Todo {
aggregate Task {
timestamp startedAt;
timestamp? finishedAt;
int? priority;
List<Note> notes;
}
value Note {
date entered;
string remark;
}
}
getURI