@Target(value={METHOD,FIELD,ANNOTATION_TYPE}) @Retention(value=RUNTIME) public @interface TargetAggregateIdentifier
If placed on a method, that method must contain no parameters. The return value will be used as the Aggregate Identifier.
If placed on a field, the field's value will be converted into an AggregateIdentifier instance identical to how a method's return value is converted.
Copyright © 2010–2022. All rights reserved.