Annotation Interface Reference
Meta-annotation to be used to annotate annotations that mark references to other objects.
- Author:
- Oliver Gierke, Jon Brisbin
-
Optional Element Summary
-
Element Details
-
value
Explicitly define the target type of the reference. Used in case the annotated property is not the target type but rather an identifier and/or if that identifier type is not uniquely identifying the target entity.- Returns:
- Default:
- java.lang.Class.class
-
to
Explicitly define the target type of the reference. Used in case the annotated property is not the target type but rather an identifier and/or if that identifier type is not uniquely identifying the target entity.- Returns:
- Default:
- java.lang.Class.class
-