name; } /** * @return int */ public function getId() { return $this->id; } /** * @param string $name * * @return Action */ public function setName($name) { $this->name = $name; return $this; } /** * @return string */ public function getName() { return $this->name; } /** * @param string $event * * @return Action */ public function setEvent($event) { $this->event = $event; return $this; } /** * @return string */ public function getEvent() { return $this->event; } /** * @param text $template * * @return Action */ public function setTemplate($template) { $this->template = $template; return $this; } /** * @return text */ public function getTemplate() { return $this->template; } /** * Set workflowName * * @param string $workflowName * * @return Action */ public function setWorkflowName($workflowName) { $this->workflowName = $workflowName; return $this; } /** * Get workflowName * * @return string */ public function getWorkflowName() { return $this->workflowName; } /** * Set objectClass * * @param string $objectClass * * @return Action */ public function setObjectClass($objectClass) { $this->objectClass = $objectClass; return $this; } /** * Get objectClass * * @return string */ public function getObjectClass() { return $this->objectClass; } /** * Set eventName * * @param string $eventName * * @return Action */ public function setEventName($eventName) { $this->eventName = $eventName; return $this; } /** * Get eventName * * @return string */ public function getEventName() { return $this->eventName; } /** * @return Doctrine2WorkFlowAction */ public function getDoctrine2WorkFlowActions() { return $this->doctrine2WorkFlowActions; } /** * @param Doctrine2WorkFlowAction $doctrine2WorkFlowAction * * @return Workflow */ public function addDoctrine2WorkFlowAction($doctrine2WorkFlowAction) { $this->doctrine2WorkFlowActions[] = $doctrine2WorkFlowAction; return $this; } /** * @param Doctrine2WorkFlowAction $doctrine2WorkFlowAction * * @return Workflow */ public function removeDoctrine2WorkFlowAction($doctrine2WorkFlowAction) { $this->doctrine2WorkFlowActions->removeElement($doctrine2WorkFlowAction); return $this; } /** * Set tenancyId * * @param integer $tenancyId * * @return Action */ public function setTenancyId($tenancyId) { $this->tenancyId = $tenancyId; return $this; } /** * Get tenancyId * * @return integer */ public function getTenancyId() { return $this->tenancyId; } }