Sets the Icontact Prospect Status Type Id attribute value.
@param int $nb_icontact_prospect_status_type_id New value for attribute
@return CNabuDataObject Returns self instance to grant chained setters call.
195748
public function setIcontactProspectStatusTypeId(int $nb_icontact_prospect_status_type_id) : CNabuDataObject
    {
        if ($nb_icontact_prospect_status_type_id === null) {
            throw new ENabuCoreException(
                    ENabuCoreException::ERROR_NULL_VALUE_NOT_ALLOWED_IN,
                    array("\$nb_icontact_prospect_status_type_id")
            );
        }
        $this->setValue('nb_icontact_prospect_status_type_id', $nb_icontact_prospect_status_type_id);
        
        return $this;
    }
221449
public function setVisible(string $visible = "T") : CNabuDataObject
    {
        if ($visible === null) {
            throw new ENabuCoreException(
                    ENabuCoreException::ERROR_NULL_VALUE_NOT_ALLOWED_IN,
                    array("\$visible")
            );
        }
        $this->setValue('nb_site_map_visible', $visible);
        
        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;
    }
97112
public function setMediotecaTypeId(int $nb_medioteca_type_id) : CNabuDataObject
    {
        if ($nb_medioteca_type_id === null) {
            throw new ENabuCoreException(
                    ENabuCoreException::ERROR_NULL_VALUE_NOT_ALLOWED_IN,
                    array("\$nb_medioteca_type_id")
            );
        }
        $this->setValue('nb_medioteca_type_id', $nb_medioteca_type_id);
        
        return $this;
    }
1194326
public function getProspectStatusTypes(bool $force = false) : CNabuIContactProspectStatusTypeList
    {
        if ($this->nb_icontact_prospect_status_type_list->isEmpty() || $force) {
            $this->nb_icontact_prospect_status_type_list->clear();
            $this->nb_icontact_prospect_status_type_list->merge(CNabuIContactProspectStatusType::getTypesForIContact($this));
        }

        return $this->nb_icontact_prospect_status_type_list;
    }
1213181
public function setId(int $id) : CNabuDataObject
    {
        if ($id === null) {
            throw new ENabuCoreException(
                    ENabuCoreException::ERROR_NULL_VALUE_NOT_ALLOWED_IN,
                    array("\$id")
            );
        }
        $this->setValue('nb_catalog_tag_id', $id);
        
        return $this;
    }
169807
public function setTemplatesStatus(string $templates_status = "D") : CNabuDataObject
    {
        if ($templates_status === null) {
            throw new ENabuCoreException(
                    ENabuCoreException::ERROR_NULL_VALUE_NOT_ALLOWED_IN,
                    array("\$templates_status")
            );
        }
        $this->setValue('nb_messaging_lang_templates_status', $templates_status);
        
        return $this;
    }
1035230
public function setSerial(int $serial = 1) : CNabuDataObject
    {
        if ($serial === null) {
            throw new ENabuCoreException(
                    ENabuCoreException::ERROR_NULL_VALUE_NOT_ALLOWED_IN,
                    array("\$serial")
            );
        }
        $this->setValue('nb_domain_zone_serial', $serial);
        
        return $this;
    }
874288
public function setUserId(int $nb_user_id) : CNabuDataObject
    {
        if ($nb_user_id === null) {
            throw new ENabuCoreException(
                    ENabuCoreException::ERROR_NULL_VALUE_NOT_ALLOWED_IN,
                    array("\$nb_user_id")
            );
        }
        $this->setValue('nb_user_id', $nb_user_id);
        
        return $this;
    }
1037094
public function setAllowNotification(string $allow_notification = "F") : CNabuDataObject
    {
        if ($allow_notification === null) {
            throw new ENabuCoreException(
                    ENabuCoreException::ERROR_NULL_VALUE_NOT_ALLOWED_IN,
                    array("\$allow_notification")
            );
        }
        $this->setValue('nb_user_allow_notification', $allow_notification);
        
        return $this;
    }
884637
public function setName(string $name) : CNabuDataObject
    {
        if ($name === null) {
            throw new ENabuCoreException(
                    ENabuCoreException::ERROR_NULL_VALUE_NOT_ALLOWED_IN,
                    array("\$name")
            );
        }
        $this->setValue('nb_language_name', $name);
        
        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;
    }
211641
public function setAttachment(string $attachment = "F") : CNabuDataObject
    {
        if ($attachment === null) {
            throw new ENabuCoreException(
                    ENabuCoreException::ERROR_NULL_VALUE_NOT_ALLOWED_IN,
                    array("\$attachment")
            );
        }
        $this->setValue('nb_site_target_attachment', $attachment);
        
        return $this;
    }
656112
public function setOrigin($origin) : CNabuDataObject
    {
        if ($origin === null) {
            throw new ENabuCoreException(
                    ENabuCoreException::ERROR_NULL_VALUE_NOT_ALLOWED_IN,
                    array("\$origin")
            );
        }
        $this->setValue('nb_domain_zone_origin', $origin);
        
        return $this;
    }
311800
public function setServerId(int $nb_server_id) : CNabuDataObject
    {
        if ($nb_server_id === null) {
            throw new ENabuCoreException(
                    ENabuCoreException::ERROR_NULL_VALUE_NOT_ALLOWED_IN,
                    array("\$nb_server_id")
            );
        }
        $this->setValue('nb_server_id', $nb_server_id);
        
        return $this;
    }
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;
    }
585643
public function getProspect($nb_prospect)
    {
        $retval = false;

        if (is_numeric($nb_prospect_id = nb_getMixedValue($nb_prospect, NABU_ICONTACT_PROSPECT_FIELD_ID))) {
            $retval = $this->nb_icontact_prospect_list->getItem($nb_prospect_id);
        }

        return $retval;
    }