+
+ /**
+ * Create a yangModelCmHandle without the use of NcmpServiceHandle.
+ *
+ * @param dmiServiceName dmi service name
+ * @param dmiDataServiceName dmi data service name
+ * @param dmiModelServiceName dmi model service name
+ * @param cmHandleId the cm handle id
+ * @param dmiProperties dmiProperties
+ * @param publicProperties publicProperties
+ * @param compositeState compositeState
+ * @return instance of yangModelCmHandle
+ */
+ public static YangModelCmHandle toYangModelCmHandleWithoutNcmpServiceHandle(final String dmiServiceName,
+ final String dmiDataServiceName,
+ final String dmiModelServiceName,
+ final String cmHandleId,
+ final Map<String, String> dmiProperties,
+ final Map<String, String> publicProperties,
+ final CompositeState compositeState) {
+ final YangModelCmHandle yangModelCmHandle = new YangModelCmHandle();
+ yangModelCmHandle.setId(cmHandleId);
+ yangModelCmHandle.setDmiServiceName(dmiServiceName);
+ yangModelCmHandle.setDmiDataServiceName(dmiDataServiceName);
+ yangModelCmHandle.setDmiModelServiceName(dmiModelServiceName);
+ yangModelCmHandle.setDmiProperties(asYangModelCmHandleProperties(dmiProperties));
+ yangModelCmHandle.setPublicProperties(asYangModelCmHandleProperties(publicProperties));
+ yangModelCmHandle.setCompositeState(compositeState);
+ return yangModelCmHandle;
+ }
+
+