Interface Def

  • All Known Implementing Classes:
    ColumnDef, RowDef

    public interface Def
    Helper interface to handle similar column-def/row-def stuff.
    Author:
    Christian Pape
    • Method Detail

      • getLabel

        String getLabel()
        Returns the label of this column/row def.
        Returns:
        the label
      • getReportCategory

        Optional<String> getReportCategory()
        Returns the report-category attribute of this column/row def.
        Returns:
        the report-category attribute
      • getCategories

        List<Category> getCategories()
        Returns the list of categories used by this column/row def.
        Returns:
        the list of categories
      • getCategoryNames

        Set<String> getCategoryNames()
        Returns a set of category names used by this column/row def.
        Returns:
        the set of category names
      • setLabel

        void setLabel​(String label)
        Sets the label of this column/row def
        Parameters:
        label - the label to be used
      • setReportCategory

        void setReportCategory​(String reportCategory)
        Sets the report-category attribute of this column/row def
        Parameters:
        reportCategory - the report-category attribute to be used
      • containsCategory

        boolean containsCategory​(String name)
        Checks whether this column/row def uses the given category.
        Parameters:
        name - the nam eof the category to be checked
        Returns:
        true, if used by this column/row def, false otherwise