Interface ParameterSet

    • Method Detail

      • getParameter

        Parameter getParameter​(String name,
                               Type type)
        Retrieves the first Parameter with the specified 'Name', and 'Type' from the 'Parameter' reference list.
        Parameters:
        name - The 'Name' of the Parameter to retrieve, or null.
        type - The 'Type' of the Parameter to retrieve, or null.
        Returns:
        The first Parameter with the specified 'Name', and 'Type', or null.
        See Also:
        getParameters()
      • getParameter

        Parameter getParameter​(String name,
                               Type type,
                               boolean ignoreCase)
        Retrieves the first Parameter with the specified 'Name', and 'Type' from the 'Parameter' reference list.
        Parameters:
        name - The 'Name' of the Parameter to retrieve, or null.
        type - The 'Type' of the Parameter to retrieve, or null.
        ignoreCase - Whether to ignore case in String comparisons.
        Returns:
        The first Parameter with the specified 'Name', and 'Type', or null.
        See Also:
        getParameters()
      • getConditions

        MDWEList<Constraint> getConditions()
        Returns the value of the 'Condition' containment reference list. The list contents are of type Constraint. Constraint that should be satisfied for the owner of the parameters in an input parameter set to start execution using the values provided for those parameters, or the owner of the parameters in an output parameter set to end execution providing the values for those parameters, if all preconditions and conditions on input parameter sets were satisfied.
        Returns:
        the value of the 'Condition' containment reference list.
        See Also:
        UMLPackage.getParameterSet_Condition()
      • createCondition

        Constraint createCondition​(String name,
                                   org.eclipse.emf.ecore.EClass eClass)
        Creates a new Constraint, with the specified 'Name', and appends it to the ' Condition' containment reference list.
        Parameters:
        name - The 'Name' for the new Constraint, or null.
        eClass - The Ecore class of the Constraint to create.
        Returns:
        The new Constraint.
        See Also:
        getConditions()
      • getCondition

        Constraint getCondition​(String name)
        Retrieves the first Constraint with the specified 'Name' from the ' Condition' containment reference list.
        Parameters:
        name - The 'Name' of the Constraint to retrieve, or null.
        Returns:
        The first Constraint with the specified 'Name', or null.
        See Also:
        getConditions()
      • getCondition

        Constraint getCondition​(String name,
                                boolean ignoreCase,
                                org.eclipse.emf.ecore.EClass eClass,
                                boolean createOnDemand)
        Retrieves the first Constraint with the specified 'Name' from the ' Condition' containment reference list.
        Parameters:
        name - The 'Name' of the Constraint to retrieve, or null.
        ignoreCase - Whether to ignore case in String comparisons.
        eClass - The Ecore class of the Constraint to retrieve, or null.
        createOnDemand - Whether to create a Constraint on demand if not found.
        Returns:
        The first Constraint with the specified 'Name', or null.
        See Also:
        getConditions()
      • validateSameParameterizedEntity

        boolean validateSameParameterizedEntity​(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                                Map context)
        The parameters in a parameter set must all be inputs or all be outputs of the same parameterized entity, and the parameter set is owned by that entity. true
      • validateInput

        boolean validateInput​(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                              Map context)
        If a behavior has input parameters that are in a parameter set, then any inputs that are not in a parameter set must be streaming. Same for output parameters. true
      • validateTwoParameterSets

        boolean validateTwoParameterSets​(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                         Map context)
        Two parameter sets cannot have exactly the same set of parameters. true