Interface ReclassifyObjectAction

    • Method Detail

      • setIsReplaceAll

        void setIsReplaceAll​(boolean value)
        Sets the value of the 'Is Replace All' attribute.
        Parameters:
        value - the new value of the 'Is Replace All' attribute.
        See Also:
        isReplaceAll()
      • getOldClassifier

        Classifier getOldClassifier​(String name)
        Retrieves the first Classifier with the specified 'Name' from the ' Old Classifier' reference list.
        Parameters:
        name - The 'Name' of the Classifier to retrieve, or null.
        Returns:
        The first Classifier with the specified 'Name', or null.
        See Also:
        getOldClassifiers()
      • getOldClassifier

        Classifier getOldClassifier​(String name,
                                    boolean ignoreCase,
                                    org.eclipse.emf.ecore.EClass eClass)
        Retrieves the first Classifier with the specified 'Name' from the ' Old Classifier' reference list.
        Parameters:
        name - The 'Name' of the Classifier to retrieve, or null.
        ignoreCase - Whether to ignore case in String comparisons.
        eClass - The Ecore class of the Classifier to retrieve, or null.
        Returns:
        The first Classifier with the specified 'Name', or null.
        See Also:
        getOldClassifiers()
      • getNewClassifier

        Classifier getNewClassifier​(String name)
        Retrieves the first Classifier with the specified 'Name' from the ' New Classifier' reference list.
        Parameters:
        name - The 'Name' of the Classifier to retrieve, or null.
        Returns:
        The first Classifier with the specified 'Name', or null.
        See Also:
        getNewClassifiers()
      • getNewClassifier

        Classifier getNewClassifier​(String name,
                                    boolean ignoreCase,
                                    org.eclipse.emf.ecore.EClass eClass)
        Retrieves the first Classifier with the specified 'Name' from the ' New Classifier' reference list.
        Parameters:
        name - The 'Name' of the Classifier to retrieve, or null.
        ignoreCase - Whether to ignore case in String comparisons.
        eClass - The Ecore class of the Classifier to retrieve, or null.
        Returns:
        The first Classifier with the specified 'Name', or null.
        See Also:
        getNewClassifiers()
      • setObject

        void setObject​(InputPin value)
        Sets the value of the 'Object' containment reference.
        Parameters:
        value - the new value of the 'Object' containment reference.
        See Also:
        getObject()
      • createObject

        InputPin createObject​(String name,
                              Type type,
                              org.eclipse.emf.ecore.EClass eClass)
        Creates a new InputPin, with the specified 'Name', and 'Type', and sets the 'Object' containment reference.
        Parameters:
        name - The 'Name' for the new InputPin, or null.
        type - The 'Type' for the new InputPin, or null.
        eClass - The Ecore class of the InputPin to create.
        Returns:
        The new InputPin.
        See Also:
        getObject()
      • createObject

        InputPin createObject​(String name,
                              Type type)
        Creates a new InputPin,with the specified 'Name', and 'Type', and sets the 'Object' containment reference.
        Parameters:
        name - The 'Name' for the new InputPin, or null.
        type - The 'Type' for the new InputPin, or null.
        Returns:
        The new InputPin.
        See Also:
        getObject()
      • validateClassifierNotAbstract

        boolean validateClassifierNotAbstract​(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                              Map context)
        None of the new classifiers may be abstract. not self.newClassifier->exists(isAbstract = true)
      • validateMultiplicity

        boolean validateMultiplicity​(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                     Map context)
        The multiplicity of the input pin is 1..1. self.argument.multiplicity.is(1,1)
      • validateInputPin

        boolean validateInputPin​(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                 Map context)
        The input pin has no type. self.argument.type->size() = 0