Package org.seedstack.business.domain
Annotation Type DomainAggregateRoot
-
@Documented @Retention(RUNTIME) @Target({TYPE,ANNOTATION_TYPE}) public @interface DomainAggregateRoot
Marks a type as an aggregate root. This is the minimal element to apply on a class to make the business framework recognize it as an aggregate root.For better semantics it is recommended to use the
AggregateRootinterface which is already annotated withDomainAggregateRoot.- See Also:
AggregateRoot