Annotation Interface Identity


@Retention(RUNTIME) @Target({FIELD,METHOD,ANNOTATION_TYPE}) @Documented @Stereotype(priority=0) public @interface Identity
Declares a field (or a getter) of a class to constitute the identity of the corresponding class. Primarily used in AggregateRoot and Entity types.
Since:
1.3
Author:
Oliver Drotbohm, Stephan Pirnbaum, Henning Schwentner
See Also: