exports = new ArrayCollection(); $this->elementTypes = new ArrayCollection(); $this->projectDocuments = 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 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 getProductsImport(): ?bool { return $this->productsImport; } /** * @param bool $productsImport [description] * * @return self [description] */ public function setProductsImport(bool $productsImport): self { $this->productsImport = $productsImport; return $this; } /** * @return bool|null [description] */ public function getDraft(): ?bool { return $this->draft; } /** * @param bool $draft [description] * * @return self [description] */ public function setDraft(bool $draft): self { $this->draft = $draft; return $this; } public function getCurrentStep(): ?int { return $this->currentStep; } /** * @param bool $step [description] * * @return self [description] */ public function setCurrentStep(int $currentStep): self { $this->currentStep = $currentStep; return $this; } /** * @return bool|null [description] */ public function getArchiving(): ?bool { return $this->archiving; } /** * @param bool $archiving [description] * * @return self [description] */ public function setArchiving(bool $archiving): self { $this->archiving = $archiving; return $this; } /** * @return Collection|Exports[] */ public function getExports(): Collection { return $this->exports; } /** * @param Exports $export [description] * * @return self [description] */ public function addExport(Exports $export): self { if (!$this->exports->contains($export)) { $this->exports[] = $export; $export->setProject($this); } return $this; } /** * @param Exports $export [description] * * @return self [description] */ public function removeExport(Exports $export): self { if ($this->exports->contains($export)) { $this->exports->removeElement($export); // set the owning side to null (unless already changed) if ($export->getProject() === $this) { $export->setProject(null); } } return $this; } /** * @return Collection|ElementType[] */ public function getElementTypes(): Collection { return $this->elementTypes; } /** * @param ElementType $elementType [description] * * @return self [description] */ public function addElementType(ElementType $elementType): self { if (!$this->elementTypes->contains($elementType)) { $this->elementTypes[] = $elementType; $elementType->setProject($this); } return $this; } /** * @param ElementType $elementType [description] * * @return self [description] */ public function removeElementType(ElementType $elementType): self { if ($this->elementTypes->contains($elementType)) { $this->elementTypes->removeElement($elementType); // set the owning side to null (unless already changed) if ($elementType->getProject() === $this) { $elementType->setProject(null); } } 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 Collection|GroupProject[] */ public function getGroupProject(): Collection { return $this->groupProjects; } /** * @param GroupProject $groupProject [description] * * @return self [description] */ public function addGroupProject(GroupProject $groupProject): self { if (!$this->groupProjects->contains($groupProject)) { $this->groupProjects[] = $groupProject; $groupProject->setProject($this); } return $this; } /** * @param GroupProject $groupProject [description] * * @return self [description] */ public function removeGroupProject(GroupProject $groupProject): self { if ($this->groupProjects->contains($groupProject)) { $this->groupProjects->removeElement($groupProject); } return $this; } /** * @return int */ public function getIdUser(): int { return $this->idUser; } /** * @param int $idUser * * @return self */ public function setIdUser(int $idUser): self { $this->idUser = $idUser; return $this; } /** * @return int|null */ public function getIdOwnergroup(): ?int { return $this->idOwnerGroup; } /** * @param int|null $idOwnerGroup * * @return self */ public function setIdOwnerGroup(?int $idOwnerGroup): self { $this->idOwnerGroup = $idOwnerGroup; return $this; } /** * @return Collection|ProjectDocument[] */ public function getProjectDocuments(): Collection { return $this->projectDocuments; } /** * @param ProjectDocument $projectDocument [description] * * @return self [description] */ public function addProjectDocuments(ProjectDocument $projectDocument): self { if (!$this->projectDocuments->contains($projectDocument)) { $this->projectDocuments[] = $projectDocument; $projectDocument->setProject($this); } return $this; } /** * @param ProjectDocuments $projectDocument [description] * * @return self [description] */ public function removeProjectDocuments(ProjectDocument $projectDocument): self { if ($this->projectDocuments->contains($projectDocument)) { $this->projectDocuments->removeElement($projectDocument); // set the owning side to null (unless already changed) if ($projectDocument->getProject() === $this) { $projectDocument->setProject(null); } } return $this; } /** * @return Collection|Flux[] */ public function getFlux(): Collection { return $this->flux; } /** * @param Flux $aggre [description] * * @return self [description] */ public function addFlux(Flux $aggre): self { if (!$this->flux->contains($aggre)) { $this->flux[] = $aggre; $aggre->setProject($this); } return $this; } /** * @param Flux $project [description] * * @return self [description] */ public function removeFlux(Flux $aggre): self { if ($this->flux->contains($aggre)) { $this->flux->removeElement($aggre); // set the owning side to null (unless already changed) if ($aggre->getProject() === $this) { $aggre->setProject(null); } } return $this; } }