Set the value of [reference_id] column.

@param int $v new value
@return $this|\gossi\trixionary\model\Video The current object (for fluent API support)
2881
public function setReferenceId($v)
    {
        if ($v !== null) {
            $v = (int) $v;
        }

        if ($this->reference_id !== $v) {
            $this->reference_id = $v;
            $this->modifiedColumns[VideoTableMap::COL_REFERENCE_ID] = true;
        }

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

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

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

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


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

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


        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;
    }
181652
public function setPictureId($v)
    {
        if ($v !== null) {
            $v = (int) $v;
        }

        if ($this->picture_id !== $v) {
            $this->picture_id = $v;
            $this->modifiedColumns[SkillTableMap::COL_PICTURE_ID] = true;
        }

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

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

        if ($this->video_id !== $v) {
            $this->video_id = $v;
            $this->modifiedColumns[SkillTableMap::COL_VIDEO_ID] = true;
        }

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

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

        if ($this->en !== $v) {
            $this->en = $v;
            $this->modifiedColumns[] = CountryPeer::EN;
        }


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

        if ($this->replaycount !== $v) {
            $this->replaycount = $v;
            $this->modifiedColumns[MxmapTableMap::COL_REPLAYCOUNT] = true;
        }

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

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

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


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

        if ($this->userid !== $v) {
            $this->userid = $v;
            $this->modifiedColumns[MediaTableMap::COL_USERID] = true;
        }

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

        if ($this->de !== $v) {
            $this->de = $v;
            $this->modifiedColumns[] = CountryPeer::DE;
        }


        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;
    }
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;
    }
345849
public function setNote($v)
    {
        if ($v !== null) {
            $v = (string) $v;
        }

        if ($this->note !== $v) {
            $this->note = $v;
            $this->modifiedColumns[ReferenceTableMap::COL_NOTE] = true;
        }

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

        if ($this->provider_id !== $v) {
            $this->provider_id = $v;
            $this->modifiedColumns[VideoTableMap::COL_PROVIDER_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;
    }
1362273
public function setJournal($v)
    {
        if ($v !== null) {
            $v = (string) $v;
        }

        if ($this->journal !== $v) {
            $this->journal = $v;
            $this->modifiedColumns[ReferenceTableMap::COL_JOURNAL] = true;
        }

        return $this;
    }