@Retention(value=RUNTIME)
@Target(value={METHOD,FIELD,PARAMETER,ANNOTATION_TYPE})
@Documented
@Inherited
public @interface Id
Designates a field or method that is annotated with the Id of an entity. Typically not used
directly but instead mapped to via annotation such as javax.persistence.Id
.
- Since:
- 1.0
- Author:
- graemerocher