public interface AggregateRoot extends Identifiable
Usually it represents a single table, but can span several tables and can be used like a document or a 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