public function setId(int $objectId): int
    {
        if ($this->objectId !== 0) {
            throw new UnexpectedValueException('ObjectId property is immutable.');
        }

        $this->objectId = $objectId;
        $this->rId = $objectId;

        return $objectId;
    }