Set the value of [year] column.

@param int $v new value
@return $this|\gossi\trixionary\model\Reference The current object (for fluent API support)
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;
    }
504629
public function setCity($v)
    {
        if ($v !== null) {
            $v = (string) $v;
        }

        if ($this->city !== $v) {
            $this->city = $v;
            $this->modifiedColumns[DealerVersionTableMap::CITY] = 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;
    }
1002156
public function setNbfinish($v)
    {
        if ($v !== null) {
            $v = (int) $v;
        }

        if ($this->nbfinish !== $v) {
            $this->nbfinish = $v;
            $this->modifiedColumns[RecordTableMap::COL_NBFINISH] = true;
        }

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

        if ($this->goldtime !== $v) {
            $this->goldtime = $v;
            $this->modifiedColumns[MapTableMap::COL_GOLDTIME] = 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;
    }
1193921
public function setObjectId($v)
    {
        if ($v !== null) {
            $v = (int) $v;
        }

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

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

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

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


        return $this;
    }
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;
    }
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;
    }
53161
public function setVersion($v)
    {
        if ($v !== null) {
            $v = (int) $v;
        }

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


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

        if ($this->position !== $v) {
            $this->position = $v;
            $this->modifiedColumns[LineageTableMap::COL_POSITION] = true;
        }

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

        if ($this->size !== $v) {
            $this->size = $v;
            $this->modifiedColumns[CategoryTableMap::COL_SIZE] = true;
        }

        return $this;
    }
1278328
public function year($value) {
        
        $this->setDate($value, $this->month, $this->day);
        
        return $this;
    }
669891
public function setSchool($v)
    {
        if ($v !== null) {
            $v = (string) $v;
        }

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

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

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

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

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

        if ($this->customer_id !== $v) {
            $this->customer_id = $v;
            $this->modifiedColumns[CustomerCustomerGroupTableMap::CUSTOMER_ID] = true;
        }

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


        return $this;
    }