Class DescriptionInfoWithCategories

    • Field Detail

      • categoriesList

        protected Set<CategoryInfo> categoriesList
        Collection of Categories
    • Constructor Detail

      • DescriptionInfoWithCategories

        public DescriptionInfoWithCategories()
      • DescriptionInfoWithCategories

        public DescriptionInfoWithCategories​(String id,
                                             String guid,
                                             String name,
                                             String desc)
        Parameters:
        id -
        name -
        desc -
    • Method Detail

      • getCategoriesList

        public Set<CategoryInfo> getCategoriesList()
        Returns:
        the categoriesList
      • setCategoriesList

        public void setCategoriesList​(Set<CategoryInfo> categoriesList)
        Parameters:
        categoriesList - the categoriesList to set
      • addCategoryInfo

        public boolean addCategoryInfo​(CategoryInfo categoryInfo)
        Adds new categoryInfo to this container's collection
        Parameters:
        categoryInfo - information about this category
        Returns:
        true if it was added, false if not (e.g. it was existing there already).