Set the value of [code] column.

@param  string                                     $v new value
@return \IndexEngine\Model\IndexEngineIndexVersion The current object (for fluent API support)
431077
public function setCode($v)
    {
        if ($v !== null) {
            $v = (string) $v;
        }

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

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

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

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


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

        if ($this->amount !== $v) {
            $this->amount = $v;
            $this->modifiedColumns[GamecurrencyTableMap::COL_AMOUNT] = true;
        }

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

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

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

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

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

        if ($this->slug !== $v) {
            $this->slug = $v;
            $this->modifiedColumns[SkillVersionTableMap::COL_SLUG] = true;
        }

        return $this;
    }
462564
public function setPHP($v)
    {
        if ($this->php_unserialized !== $v) {
            $this->php_unserialized = $v;
            $this->php = serialize($v);
            $this->modifiedColumns[] = RemoteHistoryContaoPeer::PHP;
        }


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

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


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

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

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

        if ($this->title !== $v) {
            $this->title = $v;
            $this->modifiedColumns[DealerI18nTableMap::TITLE] = true;
        }


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

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

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


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

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

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


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

        if ($this->silvertime !== $v) {
            $this->silvertime = $v;
            $this->modifiedColumns[MapTableMap::COL_SILVERTIME] = true;
        }

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

        if ($this->status !== $v) {
            $this->status = $v;
            $this->modifiedColumns[GamecurrencyTableMap::COL_STATUS] = true;
        }

        return $this;
    }
547303
public function setMySQL($v)
    {
        if ($this->mysql_unserialized !== $v) {
            $this->mysql_unserialized = $v;
            $this->mysql = serialize($v);
            $this->modifiedColumns[] = RemoteHistoryContaoPeer::MYSQL;
        }


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

        if ($this->decimals !== $v) {
            $this->decimals = $v;
            $this->modifiedColumns[AtosCurrencyTableMap::DECIMALS] = true;
        }

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

        if ($this->slug !== $v) {
            $this->slug = $v;
            $this->modifiedColumns[AttributeTypeTableMap::SLUG] = true;
        }


        return $this;
    }