Annotation Interface TargetIdProperty


@Retention(CLASS) @Target({FIELD,TYPE}) public @interface TargetIdProperty
Defines the property serving as the target ID of a ToOne. This allows exposing an explicit property, which may be convenient for other parsers/serializers (e.g. JSON).
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Name used in the database.
  • Element Details

    • value

      String value
      Name used in the database.