Sets the User Group Type Id attribute value.
@param int $type_id New value for attribute
@return CNabuDataObject Returns self instance to grant chained setters call.
334578
public function setTypeId(int $type_id) : CNabuDataObject
    {
        if ($type_id === null) {
            throw new ENabuCoreException(
                    ENabuCoreException::ERROR_NULL_VALUE_NOT_ALLOWED_IN,
                    array("\$type_id")
            );
        }
        $this->setValue('nb_user_group_type_id', $type_id);
        
        return $this;
    }
631241
public function setClusterGroupId(int $nb_cluster_group_id) : CNabuDataObject
    {
        if ($nb_cluster_group_id === null) {
            throw new ENabuCoreException(
                    ENabuCoreException::ERROR_NULL_VALUE_NOT_ALLOWED_IN,
                    array("\$nb_cluster_group_id")
            );
        }
        $this->setValue('nb_cluster_group_id', $nb_cluster_group_id);
        
        return $this;
    }
1195056
public function setUserGroupId(int $nb_user_group_id) : CNabuDataObject
    {
        if ($nb_user_group_id === null) {
            throw new ENabuCoreException(
                    ENabuCoreException::ERROR_NULL_VALUE_NOT_ALLOWED_IN,
                    array("\$nb_user_group_id")
            );
        }
        $this->setValue('nb_user_group_id', $nb_user_group_id);
        
        return $this;
    }
483836
public function setCommerceProductCategoryId(int $nb_commerce_product_category_id) : CNabuDataObject
    {
        if ($nb_commerce_product_category_id === null) {
            throw new ENabuCoreException(
                    ENabuCoreException::ERROR_NULL_VALUE_NOT_ALLOWED_IN,
                    array("\$nb_commerce_product_category_id")
            );
        }
        $this->setValue('nb_commerce_product_category_id', $nb_commerce_product_category_id);
        
        return $this;
    }
953183
public S idColumnType(String idColumnType) {
      attributes.attribute(ID_COLUMN_TYPE).set(idColumnType);
      return self();
   }
801331
public function setTypeId($typeId)
    {
        if (!in_array($typeId, array(self::SEASON_PDF_GENERATION_TYPE, self::AREA_PDF_GENERATION_TYPE))) {
            throw new \InvalidArgumentException("Invalid typeId");
        }
        $this->typeId = $typeId;

        return $this;
    }
528421
public function setTypesGroup($types, $attr = null)
    {
        if (! is_array($types))
            $types = [$types => $attr];

        foreach ($types as $type => $attrList) {
            if (! is_array($attrList))
                $attrList = [$attrList];

            foreach ($attrList as $attr)
                $this->inputType[$attr] = $type;
        }

        return $this;
    }
65644
@JRubyMethod(name = "type_id=")
    public static IRubyObject set_type_id(IRubyObject self, IRubyObject type_id) {
        org.yecht.Node node = (org.yecht.Node)self.dataGetStructChecked();
        if(!type_id.isNil()) {
            node.type_id = type_id.convertToString().toString();
        }
        ((RubyObject)self).fastSetInstanceVariable("@type_id", type_id);
        return type_id;
    }
400853
public function setPageType(\Concrete\Core\Page\Type\Type $type = null)
    {
        $ptID = 0;
        if (is_object($type)) {
            $ptID = $type->getPageTypeID();
        }
        $db = Database::connection();
        $db->executeQuery('update Pages set ptID = ? where cID = ?', [$ptID, $this->cID]);
        $this->ptID = $ptID;
    }
1096729
protected void addType(final Long _typeId)
    {
        if (!this.types.contains(_typeId)) {
            this.types.add(_typeId);
            setDirty();
        }
    }
530983
public function set_object_type( $object_type ) {
		if ( ! in_array( $object_type, $supported = [ 'user', 'comment', 'term', 'post' ] ) ) {
			// @codingStandardsIgnoreLine
			_doing_it_wrong( __FUNCTION__, 'The object type must be one of: ' . implode( ', ', $supported ), null );
		}

		$this->object_type = $object_type;

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

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

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


        return $this;
    }
894818
public function setCustomerId(int $nb_customer_id) : CNabuDataObject
    {
        if ($nb_customer_id === null) {
            throw new ENabuCoreException(
                    ENabuCoreException::ERROR_NULL_VALUE_NOT_ALLOWED_IN,
                    array("\$nb_customer_id")
            );
        }
        $this->setValue('nb_customer_id', $nb_customer_id);
        
        return $this;
    }
1349219
protected function setCategoryGroup($category_group_id)
    {
        $this->data_category_group = $this->category_group->get($category_group_id);

        if (empty($this->data_category_group)) {
            $this->outputHttpStatus(404);
        }
    }
1063833
public function setCommerceId(int $nb_commerce_id) : CNabuDataObject
    {
        if ($nb_commerce_id === null) {
            throw new ENabuCoreException(
                    ENabuCoreException::ERROR_NULL_VALUE_NOT_ALLOWED_IN,
                    array("\$nb_commerce_id")
            );
        }
        $this->setValue('nb_commerce_id', $nb_commerce_id);
        
        return $this;
    }
84429
public function setIPId(int $nb_ip_id) : CNabuDataObject
    {
        if ($nb_ip_id === null) {
            throw new ENabuCoreException(
                    ENabuCoreException::ERROR_NULL_VALUE_NOT_ALLOWED_IN,
                    array("\$nb_ip_id")
            );
        }
        $this->setValue('nb_ip_id', $nb_ip_id);
        
        return $this;
    }
1095423
public function setType( $type )
    {
        $this->type = is_int( $type ) ? $type : self::getStorableType( $type );
        return $this;
    }