Sets the Catalog Taxonomy Id attribute value.
@param int $nb_catalog_taxonomy_id New value for attribute
@return CNabuDataObject Returns self instance to grant chained setters call.
429199
public function setCatalogTaxonomyId(int $nb_catalog_taxonomy_id) : CNabuDataObject
    {
        if ($nb_catalog_taxonomy_id === null) {
            throw new ENabuCoreException(
                    ENabuCoreException::ERROR_NULL_VALUE_NOT_ALLOWED_IN,
                    array("\$nb_catalog_taxonomy_id")
            );
        }
        $this->setValue('nb_catalog_taxonomy_id', $nb_catalog_taxonomy_id);
        
        return $this;
    }
568829
public function setDnsOrigin($dns_origin) : CNabuDataObject
    {
        if ($dns_origin === null) {
            throw new ENabuCoreException(
                    ENabuCoreException::ERROR_NULL_VALUE_NOT_ALLOWED_IN,
                    array("\$dns_origin")
            );
        }
        $this->setValue('nb_domain_zone_dns_origin', $dns_origin);
        
        return $this;
    }
217365
public function setTtl(int $ttl = 86400) : CNabuDataObject
    {
        if ($ttl === null) {
            throw new ENabuCoreException(
                    ENabuCoreException::ERROR_NULL_VALUE_NOT_ALLOWED_IN,
                    array("\$ttl")
            );
        }
        $this->setValue('nb_domain_zone_ttl', $ttl);
        
        return $this;
    }
938727
public function setMessagingServiceId(int $nb_messaging_service_id) : CNabuDataObject
    {
        if ($nb_messaging_service_id === null) {
            throw new ENabuCoreException(
                    ENabuCoreException::ERROR_NULL_VALUE_NOT_ALLOWED_IN,
                    array("\$nb_messaging_service_id")
            );
        }
        $this->setValue('nb_messaging_service_id', $nb_messaging_service_id);
        
        return $this;
    }
3053
public function set(): TaxonomyInterface
    {
        if (function_exists('current_filter') && 'init' === $hook = current_filter()) {
            $this->register();
        } else {
            $this->action->add('init', [$this, 'register']);
        }

        return $this;
    }
1326341
public function setSiteAliasId(int $nb_site_alias_id) : CNabuDataObject
    {
        if ($nb_site_alias_id === null) {
            throw new ENabuCoreException(
                    ENabuCoreException::ERROR_NULL_VALUE_NOT_ALLOWED_IN,
                    array("\$nb_site_alias_id")
            );
        }
        $this->setValue('nb_site_alias_id', $nb_site_alias_id);
        
        return $this;
    }
923158
public function setDomainZoneHostId(int $nb_domain_zone_host_id) : CNabuDataObject
    {
        if ($nb_domain_zone_host_id === null) {
            throw new ENabuCoreException(
                    ENabuCoreException::ERROR_NULL_VALUE_NOT_ALLOWED_IN,
                    array("\$nb_domain_zone_host_id")
            );
        }
        $this->setValue('nb_domain_zone_host_id', $nb_domain_zone_host_id);
        
        return $this;
    }
365156
public function setCommerce(CNabuCommerce $nb_commerce)
    {
        $this->nb_commerce = $nb_commerce;
        $this->transferValue($nb_commerce, NABU_COMMERCE_FIELD_ID);

        return $this;
    }
510468
public function setDomainZoneId(int $nb_domain_zone_id) : CNabuDataObject
    {
        if ($nb_domain_zone_id === null) {
            throw new ENabuCoreException(
                    ENabuCoreException::ERROR_NULL_VALUE_NOT_ALLOWED_IN,
                    array("\$nb_domain_zone_id")
            );
        }
        $this->setValue('nb_domain_zone_id', $nb_domain_zone_id);
        
        return $this;
    }
1231410
public function setProjectVersionId(int $nb_project_version_id) : CNabuDataObject
    {
        if ($nb_project_version_id === null) {
            throw new ENabuCoreException(
                    ENabuCoreException::ERROR_NULL_VALUE_NOT_ALLOWED_IN,
                    array("\$nb_project_version_id")
            );
        }
        $this->setValue('nb_project_version_id', $nb_project_version_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;
    }
1242247
public function setSiteTargetCTAId(int $nb_site_target_cta_id) : CNabuDataObject
    {
        if ($nb_site_target_cta_id === null) {
            throw new ENabuCoreException(
                    ENabuCoreException::ERROR_NULL_VALUE_NOT_ALLOWED_IN,
                    array("\$nb_site_target_cta_id")
            );
        }
        $this->setValue('nb_site_target_cta_id', $nb_site_target_cta_id);
        
        return $this;
    }
678335
public function setIContactProspect(CNabuIContactProspect $nb_icontact_prospect)
    {
        $this->nb_icontact_prospect = $nb_icontact_prospect;
        if ($this instanceof CNabuDataObject && $nb_icontact_prospect->contains(NABU_ICONTACT_PROSPECT_FIELD_ID)) {
            $this->transferValue($nb_icontact_prospect, NABU_ICONTACT_PROSPECT_FIELD_ID);
        }

        return $this;
    }
1252954
public function setUserGroupTypeId(int $nb_user_group_type_id) : CNabuDataObject
    {
        if ($nb_user_group_type_id === null) {
            throw new ENabuCoreException(
                    ENabuCoreException::ERROR_NULL_VALUE_NOT_ALLOWED_IN,
                    array("\$nb_user_group_type_id")
            );
        }
        $this->setValue('nb_user_group_type_id', $nb_user_group_type_id);
        
        return $this;
    }
1152361
public function setIContact(CNabuIContact $nb_icontact)
    {
        $this->nb_icontact = $nb_icontact;
        if ($this instanceof CNabuDataObject && $nb_icontact->contains(NABU_ICONTACT_FIELD_ID)) {
            $this->transferValue($nb_icontact, NABU_ICONTACT_FIELD_ID);
        }

        return $this;
    }
1253708
public function addProductCategoryObject(CNabuCommerceProductCategory $nb_commerce_product_category)
    {
        $nb_commerce_product_category->setCommerce($this);

        return $this->nb_commerce_product_category_list->addItem($nb_commerce_product_category);
    }
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;
    }