values = new ArrayCollection(); } public function getId(): ?int { return $this->id; } /** * @return string [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 [description] */ public function getVariableName(): ?string { return $this->variableName; } /** * @param string $variableName [description] * * @return self [description] */ public function setVariableName(string $variableName): self { $this->variableName = $variableName; return $this; } /** * @return Variable [description] */ public function getVariable(): ?Variable { return $this->variable; } /** * @param Variable $variable [description] * * @return self [description] */ public function setVariable(?Variable $variable): self { $this->variable = $variable; return $this; } /** * @return VariableProject [description] */ public function getVariableProject(): ?VariableProject { return $this->variableProject; } /** * @param VariableProject $variable [description] * * @return self [description] */ public function setVariableProject(?VariableProject $variableProject): self { $this->variableProject = $variableProject; return $this; } /** * @return string [description] */ public function getFieldType(): ?string { return $this->fieldType; } /** * @param string $fieldType [description] * * @return self [description] */ public function setFieldType(string $fieldType): self { $this->fieldType = $fieldType; return $this; } /** * @return string [description] */ public function getListValue(): ?string { return $this->listValue; } /** * @param string $listValue [description] * * @return self [description] */ public function setListValue(string $listValue): self { $this->listValue = $listValue; return $this; } /** * @return int [description] */ public function getPosition(): ?string { return $this->position; } /** * @param int $position [description] * * @return self [description] */ public function setPosition(int $position): self { $this->position = $position; return $this; } /** * @return Collection|Value[] */ public function getValues(): Collection { return $this->values; } /** * @param Value $value [description] * * @return self [description] */ public function addExport(Value $value): self { if (!$this->values->contains($value)) { $this->values[] = $value; $value->setTemplateInput($this); } return $this; } /** * @param Value $export [description] * * @return self [description] */ public function removeValue(Value $value): self { if ($this->values->contains($value)) { $this->values->removeElement($value); // set the owning side to null (unless already changed) if ($value->getTemplateInput() === $this) { $value->setTemplateInput(null); } } return $this; } }