Annotation Type ForeignKey


  • @Target(FIELD)
    @Retention(RUNTIME)
    public @interface ForeignKey
    Marks a field as the correspondent to a foreign key in the database. The parameter value has to match the corresponding ForeignKeyObject parameter value.
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      int value  
    • Element Detail

      • value

        int value