templates = new ArrayCollection(); $this->elementValues = new ArrayCollection(); $this->elementMedias = new ArrayCollection(); $this->exportTemplateOptions = new ArrayCollection(); $this->socialPosts = new ArrayCollection(); } /** * @return int|null [description] */ public function getId(): ?int { return $this->id; } /** * @return string|null [description] */ public function getName(): ?string { return $this->name; } /** * @param string $name [description] * * @return self [description] */ public function setName(string $name): self { $this->name = $name; return $this; } /** * @return int|null [description] */ public function getExportType(): ?int { return $this->exportType; } /** * @param int $exportType [description] * * @return self [description] */ public function setExportType(?int $exportType): self { $this->exportType = $exportType; return $this; } /** * @return string|null [description] */ public function getDescription(): ?string { return $this->description; } /** * @param string $description [description] * * @return self [description] */ public function setDescription(?string $description): self { $this->description = $description; return $this; } /** * @return bool|null [description] */ public function getDeleted(): ?bool { return $this->deleted; } /** * @param bool $deleted [description] * * @return self [description] */ public function setDeleted(?bool $deleted): self { $this->deleted = $deleted; return $this; } /** * @return Project|null [description] */ public function getProject(): ?Project { return $this->project; } /** * @param Project $project [description] * * @return self [description] */ public function setProject(?Project $project): self { $this->project = $project; return $this; } /** * @return Collection|ElementTypesTemplates[] */ public function getTemplates(): Collection { return $this->templates; } /** * @param ElementTypesTemplates $template [description] * * @return self [description] */ public function addTemplate(ElementTypesTemplates $template): self { if (!$this->templates->contains($template)) { $this->templates[] = $template; $template->setExport($this); } return $this; } /** * @param ElementTypesTemplates $template [description] * * @return self [description] */ public function removeTemplate(ElementTypesTemplates $template): self { if ($this->templates->contains($template)) { $this->templates->removeElement($template); // set the owning side to null (unless already changed) if ($template->getExport() === $this) { $template->setExport(null); } } return $this; } /** * @return WorkflowProject|null [description] */ public function getWorkflowProjects(): ?WorkflowProject { return $this->workflowProjects; } /** * @param WorkflowProject $workflowProjects [description] * * @return self [description] */ public function setWorkflowProjects(?WorkflowProject $workflowProjects): self { $this->workflowProjects = $workflowProjects; return $this; } /** * @return Collection|Value[] */ public function getElementValues(): Collection { return $this->elementValues; } /** * @param Value $elementValue [description] * * @return self [description] */ public function addElementValue(Value $elementValue): self { if (!$this->elementValues->contains($elementValue)) { $this->elementValues[] = $elementValue; $elementValue->setExport($this); } return $this; } /** * @param Value $elementValue [description] * * @return self [description] */ public function removeElementValue(Value $elementValue): self { if ($this->elementValues->contains($elementValue)) { $this->elementValues->removeElement($elementValue); // set the owning side to null (unless already changed) if ($elementValue->getExport() === $this) { $elementValue->setExport(null); } } return $this; } /** * @return Collection|ElementMedia[] */ public function getElementMedias(): Collection { return $this->elementMedias; } /** * @param ElementMedia $elementMedias [description] * * @return self [description] */ public function addElementMedias(ElementMedia $elementMedias): self { if (!$this->elementMedias->contains($elementMedias)) { $this->elementMedias[] = $elementMedias; $elementMedias->setExport($this); } return $this; } /** * @param ElementMedia $elementMedias [description] * * @return self [description] */ public function removeElementMedias(ElementMedia $elementMedias): self { if ($this->elementMedias->contains($elementMedias)) { $this->elementMedias->removeElement($elementMedias); // set the owning side to null (unless already changed) if ($elementMedias->getExport() === $this) { $elementMedias->setExport(null); } } return $this; } /** * @return Collection|ExportTemplateOption[] */ public function getExportTemplateOptions(): Collection { return $this->exportTemplateOptions; } /** * @param ExportTemplateOption $exportTemplateOptions [description] * * @return self [description] */ public function addExportTemplateOptions(ExportTemplateOption $exportTemplateOptions): self { if (!$this->exportTemplateOptions->contains($exportTemplateOptions)) { $this->exportTemplateOptions[] = $exportTemplateOptions; $exportTemplateOptions->setExport($this); } return $this; } /** * @param ExportTemplateOption $exportTemplateOptions [description] * * @return self [description] */ public function removeExportTemplateOptions(ExportTemplateOption $exportTemplateOptions): self { if ($this->exportTemplateOptions->contains($exportTemplateOptions)) { $this->exportTemplateOptions->removeElement($exportTemplateOptions); // set the owning side to null (unless already changed) if ($exportTemplateOptions->getExport() === $this) { $exportTemplateOptions->setExport(null); } } return $this; } /** * @return Collection|SocialPost[] */ public function getSocialPost(): Collection { return $this->socialPosts; } /** * @param SocialPost $socialPost [description] * * @return self [description] */ public function addSocialPosts(SocialPost $socialPost): self { if (!$this->socialPosts->contains($socialPost)) { $this->socialPosts[] = $socialPost; } return $this; } /** * @param SocialPost $socialPost [description] * * @return self [description] */ public function removeSocialPosts(SocialPost $socialPost): self { if ($this->socialPosts->contains($socialPost)) { $this->socialPosts->removeElement($socialPost); } return $this; } /** * @return Collection|VersionExport[] */ public function getVersions(): Collection { return $this->versions; } /** * @param VersionExport $version [description] * * @return self [description] */ public function addVersion(VersionExport $version): self { if (!$this->versions->contains($version)) { $this->versions[] = $version; } return $this; } /** * @param VersionExport $version [description] * * @return self [description] */ public function removeVersion(VersionExport $version): self { if ($this->versions->contains($version)) { $this->versions->removeElement($version); } return $this; } /** * @return Cdf|null [description] */ public function getCdf(): ?Cdf { return $this->cdf; } /** * @param Cdf $cdf [description] * * @return self [description] */ public function setCdf(?Cdf $cdf): self { $this->cdf = $cdf; return $this; } /** * @return string|null [description] */ public function getCanal(): ?string { return $this->canal; } /** * @param string $canal [description] * * @return self [description] */ public function setCanal(?string $canal): self { $this->canal = $canal; return $this; } /** * @return Flux|null */ public function getFlux(): ?Flux { return $this->flux; } /** * @param Flux|null $flux * * @return self */ public function setFlux(?Flux $flux): self { $this->flux = $flux; return $this; } }