Interface ExportRow


  • public interface ExportRow
    • Method Detail

      • getTemplate

        SheetTemplate getTemplate()
        Returns:
        The associated template.
      • getSheetName

        String getSheetName()
        Returns:
        The name of the sheet for which row is generated.
      • getNumber

        int getNumber()
        Returns the 1-based number of this row.

        In a sheet, the first row is numbered 2 whether the used format has headers or not.
        A header row numbered 1 is always considered, even if it does not exist with the used format.

        Returns:
        The 1-based number of this row.
      • setData

        void setData​(String name,
                     Object data)
        Set the data associated to a column
        Parameters:
        name - The column name.
        data - The data.
        Throws:
        IllegalArgumentException - When name or data is invalid.
      • setData

        <T> void setData​(ColumnTemplate<T> column,
                         T data)
        Set the data associated to a column
        Type Parameters:
        T - The column data type.
        Parameters:
        column - The column.
        data - The data.
        Throws:
        IllegalArgumentException - When name or data is invalid.
      • getIssues

        List<cdc.issues.Issue> getIssues()
        Returns:
        The issues associated to this row.
      • containsKey

        boolean containsKey​(String name)
        Parameters:
        name - The column name.
        Returns:
        true if a value is associated to name.
      • hasValidValue

        boolean hasValidValue​(String name)
      • getValueAsLong

        Long getValueAsLong​(String name)
      • getValueAsDouble

        Double getValueAsDouble​(String name)