Annotation Interface OneToOne


@Documented @Value("null") @Retention(RUNTIME) @Target({FIELD,PARAMETER,ANNOTATION_TYPE}) public @interface OneToOne
Marks a field to have a one-to-one relationship.

This annotation also adds the @Transient and @Value("null") annotations to the field.