Annotation Type ForeignKeyPath


@Target(FIELD)
@Retention(RUNTIME)
public @interface ForeignKeyPath
This annotation is used to indicate that only a specific column of a table is supposed to be joined when executing the query. It must be used in conjunction with the ForeignKeyEntity attribute.
Author:
Collin Alpert
  • Element Details

    • value

      String value
      Returns:
      The name of the column on the table which will be joined.
    • foreignKeyClass

      Class<? extends BaseEntity> foreignKeyClass
      Returns:
      The class which represents the table which will be joined.