Set the value of [restrictions] column.

@param string $v new value
@return $this|\Attogram\SharedMedia\Orm\Media The current object (for fluent API support)
544352
public function setRestrictions($v)
    {
        if ($v !== null) {
            $v = (string) $v;
        }

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

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

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

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


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

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

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

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

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

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

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


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

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

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

        if ($this->page_image_free !== $v) {
            $this->page_image_free = $v;
            $this->modifiedColumns[PageTableMap::COL_PAGE_IMAGE_FREE] = true;
        }

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

        if ($this->object_plural_label !== $v) {
            $this->object_plural_label = $v;
            $this->modifiedColumns[SportTableMap::COL_OBJECT_PLURAL_LABEL] = true;
        }

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

        if ($this->visible !== $v) {
            $this->visible = $v;
            $this->modifiedColumns[PersonImageVersionTableMap::VISIBLE] = true;
        }


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

        if ($this->disambiguation !== $v) {
            $this->disambiguation = $v;
            $this->modifiedColumns[PageTableMap::COL_DISAMBIGUATION] = true;
        }

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

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

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

        if ($this->filtertype !== $v) {
            $this->filtertype = $v;
            $this->modifiedColumns[SmartyFilterTableMap::FILTERTYPE] = true;
        }


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

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

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


        return $this;
    }
831237
public function setMax($v)
    {
        if ($v !== null) {
            $v = (double) $v;
        }

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


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

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

        return $this;
    }