Sets the cp measurement unit remote service.

@param cpMeasurementUnitService the cp measurement unit remote service
429474
public void setCPMeasurementUnitService(
		com.liferay.commerce.product.service.CPMeasurementUnitService cpMeasurementUnitService) {
		this.cpMeasurementUnitService = cpMeasurementUnitService;
	}
1153692
public void setMessagingAuthenticationService(
			MessagingAuthenticationService messagingAuthenticationService) {
		if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) {
			SibTr.entry(tc, CLASS_NAME + "setMessagingAuthenticationService",
					messagingAuthenticationService);
		}
		this.messagingAuthenticationService = messagingAuthenticationService;
		if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) {
			SibTr.exit(tc, CLASS_NAME + "setMessagingAuthenticationService");
		}
	}
1259203
public void setCPDefinitionLocalService(
		com.liferay.commerce.product.service.CPDefinitionLocalService cpDefinitionLocalService) {
		this.cpDefinitionLocalService = cpDefinitionLocalService;
	}
359091
@Reference(policy = DYNAMIC, policyOption = GREEDY, cardinality = MANDATORY)
    protected void setProvider(MetricRecorderProvider provider) {
        metricProvider = provider;
    }
1323312
@Override protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
    super.onMeasure(widthMeasureSpec, heightMeasureSpec);

    int viewWidth = circleRadius + this.getPaddingLeft() + this.getPaddingRight();
    int viewHeight = circleRadius + this.getPaddingTop() + this.getPaddingBottom();

    int widthMode = MeasureSpec.getMode(widthMeasureSpec);
    int widthSize = MeasureSpec.getSize(widthMeasureSpec);
    int heightMode = MeasureSpec.getMode(heightMeasureSpec);
    int heightSize = MeasureSpec.getSize(heightMeasureSpec);

    int width;
    int height;

    //Measure Width
    if (widthMode == MeasureSpec.EXACTLY) {
      //Must be this size
      width = widthSize;
    } else if (widthMode == MeasureSpec.AT_MOST) {
      //Can't be bigger than...
      width = Math.min(viewWidth, widthSize);
    } else {
      //Be whatever you want
      width = viewWidth;
    }

    //Measure Height
    if (heightMode == MeasureSpec.EXACTLY || widthMode == MeasureSpec.EXACTLY) {
      //Must be this size
      height = heightSize;
    } else if (heightMode == MeasureSpec.AT_MOST) {
      //Can't be bigger than...
      height = Math.min(viewHeight, heightSize);
    } else {
      //Be whatever you want
      height = viewHeight;
    }

    setMeasuredDimension(width, height);
  }
836449
public void setUserService(
		com.liferay.portal.kernel.service.UserService userService) {
		this.userService = userService;
	}
933572
public void setCPDefinitionOptionValueRelService(
		com.liferay.commerce.product.service.CPDefinitionOptionValueRelService cpDefinitionOptionValueRelService) {
		this.cpDefinitionOptionValueRelService = cpDefinitionOptionValueRelService;
	}
1228679
public void setCPDefinitionVirtualSettingLocalService(
		com.liferay.commerce.product.type.virtual.service.CPDefinitionVirtualSettingLocalService cpDefinitionVirtualSettingLocalService) {
		this.cpDefinitionVirtualSettingLocalService = cpDefinitionVirtualSettingLocalService;
	}
759290
public void setServices(java.util.Collection<Service> services) {
        if (services == null) {
            this.services = null;
            return;
        }

        this.services = new java.util.ArrayList<Service>(services);
    }
937600
public void setCPAttachmentFileEntryService(
		com.liferay.commerce.product.service.CPAttachmentFileEntryService cpAttachmentFileEntryService) {
		this.cpAttachmentFileEntryService = cpAttachmentFileEntryService;
	}
897645
@Override
	public com.liferay.commerce.product.model.CPMeasurementUnit createCPMeasurementUnit(
		long CPMeasurementUnitId) {
		return _cpMeasurementUnitLocalService.createCPMeasurementUnit(CPMeasurementUnitId);
	}
585071
public void setTelemetryMetadata(java.util.Collection<TelemetryMetadata> telemetryMetadata) {
        if (telemetryMetadata == null) {
            this.telemetryMetadata = null;
            return;
        }

        this.telemetryMetadata = new java.util.ArrayList<TelemetryMetadata>(telemetryMetadata);
    }
1273930
@Override
    public void setRemoteServices(RemoteServices remoteServices) {
        final String methodName = "setRemoteServices(remoteServices)";
        if (tc.isDebugEnabled()) {
            Tr.debug(tc, methodName + " cacheName=" + cacheName + " ERROR because it should not be called");
        }
    }
233131
public void setMessagingAuthorizationService(
                                                 MessagingAuthorizationService messagingAuthorizationService) {
        SibTr.entry(tc, CLASS_NAME + "setMessagingAuthorizationService", messagingAuthorizationService);

        this.messagingAuthorizationService = messagingAuthorizationService;

        SibTr.exit(tc, CLASS_NAME + "setMessagingAuthorizationService");
    }
518625
public void setRemoteMEUuid(SIBUuid8 remoteMEUuid)
    {
        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
            SibTr.entry(this, tc, "setRemoteMEUuid", remoteMEUuid);
        this.remoteMEUuid = remoteMEUuid;
        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
            SibTr.exit(this, tc, "setRemoteMEUuid");
    }
864838
public void setCPDefinitionOptionRelLocalService(
		com.liferay.commerce.product.service.CPDefinitionOptionRelLocalService cpDefinitionOptionRelLocalService) {
		this.cpDefinitionOptionRelLocalService = cpDefinitionOptionRelLocalService;
	}
1206595
public void setCPRuleService(
		com.liferay.commerce.product.service.CPRuleService cpRuleService) {
		this.cpRuleService = cpRuleService;
	}