Class ParametricsHelper
java.lang.Object
com.nomagic.magicdraw.simulation.parametrics.utils.ParametricsHelper
The helper class for calling Parametric execution from scripts
- Since:
- CST 18.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
executeConstraints
(fUML.Semantics.Classes.Kernel.Object_ object) Execute all constraints of the specified fUML Object(Object_ or Reference).static boolean
executeObject
(Object object) Execute all constraints of the specified fUML Object(Object_ or Reference).
-
Constructor Details
-
ParametricsHelper
public ParametricsHelper()
-
-
Method Details
-
executeObject
Execute all constraints of the specified fUML Object(Object_ or Reference).- Parameters:
object
- the specified fUML Object(Object_ or Reference) which will be execution in the parametric engine.- Returns:
- true if the parametric execution is successful
-
executeConstraints
public static boolean executeConstraints(fUML.Semantics.Classes.Kernel.Object_ object) Execute all constraints of the specified fUML Object(Object_ or Reference).- Parameters:
object
- the specified fUML Object(Object_ or Reference) which will be execution in the parametric engine.- Returns:
- true if the parametric execution is successful
-