Sets the Domain Zone Share All attribute value.
@param string $share_all New value for attribute
@return CNabuDataObject Returns self instance to grant chained setters call.
964071
public function setShareAll(string $share_all = "F") : CNabuDataObject
    {
        if ($share_all === null) {
            throw new ENabuCoreException(
                    ENabuCoreException::ERROR_NULL_VALUE_NOT_ALLOWED_IN,
                    array("\$share_all")
            );
        }
        $this->setValue('nb_domain_zone_share_all', $share_all);
        
        return $this;
    }
1069760
public function setValue($new_value) {
    if (gettype($new_value) !== 'object') {
      return parent::setValue($new_value);
    }

    $new_props = $this->getSetProps($new_value);

    foreach ($new_props as $new_prop) {
      $this->setProp($new_prop, $new_value->{$new_prop});
    }

    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;
    }
395788
public function setUseSSL(string $use_ssl = "F") : CNabuDataObject
    {
        if ($use_ssl === null) {
            throw new ENabuCoreException(
                    ENabuCoreException::ERROR_NULL_VALUE_NOT_ALLOWED_IN,
                    array("\$use_ssl")
            );
        }
        $this->setValue('nb_cluster_group_service_use_ssl', $use_ssl);
        
        return $this;
    }
1076980
@WithBridgeMethods(value = MySQLQuery.class, castRequired = true)
    public C lockInShareMode() {
        return addFlag(Position.END, LOCK_IN_SHARE_MODE);
    }
387789
public function setZone(string $zone = "B") : CNabuDataObject
    {
        if ($zone === null) {
            throw new ENabuCoreException(
                    ENabuCoreException::ERROR_NULL_VALUE_NOT_ALLOWED_IN,
                    array("\$zone")
            );
        }
        $this->setValue('nb_site_map_role_zone', $zone);
        
        return $this;
    }
779005
public function setServerHostId(int $nb_server_host_id) : CNabuDataObject
    {
        if ($nb_server_host_id === null) {
            throw new ENabuCoreException(
                    ENabuCoreException::ERROR_NULL_VALUE_NOT_ALLOWED_IN,
                    array("\$nb_server_host_id")
            );
        }
        $this->setValue('nb_server_host_id', $nb_server_host_id);
        
        return $this;
    }
1099053
public function addAll($values)
    {
        if (!WF::is_array_like($values))
            throw new \DomainException("Invalid value to merge: " . WF::str($values));
        $this->addAllRecursive($values, $this);
        return $this;
    }
926348
public function setTaxPercentage($tax_percentage) : CNabuDataObject
    {
        if ($tax_percentage === null) {
            throw new ENabuCoreException(
                    ENabuCoreException::ERROR_NULL_VALUE_NOT_ALLOWED_IN,
                    array("\$tax_percentage")
            );
        }
        $this->setValue('nb_commerce_product_tax_percentage', $tax_percentage);
        
        return $this;
    }
1104958
function setShared (shared) {
  let polygons = this.polygons.map(function (p) {
    return new Polygon3(p.vertices, shared, p.plane)
  })
  let result = fromPolygons(polygons)
  result.properties = this.properties // keep original properties
  result.isRetesselated = this.isRetesselated
  result.isCanonicalized = this.isCanonicalized
  return result
}
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;
    }
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;
    }
1180818
public function setSiteMapId(int $nb_site_map_id = 0) : CNabuDataObject
    {
        if ($nb_site_map_id === null) {
            throw new ENabuCoreException(
                    ENabuCoreException::ERROR_NULL_VALUE_NOT_ALLOWED_IN,
                    array("\$nb_site_map_id")
            );
        }
        $this->setValue('nb_site_map_id', $nb_site_map_id);
        
        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;
    }
1212562
public function setReferencedProperty(string $referenced_property): self
    {
        // Check valid property name
        if ($referenced_property && !ctype_alpha($referenced_property[0])) {
            throw new \DomainException(
                sprintf('$referenced_property (%s) does not start with a alpha character)', $referenced_property)
            );
        }

        $this->referenced_property = $referenced_property;

        return $this;
    }
440761
public function setRetry(int $retry = 3600) : CNabuDataObject
    {
        if ($retry === null) {
            throw new ENabuCoreException(
                    ENabuCoreException::ERROR_NULL_VALUE_NOT_ALLOWED_IN,
                    array("\$retry")
            );
        }
        $this->setValue('nb_domain_zone_retry', $retry);
        
        return $this;
    }
1104441
public function setIcontactId(int $nb_icontact_id) : CNabuDataObject
    {
        if ($nb_icontact_id === null) {
            throw new ENabuCoreException(
                    ENabuCoreException::ERROR_NULL_VALUE_NOT_ALLOWED_IN,
                    array("\$nb_icontact_id")
            );
        }
        $this->setValue('nb_icontact_id', $nb_icontact_id);
        
        return $this;
    }