Interface UnmarshallAction

    • Method Detail

      • createResult

        OutputPin createResult​(String name,
                               Type type)
        Creates a new OutputPin, with the specified 'Name', and 'Type', and appends it to the 'Result' containment reference list.
        Parameters:
        name - The 'Name' for the new OutputPin, or null.
        type - The 'Type' for the new OutputPin, or null.
        Returns:
        The new OutputPin.
        See Also:
        getResults()
      • getResult

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

        OutputPin getResult​(String name,
                            Type type,
                            boolean ignoreCase,
                            boolean createOnDemand)
        Retrieves the first OutputPin with the specified 'Name', and 'Type' from the 'Result' containment reference list.
        Parameters:
        name - The 'Name' of the OutputPin to retrieve, or null.
        type - The 'Type' of the OutputPin to retrieve, or null.
        ignoreCase - Whether to ignore case in String comparisons.
        createOnDemand - Whether to create a OutputPin on demand if not found.
        Returns:
        The first OutputPin with the specified 'Name', and 'Type', or null.
        See Also:
        getResults()
      • getResult

        OutputPin getResult​(String name,
                            Type type,
                            boolean ignoreCase)
        Retrieves the first OutputPin with the specified 'Name', and 'Type' from the 'Result' reference list.
        Parameters:
        name - The 'Name' of the OutputPin to retrieve, or null.
        type - The 'Type' of the OutputPin to retrieve, or null.
        ignoreCase - Whether to ignore case in String comparisons.
        Returns:
        The first OutputPin with the specified 'Name', and 'Type', or null.
        See Also:
        getResults()
      • 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()
      • validateSameType

        boolean validateSameType​(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                 Map context)
        The type of the object input pin must be the same as the unmarshall classifier. true
      • validateMultiplicityOfObject

        boolean validateMultiplicityOfObject​(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                             Map context)
        The multiplicity of the object input pin is 1..1 true
      • validateNumberOfResult

        boolean validateNumberOfResult​(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                       Map context)
        The number of result output pins must be the same as the number of structural features of the unmarshall classifier. true
      • validateTypeAndOrdering

        boolean validateTypeAndOrdering​(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                        Map context)
        The type and ordering of each result output pin must be the same as the corresponding structural feature of the unmarshall classifier. true
      • validateMultiplicityOfResult

        boolean validateMultiplicityOfResult​(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                             Map context)
        The multiplicity of each result output pin must be compatible with the multiplicity of the corresponding structural features of the unmarshall classifier. true
      • validateStructuralFeature

        boolean validateStructuralFeature​(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                          Map context)
        The unmarshall classifier must have at least one structural feature. true
      • validateUnmarshallTypeIsClassifier

        boolean validateUnmarshallTypeIsClassifier​(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                                   Map context)
        unmarshallType must be a Classifier with ordered attributes true