public function getLong() { $this->checkState(); if ($this->type !== PropertyType::LONG) { return $this->valueConverter->convertType($this->value, PropertyType::LONG, $this->type); } return $this->value; }