sets thr referral

@param referral
550059
public void setReferral(int referral) {
	if (referral > 0) {
	    env.put("java.naming.referral", "follow");
	    env.put("java.naming.ldap.referral.limit", Caster.toString(referral));
	}
	else {
	    env.put("java.naming.referral", "ignore");
	    env.remove("java.naming.ldap.referral.limit");
	}
    }
856342
@Reference(name = KEY_MESSAGE_STORE, service = MessageStore.class)
    protected void setMessageStore(ServiceReference<MessageStore> ref) {
        if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
            SibTr.entry(tc, "setMessageStore", ref);
        messageStoreRef.setReference(ref);

        if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
            SibTr.exit(tc, "setMessageStore");
    }
332597
protected void setAuthDataService(ServiceReference<AuthDataService> ref) {
        if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
            Tr.debug(tc, "setAuthDataService", ref);
        authDataServiceRef.setReference(ref);
    }
205947
@Reference(name = "userTransaction", service = UserTransaction.class, policy = ReferencePolicy.DYNAMIC)
    protected void setUserTransaction(ServiceReference<UserTransaction> ref) {
        this.userTransaction.setReference(ref);
    }
1108479
@Reference(service=ClassLoadingService.class, name="classLoadingService")
    protected void setClassLoadingService(ServiceReference<ClassLoadingService> ref) {
        classLoadingSRRef.setReference(ref);
    }
901084
public void setReferenceDistance (float distance)
    {
        if (_referenceDistance != distance) {
            AL10.alSourcef(_id, AL10.AL_REFERENCE_DISTANCE, _referenceDistance = distance);
        }
    }
753394
public void setReferenceResolver (ReferenceResolver referenceResolver) {
		if (referenceResolver == null) throw new IllegalArgumentException("referenceResolver cannot be null.");
		this.references = true;
		this.referenceResolver = referenceResolver;
		if (TRACE) trace("kryo", "Reference resolver: " + referenceResolver.getClass().getName());
	}
1064192
public void setSendRefererHeader(boolean send) {
		if (send == sendRefererHeader) {
			return;
		}

		this.sendRefererHeader = send;
		getConfig().setProperty(SPIDER_SENDER_REFERER_HEADER, this.sendRefererHeader);
	}
1134266
protected void setDeferrableScheduledExecutor(ServiceReference<ScheduledExecutorService> ref) {
        if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
            Tr.debug(tc, "setDeferrableScheduledExecutor", ref);
        deferrableSchedXSvcRef.setReference(ref);
    }
1264449
def referer(self, value):
        """"""
        if value is not None and \
           self._referer is not None and \
           self._referer.lower() != value.lower():
            self._referer = value
699609
@Reference(service = EmbeddableWebSphereTransactionManager.class)
    protected void setTransactionManager(ServiceReference<EmbeddableWebSphereTransactionManager> ref) {
        tranMgrRef.setReference(ref);
    }
163531
protected void setLocalTransactionCurrent(ServiceReference<LocalTransactionCurrent> ref) {
        if (TraceComponent.isAnyTracingEnabled() && LoggingUtil.SESSION_LOGGER_WAS.isLoggable(Level.FINE)) {
            LoggingUtil.SESSION_LOGGER_WAS.logp(Level.FINE, methodClassName, "setLocalTransactionCurrent", "setting " + ref);
        }
        localTransactionCurrentRef.setReference(ref);
    }
336195
@Reference(cardinality = ReferenceCardinality.MULTIPLE, policy = ReferencePolicy.DYNAMIC)
    protected void setJobExecutionEndCallbackService(IJobExecutionEndCallbackService reference) {
        jobExecutionEndCallbacks.add(reference);
    }
865156
public function setReferrerType(\BlackForest\PiwikBundle\Entity\PiwikReferrerType $referrerType = null)
    {
        $this->referrerType = $referrerType;

        return $this;
    }
793530
public final void setInvItem(final InvItem pInvItem) {
    this.invItem = pInvItem;
    if (this.itsId == null) {
      this.itsId = new WarehouseRestId();
    }
    this.itsId.setInvItem(this.invItem);
  }
843067
public void setThreshold(final double THRESHOLD) {
        if (Double.compare(THRESHOLD, minValue) >= 0 && Double.compare(THRESHOLD, maxValue) <= 0) {
            threshold = THRESHOLD;
        } else {
            if (THRESHOLD < niceMinValue) {
                threshold = niceMinValue;
            }

            if (THRESHOLD > niceMaxValue) {
                threshold = niceMaxValue;
            }
        }
        fireStateChanged();
    }
730406
function _setSessionReferrer(){

    if (document.referrer){

        sessionReferrer = document.referrer;
        const oldReferrer = utils.getCookie(constants.referrerCookieName);

        return oldReferrer != document.referrer;

    }

}