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 constraint execution from scripts
  • 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(Object_ object)
      Execute all constraints of the specified fUML Object_.
      Parameters:
      object - the specified fUML Object which will be execution in the parametric engine.
      Returns:
      true if the parametric execution is successful