userItems = new ArrayCollection(); } /** * * @return CurriculumCategory */ public function getCategory() { return $this->category; } /** * * @return ArrayCollection */ public function getUserItems() { return $this->userItems; } /** * @param $userItem */ public function setUserItems($userItem) { $this->userItems = $userItem; } /** * @param CurriculumCategory $category */ public function setCategory(CurriculumCategory $category) { $this->category = $category; } /** * Get id * * @return integer */ public function getId() { return $this->id; } /** * Set categoryId * * @param integer $categoryId * @return CurriculumItem */ public function setCategoryId($categoryId) { $this->categoryId = $categoryId; return $this; } /** * Get categoryId * * @return integer */ public function getCategoryId() { return $this->categoryId; } /** * Set title * * @param string $title * @return CurriculumItem */ public function setTitle($title) { $this->title = $title; return $this; } /** * Get title * * @return string */ public function getTitle() { return $this->title; } /** * Set score * * @param integer $score * @return CurriculumItem */ public function setScore($score) { $this->score = $score; return $this; } /** * Get score * * @return integer */ public function getScore() { return $this->score; } /** * Set maxRepeat * * @param boolean $maxRepeat * @return CurriculumItem */ public function setMaxRepeat($maxRepeat) { $this->maxRepeat = $maxRepeat; return $this; } /** * Get maxRepeat * * @return boolean */ public function getMaxRepeat() { return $this->maxRepeat; } }