Class ParametricsHelper

java.lang.Object
com.nomagic.magicdraw.simulation.parametrics.utils.ParametricsHelper

@OpenApiAll public final class ParametricsHelper extends Object
The helper class for calling Parametric execution from scripts
Since:
CST 18.0
  • Constructor Details

    • ParametricsHelper

      public ParametricsHelper()
  • Method Details

    • executeObject

      public static boolean executeObject(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
    • 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