Align FMIRootExecution with RootExecution

Change-Id: Ic17ca28942f61e9034722443b5c07a67327c7811
Signed-off-by: jeremie.tatibouet <jeremie.tatibouet@cea.fr>
diff --git a/bundles/fmi/engines/org.eclipse.papyrus.moka.fmu.engine/src/org/eclipse/papyrus/moka/fmu/control/queue/FMIRootExecution.java b/bundles/fmi/engines/org.eclipse.papyrus.moka.fmu.engine/src/org/eclipse/papyrus/moka/fmu/control/queue/FMIRootExecution.java
index 46a4836..99ee518 100644
--- a/bundles/fmi/engines/org.eclipse.papyrus.moka.fmu.engine/src/org/eclipse/papyrus/moka/fmu/control/queue/FMIRootExecution.java
+++ b/bundles/fmi/engines/org.eclipse.papyrus.moka.fmu.engine/src/org/eclipse/papyrus/moka/fmu/control/queue/FMIRootExecution.java
@@ -33,8 +33,8 @@
 	
 	public FMUObject getFMUObject(){
 		// Return the FMU instance corresponding to the class.
-		if(this.fmuObject == null && FMIProfileUtil.isCS_FMU(this.classifier)) {
-			this.fmuObject = (FMUObject) this.locus.instantiate(this.classifier);
+		if(this.fmuObject == null && FMIProfileUtil.isCS_FMU(this.executedClass)) {
+			this.fmuObject = (FMUObject) this.locus.instantiate(this.executedClass);
 			this.fmuObject.init();
 		}
 		return this.fmuObject;
@@ -45,11 +45,11 @@
 		// If the class to execute is an FMU then instantiate the corresponding
 		// object and start its classifier behavior. In any other situation apply
 		// the regular instantiation strategy.
-		if(FMIProfileUtil.isCS_FMU(this.classifier)) {
+		if(FMIProfileUtil.isCS_FMU(this.executedClass)) {
 			if(this.fmuObject == null) {
 				this.getFMUObject();
 			}
-			this.fmuObject.startBehavior(this.classifier, this.parameterValues);
+			this.fmuObject.startBehavior(this.executedClass, this.parameterValues);
 		}else {
 			super.execute();
 		}