id; } public function getLayer(): ?GeographicalUnitLayer { return $this->layer; } public function getUnitName(): ?string { return $this->unitName; } public function setLayer(?GeographicalUnitLayer $layer): GeographicalUnit { $this->layer = $layer; return $this; } public function setUnitName(?string $unitName): self { $this->unitName = $unitName; return $this; } public function setUnitRefId(string $unitRefId): GeographicalUnit { $this->unitRefId = $unitRefId; return $this; } protected function setId(int $id): self { $this->id = $id; return $this; } }