Class RowDef

    • Constructor Detail

      • RowDef

        public RowDef()
      • RowDef

        public RowDef​(String label,
                      String... categories)
    • Method Detail

      • getLabel

        public String getLabel()
        Description copied from interface: Def
        Returns the label of this column/row def.
        Specified by:
        getLabel in interface Def
        Returns:
        the label
      • setLabel

        public void setLabel​(String label)
        Description copied from interface: Def
        Sets the label of this column/row def
        Specified by:
        setLabel in interface Def
        Parameters:
        label - the label to be used
      • getReportCategory

        public Optional<String> getReportCategory()
        Description copied from interface: Def
        Returns the report-category attribute of this column/row def.
        Specified by:
        getReportCategory in interface Def
        Returns:
        the report-category attribute
      • setReportCategory

        public void setReportCategory​(String reportCategory)
        Description copied from interface: Def
        Sets the report-category attribute of this column/row def
        Specified by:
        setReportCategory in interface Def
        Parameters:
        reportCategory - the report-category attribute to be used
      • getCategories

        public List<Category> getCategories()
        Description copied from interface: Def
        Returns the list of categories used by this column/row def.
        Specified by:
        getCategories in interface Def
        Returns:
        the list of categories
      • setCategories

        public void setCategories​(List<Category> categories)
      • addCategory

        public void addCategory​(Category category)
      • addCategory

        public void addCategory​(String category)
      • removeCategory

        public boolean removeCategory​(Category category)
      • getCategoryNames

        public Set<String> getCategoryNames()
        Description copied from interface: Def
        Returns a set of category names used by this column/row def.
        Specified by:
        getCategoryNames in interface Def
        Returns:
        the set of category names
      • containsCategory

        public boolean containsCategory​(String name)
        Description copied from interface: Def
        Checks whether this column/row def uses the given category.
        Specified by:
        containsCategory in interface Def
        Parameters:
        name - the nam eof the category to be checked
        Returns:
        true, if used by this column/row def, false otherwise
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object