Annotation Type ExcelCell


  • @Retention(RUNTIME)
    @Target(FIELD)
    @Documented
    public @interface ExcelCell
    Indicates that a field declaration contains excel metadata. Created by hakan on 17/01/2017.
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      int value
      Specifies the column index where the corresponding value is mapped from the excel data
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      boolean mandatoryCell
      Specifies whether the cell value of the header is required in each row.
      boolean mandatoryHeader
      Specifies whether the header is required or not.
    • Element Detail

      • value

        int value
        Specifies the column index where the corresponding value is mapped from the excel data
        Returns:
        column index
      • mandatoryHeader

        boolean mandatoryHeader
        Specifies whether the header is required or not.
        Returns:
        mandatory header signal. Default is false.
        Default:
        false
      • mandatoryCell

        boolean mandatoryCell
        Specifies whether the cell value of the header is required in each row.
        Returns:
        mandatory cell signal. Default is false.
        Default:
        false