Annotation Type ForeignKey


@Target({TYPE,METHOD,FIELD}) @Retention(RUNTIME) public @interface ForeignKey
Foreign key definition.
Since:
0.4.0
Author:
Abe White
  • Element Details

    • name

      String name
      Default:
      ""
    • enabled

      boolean enabled
      Default:
      true
    • deferred

      boolean deferred
      Default:
      false
    • deleteAction

      ForeignKeyAction deleteAction
      Default:
      RESTRICT
    • updateAction

      ForeignKeyAction updateAction
      Default:
      RESTRICT
    • columnNames

      String[] columnNames
      Default:
      {}
    • specified

      boolean specified
      Default:
      true
    • implicit

      boolean implicit
      Default:
      false