Annotation Type Column


  • @Target(FIELD)
    @Retention(RUNTIME)
    public @interface Column
    Column is an annotation for a field that corresponds with a column in a table
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.String name
      the name of the column as it is stored in the database this field is mandatory because it helps the library to identify the field and it's relative column in the database this column name must be provided exactly how to it's spelled in the database
    • Element Detail

      • name

        java.lang.String name
        the name of the column as it is stored in the database this field is mandatory because it helps the library to identify the field and it's relative column in the database this column name must be provided exactly how to it's spelled in the database
        Returns:
        a string that represents the name of the column