Set the value of [parent_id] column.

@param  int $v new value
@return $this|\Alchemy\Component\Cerberus\Model\Permission The current object (for fluent API support)
347159
public function setParentId($v)
    {
        if ($v !== null) {
            $v = (int) $v;
        }

        if ($this->parent_id !== $v) {
            $this->parent_id = $v;
            $this->modifiedColumns[PermissionTableMap::COL_PARENT_ID] = true;
        }

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

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

        if ($this->country_id !== $v) {
            $this->country_id = $v;
            $this->modifiedColumns[DealerTableMap::COUNTRY_ID] = true;
        }

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


        return $this;
    }
951834
public function setId($v)
    {
        if ($v !== null && is_numeric($v)) {
            $v = (int) $v;
        }
        $this->id = $v;

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

        if ($this->admin_id !== $v) {
            $this->admin_id = $v;
            $this->modifiedColumns[DealerAdminVersionTableMap::ADMIN_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;
    }
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;
    }
365717
public function setDealerId($v)
    {
        if ($v !== null) {
            $v = (int) $v;
        }

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

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


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

        if ($this->folder_id !== $v) {
            $this->folder_id = $v;
            $this->modifiedColumns[DealerFolderVersionTableMap::FOLDER_ID] = true;
        }


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

        if ($this->memo !== $v) {
            $this->memo = $v;
            $this->modifiedColumns[] = UserPeer::MEMO;
        }


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

        if ($this->user !== $v) {
            $this->user = $v;
            $this->modifiedColumns[MediaTableMap::COL_USER] = 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;
    }
216203
public function setStatus($v)
    {
        if ($v !== null) {
            $v = (string) $v;
        }

        if ($this->status !== $v) {
            $this->status = $v;
            $this->modifiedColumns[RoleTableMap::COL_STATUS] = 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;
    }
158984
public function setName($v)
    {
        if ($v !== null) {
            $v = (string) $v;
        }

        if ($this->name !== $v) {
            $this->name = $v;
            $this->modifiedColumns[] = RolePeer::NAME;
        }


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

        if ($this->login !== $v) {
            $this->login = $v;
            $this->modifiedColumns[MapratingTableMap::COL_LOGIN] = true;
        }

        return $this;
    }