id; } /** * @param $databoxId * @return $this */ public function setDataboxId($databoxId) { $this->databoxId = $databoxId; return $this; } /** * @return mixed */ public function getDataboxId() { return $this->databoxId; } /** * @param $recordId * @return $this */ public function setRecordId($recordId) { $this->recordId = $recordId; return $this; } /** * @return mixed */ public function getRecordId() { return $this->recordId; } /** * @param $work * @return $this */ public function setWork($work) { $this->work = $work; return $this; } /** * @return mixed */ public function getWork() { return $this->work; } /** * @param $workOn * @return $this */ public function setWorkOn($workOn) { $this->workOn = $workOn; return $this; } /** * @return mixed */ public function getWorkOn() { return $this->workOn; } /** * @return \DateTime */ public function getCreated() { return $this->created; } /** * @param \DateTime $published * @return $this */ public function setPublished(\DateTime $published) { $this->published = $published; return $this; } /** * @return mixed */ public function getPublished() { return $this->published; } /** * @param \DateTime $finished * @return $this */ public function setFinished(\DateTime $finished) { $this->finished = $finished; return $this; } /** * @return mixed */ public function getFinished() { return $this->finished; } /** * @param $status * @return $this */ public function setStatus($status) { $this->status = $status; return $this; } /** * @return mixed */ public function getStatus() { return $this->status; } public function getWorkName() { switch ($this->work) { case PhraseaTokens::MAKE_SUBDEF: return 'MAKE_SUBDEF'; case PhraseaTokens::WRITE_META_DOC: return 'WRITE_META_DOC'; case PhraseaTokens::WRITE_META_SUBDEF: return 'WRITE_META_SUBDEF'; default: return $this->work; } } }