Unconditionally sets the value of both the reference and stamp.

@param newReference the new value for the reference
@param newStamp the new value for the stamp
963219
public void set(V newReference, int newStamp) {
        Pair<V> current = pair;
        if (newReference != current.reference || newStamp != current.stamp)
            this.pair = Pair.of(newReference, newStamp);
    }
765794
public void setValue(Object newValue) {
        Object checkedValue = checkValue(newValue);
        setDirty(isDifferent(baseValue, checkedValue));
        if (isDifferent(value, checkedValue)){ // firePropertyChange doesn't do this check sufficiently
            firePropertyChange(VALUE, value, value = checkedValue); // set inline to avoid recursion
        }
    }
1278412
public synchronized void setDefinedSendWindow(long newSendWindow)
  {
    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
      SibTr.entry(this, tc, "setDefinedSendWindow", Long.valueOf(newSendWindow) );

    definedSendWindow = newSendWindow;

    // PK41355 - Commenting out - should not be sending stuff at reconstitute
    // updateAndPersistSendWindow();
    
    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
    
    SibTr.exit(tc, "setDefinedSendWindow",Long.valueOf(newSendWindow));
  }
1153800
@Override
    public void setProducerDoesNotModifyPayloadAfterSet(String propertyValue) throws JMSException {
        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
            SibTr.entry(this, tc, "setProducerDoesNotModifyPayloadAfterSet", propertyValue);

        // First of all, convert null and empty to mean the default.
        if ((propertyValue == null) || ("".equals(propertyValue))) {
            jcaManagedConnectionFactory.setProducerDoesNotModifyPayloadAfterSet(ApiJmsConstants.MIGHT_MODIFY_PAYLOAD);
        }
        // Check for valid values
        else if (propertyValue.equalsIgnoreCase(ApiJmsConstants.MIGHT_MODIFY_PAYLOAD) ||
                 propertyValue.equalsIgnoreCase(ApiJmsConstants.WILL_NOT_MODIFY_PAYLOAD)) {
            jcaManagedConnectionFactory.setProducerDoesNotModifyPayloadAfterSet(propertyValue);
        }
        else {
            // This is not a legal value -> throw a JMS exception
            throw (JMSException) JmsErrorUtils.newThrowable(
                                                            JMSException.class, "INVALID_VALUE_CWSIA0261",
                                                            new Object[] { "producerDoesNotModifyPayloadAfterSet", propertyValue },
                                                            tc);
        }

        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
            SibTr.exit(this, tc, "setProducerDoesNotModifyPayloadAfterSet");
    }
538475
public void setValue(Object newValue)
    {
    	if (NOT_KNOWN.equals(newValue))
    	{
        	m_proxyField.updateValue();
    		m_proxyField.setNotKnown(true);
    		return;
    	}
    	if (UNKNOWN.equals(newValue))
    	{
    		m_proxyField.reset();
        	m_proxyField.updateValue();
    		return;
    	}
    	m_proxyField.setValue(newValue);
    	m_proxyField.updateValue();
    }
386725
public void setReferences(final String propertyName, final List<BeanId> values) {
        Preconditions.checkNotNull(propertyName);
        if (values == null || values.size() == 0) {
            references.put(propertyName, null);
            return;
        }
        checkCircularReference(values.toArray(new BeanId[values.size()]));
        references.put(propertyName, values);
    }
1171897
public void setValue(String newValue, @Nullable String newName) {
        if (isChecked()) {
            searcher.updateFacetRefinement(this.attribute, value, false)
                    .updateFacetRefinement(newName != null ? newName : attribute, newValue, true)
                    .search();
        }
        this.value = newValue;
        applyEventualNewAttribute(newName);
    }
275329
boolean documentReference(String reference) {
    if (!lazyInitDocumentation()) {
      return true;
    }

    if (documentation.sees == null) {
      documentation.sees = new ArrayList<>();
    }

    documentation.sees.add(reference);
    return true;
  }
1139561
@Override
    public final void setReportPAN(Boolean value) {
        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
            SibTr.entry(this, tc, "setReportPAN", value);
        if (value != null) {
            getApi().setField(JsApiAccess.REPORTPAN_VALUE, value);
        }
        else {
            getApi().setChoiceField(JsApiAccess.REPORTPAN, JsApiAccess.IS_REPORTPAN_UNSET);
        }
        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
            SibTr.exit(this, tc, "setReportPAN");
    }
942675
function (newlySelectedIndexes, newlyUnselectedIndexes) {
            var data = this._data;
            if (newlySelectedIndexes.length === 0 && data.selectedCount === 0) {
                var preselect = this._checkPreselect();
                if (preselect != null) {
                    newlySelectedIndexes = [preselect];
                    this.json.setValue(data.itemsView.items[preselect].value, "selected", true);
                    this.json.setValue(data, "selectedIndex", preselect);
                    this.json.setValue(data, "selectedCount", 1);
                }
            }

            this.$raiseEvent({
                name : "onChange",
                selectedIndexes : newlySelectedIndexes,
                unselectedIndexes : newlyUnselectedIndexes
            });
        }
1009683
public void setSendAllowed(boolean newSendAllowedValue )
  {
    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) 
      SibTr.entry(tc, "setSendAllowed", new Boolean(newSendAllowedValue));
    
    itemStream.setSendAllowed( newSendAllowedValue );
    
    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) 
      SibTr.entry(tc, "setSendAllowed", new Boolean(newSendAllowedValue));
  }
1092581
public void eventUnreferenced(ActivityHandle arg0, FireableEventType fireableEventType,
            Object event, Address address, ReceivableService receivableService, int integer) {
        // release event thread
        releaseHttpRequest((HttpServletRequestEvent) event);
    }
185463
@Override
	public LightweightTypeReference newReferenceTo(Class<?> type) {
		JvmType rawType = getServices().getTypeReferences().findDeclaredType(type, getContextResourceSet());
		if (rawType == null) {
			return newUnknownTypeReference(type.getName());
		}
		return toPlainTypeReference(rawType);
	}
1212504
public static <V> AtomicReference<V> newReference(@Nullable V initialValue) {
    return new AtomicReference<V>(initialValue);
  }
702000
public void setReference(String reference) {

        m_reference = reference;
        if (LOG.isDebugEnabled()) {
            LOG.debug(Messages.get().getBundle().key(Messages.LOG_SET_REFERENCE_1, m_reference));
        }
    }
87480
private function updateStepAddressDataForAddressId($newShippingAddressId, $newBillingAddressId)
    {
        $newBillingAddress = TdbDataExtranetUserAddress::GetNewInstance();
        if (true === $newBillingAddress->Load($newBillingAddressId)) {
            $this->SetBillingAddressData($newBillingAddress->sqlData);
        }
        if ($newShippingAddressId === $newBillingAddressId) {
            $this->SetShippingAddressData($newBillingAddress->sqlData);
        } else {
            $newShippingAddress = TdbDataExtranetUserAddress::GetNewInstance();
            if (true === $newShippingAddress->Load($newShippingAddressId)) {
                $this->SetShippingAddressData($newShippingAddress->sqlData);
            }
        }
    }
998214
@Override
    protected void setWatermarks(long nextLowWatermark, long nextHighWatermark)
    {
        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
            SibTr.entry(tc, "setWatermarks",
                        new Object[] { new Long(nextLowWatermark), new Long(nextHighWatermark), new Long(referenceStreamCount) });

        super.setWatermarks(nextLowWatermark + referenceStreamCount, nextHighWatermark + referenceStreamCount);

        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
            SibTr.exit(tc, "setWatermarks");
    }