items = new \Doctrine\Common\Collections\ArrayCollection(); $this->itemcategorys = new \Doctrine\Common\Collections\ArrayCollection(); $this->alertcategorys = new \Doctrine\Common\Collections\ArrayCollection(); $this->pagewidgets = new \Doctrine\Common\Collections\ArrayCollection(); $this->widgets = new \Doctrine\Common\Collections\ArrayCollection(); $this->bookmarks = new \Doctrine\Common\Collections\ArrayCollection(); $this->groups = new ArrayCollection(); } /** * Get id. * * @return int */ public function getId() { return $this->id; } /** * Set label. * * @param string $label * * @return Icon */ public function setLabel($label) { $this->label = $label; return $this; } /** * Get label. * * @return string */ public function getLabel() { return $this->label; } /** * Set user. * * @param User $user * * @return Icon */ public function setUser(User $user = null) { $this->user = $user; return $this; } /** * Get user. * * @return User */ public function getUser() { return $this->user; } /** * Add item. * * @return Icon */ public function addItem(Item $item) { $this->items[] = $item; return $this; } /** * Remove item. */ public function removeItem(Item $item) { $this->items->removeElement($item); } /** * Get items. * * @return \Doctrine\Common\Collections\Collection */ public function getItems() { return $this->items; } /** * Add itemcategory. * * @return Icon */ public function addItemcategory(Itemcategory $itemcategory) { $this->itemcategorys[] = $itemcategory; return $this; } /** * Remove itemcategory. */ public function removeItemcategory(Itemcategory $itemcategory) { $this->itemcategorys->removeElement($itemcategory); } /** * Get itemcategorys. * * @return \Doctrine\Common\Collections\Collection */ public function getItemcategorys() { return $this->itemcategorys; } /** * Add alertcategory. * * @return Icon */ public function addAlertcategory(Alertcategory $alertcategory) { $this->alertcategorys[] = $alertcategory; return $this; } /** * Remove alertcategory. */ public function removeAlertcategory(Alertcategory $alertcategory) { $this->alertcategorys->removeElement($alertcategory); } /** * Get alertcategorys. * * @return \Doctrine\Common\Collections\Collection */ public function getAlertcategorys() { return $this->alertcategorys; } /** * Add pagewidget. * * @return Icon */ public function addPagewidget(Pagewidget $pagewidget) { $this->pagewidgets[] = $pagewidget; return $this; } /** * Remove pagewidget. */ public function removePagewidget(Pagewidget $pagewidget) { $this->pagewidgets->removeElement($pagewidget); } /** * Get pagewidgets. * * @return \Doctrine\Common\Collections\Collection */ public function getPagewidgets() { return $this->pagewidgets; } /** * Add widget. * * @return Icon */ public function addWidget(Widget $widget) { $this->widgets[] = $widget; return $this; } /** * Remove widget. */ public function removeWidget(Widget $widget) { $this->widgets->removeElement($widget); } /** * Get widgets. * * @return \Doctrine\Common\Collections\Collection */ public function getWidgets() { return $this->widgets; } /** * Add bookmark. * * @return Icon */ public function addBookmark(Bookmark $bookmark) { $this->bookmarks[] = $bookmark; return $this; } /** * Remove bookmark. */ public function removeBookmark(Bookmark $bookmark) { $this->bookmarks->removeElement($bookmark); } /** * Get bookmarks. * * @return \Doctrine\Common\Collections\Collection */ public function getBookmarks() { return $this->bookmarks; } /** * Add group. * * @return Icon */ public function addGroup(Group $group) { $this->groups[] = $group; return $this; } /** * Remove group. */ public function removeGroup(Group $group) { $this->groups->removeElement($group); } /** * Get groups. * * @return \Doctrine\Common\Collections\Collection */ public function getGroups() { return $this->groups; } /** * Set tags. * * @param string $tags * * @return Icon */ public function setTags($tags) { $this->tags = $tags; return $this; } /** * Get tags. * * @return string */ public function getTags() { return $this->tags; } }