Set the value of [contact_id] column.

@param      int $v new value
@return   \Dealer\Model\DealerContactInfoVersion The current object (for fluent API support)
974947
public function setContactId($v)
    {
        if ($v !== null) {
            $v = (int) $v;
        }

        if ($this->contact_id !== $v) {
            $this->contact_id = $v;
            $this->modifiedColumns[DealerContactInfoVersionTableMap::CONTACT_ID] = true;
        }


        return $this;
    }
967488
public function setUserId($v)
    {
        if ($v !== null && is_numeric($v)) {
            $v = (int) $v;
        }

        if ($this->user_id !== $v) {
            $this->user_id = $v;
            $this->modifiedColumns[] = UserRolePeer::USER_ID;
        }

        if ($this->aUser !== null && $this->aUser->getId() !== $v) {
            $this->aUser = null;
        }


        return $this;
    }
131501
public function setId($v)
    {
        if ($v !== null) {
            $v = (int) $v;
        }

        if ($this->id !== $v) {
            $this->id = $v;
            $this->modifiedColumns[IndexEngineIndexVersionTableMap::ID] = true;
        }

        if ($this->aIndexEngineIndex !== null && $this->aIndexEngineIndex->getId() !== $v) {
            $this->aIndexEngineIndex = null;
        }

        return $this;
    }
88520
public function setDealerContactInfoVersions($v)
    {
        if ($this->dealer_contact_info_versions_unserialized !== $v) {
            $this->dealer_contact_info_versions_unserialized = $v;
            $this->dealer_contact_info_versions = '| ' . implode(' | ', $v) . ' |';
            $this->modifiedColumns[DealerContactVersionTableMap::DEALER_CONTACT_INFO_VERSIONS] = true;
        }


        return $this;
    }
555310
public function setContactId($contactId)
    {
        if ($contactId instanceof Lead) {
            $this->setContact($contactId);
        } elseif (\is_int($contactId)) {
            $this->contactId = $contactId;
        } else {
            throw new \InvalidArgumentException(
                '$contact must be an integer or instance of "\\Mautic\\LeadBundle\\Entity\\Lead"'
            );
        }

        return $this;
    }
743915
public function setPersonId($v)
    {
        if ($v !== null) {
            $v = (int) $v;
        }

        if ($this->person_id !== $v) {
            $this->person_id = $v;
            $this->modifiedColumns[PersonImageTableMap::PERSON_ID] = true;
        }

        if ($this->aPerson !== null && $this->aPerson->getId() !== $v) {
            $this->aPerson = null;
        }


        return $this;
    }
747356
public function setPersonId($v)
    {
        if ($v !== null) {
            $v = (int) $v;
        }

        if ($this->person_id !== $v) {
            $this->person_id = $v;
            $this->modifiedColumns[PersonFunctionLinkVersionTableMap::PERSON_ID] = true;
        }


        return $this;
    }
700278
public function setId($v)
    {
        if ($v !== null) {
            $v = (int) $v;
        }

        if ($this->id !== $v) {
            $this->id = $v;
            $this->modifiedColumns[PersonI18nTableMap::ID] = true;
        }

        if ($this->aPerson !== null && $this->aPerson->getId() !== $v) {
            $this->aPerson = null;
        }


        return $this;
    }
9472
public function setFunctionIdVersion($v)
    {
        if ($v !== null) {
            $v = (int) $v;
        }

        if ($this->function_id_version !== $v) {
            $this->function_id_version = $v;
            $this->modifiedColumns[PersonFunctionLinkVersionTableMap::FUNCTION_ID_VERSION] = true;
        }


        return $this;
    }
984051
public function setAttributeId($v)
    {
        if ($v !== null) {
            $v = (int) $v;
        }

        if ($this->attribute_id !== $v) {
            $this->attribute_id = $v;
            $this->modifiedColumns[AttributeAttributeTypeTableMap::ATTRIBUTE_ID] = true;
        }

        if ($this->aAttribute !== null && $this->aAttribute->getId() !== $v) {
            $this->aAttribute = null;
        }


        return $this;
    }
695754
public function setSportId($v)
    {
        if ($v !== null) {
            $v = (int) $v;
        }

        if ($this->sport_id !== $v) {
            $this->sport_id = $v;
            $this->modifiedColumns[ObjectTableMap::COL_SPORT_ID] = true;
        }

        if ($this->aSport !== null && $this->aSport->getId() !== $v) {
            $this->aSport = null;
        }

        return $this;
    }
163732
public function setType($v)
    {
        if ($v !== null) {
            $v = (string) $v;
        }

        if ($this->type !== $v) {
            $this->type = $v;
            $this->modifiedColumns[] = RemoteAppPeer::TYPE;
        }


        return $this;
    }
571019
public function setId($v)
    {
        if ($v !== null) {
            $v = (int) $v;
        }

        if ($this->id !== $v) {
            $this->id = $v;
            $this->modifiedColumns[DealerProductVersionTableMap::ID] = true;
        }

        if ($this->aDealerProduct !== null && $this->aDealerProduct->getId() !== $v) {
            $this->aDealerProduct = null;
        }


        return $this;
    }
1067138
public function setContactIdVersion($v)
    {
        if ($v !== null) {
            $v = (int) $v;
        }

        if ($this->contact_id_version !== $v) {
            $this->contact_id_version = $v;
            $this->modifiedColumns[DealerContactInfoVersionTableMap::CONTACT_ID_VERSION] = true;
        }


        return $this;
    }
227823
public function setRemoteAppId($v)
    {
        if ($v !== null && is_numeric($v)) {
            $v = (int) $v;
        }

        if ($this->remote_app_id !== $v) {
            $this->remote_app_id = $v;
            $this->modifiedColumns[] = RemoteHistoryContaoPeer::REMOTE_APP_ID;
        }

        if ($this->aRemoteApp !== null && $this->aRemoteApp->getId() !== $v) {
            $this->aRemoteApp = null;
        }


        return $this;
    }
806976
public function setVersion($v)
    {
        if ($v !== null) {
            $v = (string) $v;
        }

        if ($this->version !== $v) {
            $this->version = $v;
            $this->modifiedColumns[] = RemoteHistoryContaoPeer::VERSION;
        }


        return $this;
    }
750518
public function setId($v)
    {
        if ($v !== null) {
            $v = (int) $v;
        }

        if ($this->id !== $v) {
            $this->id = $v;
            $this->modifiedColumns[DealerShedulesVersionTableMap::ID] = true;
        }

        if ($this->aDealerShedules !== null && $this->aDealerShedules->getId() !== $v) {
            $this->aDealerShedules = null;
        }


        return $this;
    }