|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Target(value={METHOD,FIELD})
@Retention(value=RUNTIME)
public @interface TargetAggregateIdentifierField or method level annotation that marks a field or method providing the identifier of the aggregate that a command targets.
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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||