_categoryId = (int)$_categoryId; return $this; } public function getCategoryId() { return $this->_categoryId; } public function setCategoryName($_categoryName) { $this->_categoryName = (string)$_categoryName; return $this; } public function getCategoryName() { return $this->_categoryName; } public function setType($_type) { $this->_type = (string)$_type; return $this; } public function getType() { return $this->_type; } }