getID(); } /** * @return string */ public function getUnit(): ?string { return $this->unit; } /** * @param string $unit * @return MeasurementUnit */ public function setUnit(?string $unit): MeasurementUnit { $this->unit = $unit; return $this; } /** * @return bool */ public function isInteger(): bool { return $this->is_integer; } /** * @param bool $isInteger * @return MeasurementUnit */ public function setIsInteger(bool $isInteger): MeasurementUnit { $this->is_integer = $isInteger; return $this; } /** * @return bool */ public function isUseSIPrefix(): bool { return $this->use_si_prefix; } /** * @param bool $usesSIPrefixes * @return MeasurementUnit */ public function setUseSIPrefix(bool $usesSIPrefixes): MeasurementUnit { $this->use_si_prefix = $usesSIPrefixes; return $this; } }