@Documented @Target(value={TYPE,ANNOTATION_TYPE}) @Retention(value=RUNTIME) public @interface AggregateRoot
The use of this annotation is not mandatory for the framework. It allows setting an explicit type name for the Aggregate. Other than that, it's probably useful for developers.
public abstract String type
Copyright © 2010–2022. All rights reserved.