Interface Comparison

    • Method Detail

      • getMatches

        EList<Match> getMatches()
        Returns the value of the 'Matches' containment reference list. The list contents are of type Match. This contains the match tree "mimicking" the input models' hierarchy.
        Returns:
        the value of the 'Matches' containment reference list.
        See Also:
        ComparePackage.getComparison_Matches()
        Generated:
      • getConflicts

        EList<Conflict> getConflicts()
        Returns the value of the 'Conflicts' containment reference list. The list contents are of type Conflict. If we detected any conflict during the comparison process, this will contain them.
        Returns:
        the value of the 'Conflicts' containment reference list.
        See Also:
        ComparePackage.getComparison_Conflicts()
        Generated:
      • getEquivalences

        EList<Equivalence> getEquivalences()
        Returns the value of the 'Equivalences' containment reference list. The list contents are of type Equivalence. If we detected any equivalence between diffs during the comparison process, this will contain them.
        Returns:
        the value of the 'Equivalences' containment reference list.
        See Also:
        ComparePackage.getComparison_Equivalences()
        Generated:
      • getDifferences

        EList<Diff> getDifferences()
        Returns all differences contained by this Comparison and its children.
        Generated:
      • getDifferences

        EList<Diff> getDifferences​(EObject element)
        Returns all differences that reference the given EObject (for instance, all ReferenceChanges that reference the given EObject through the "value" EReference).

        To get differences detected on the given EObject or one of its counterpart in left, right or origin, you should call the following code:

         Match match = getMatch(eObject);
         if (match != null) {
                differences = match.getDifferences();
         }
         
        Parameters:
        element - The EObject for which we seek all related differences.
        Generated:
      • getMatch

        Match getMatch​(EObject element)
        Finds and return the Match for the given EObject.
        Parameters:
        element - The EObject for which we seek the match.
        Generated:
      • setThreeWay

        void setThreeWay​(boolean value)
        Sets the value of the 'Three Way' attribute.
        Parameters:
        value - the new value of the 'Three Way' attribute.
        See Also:
        isThreeWay()
        Generated:
      • setDiagnostic

        void setDiagnostic​(Diagnostic value)
        Sets the value of the 'Diagnostic' attribute.
        Parameters:
        value - the new value of the 'Diagnostic' attribute.
        See Also:
        getDiagnostic()
        Generated: