| Modifier and Type | Method and Description | 
|---|---|
| ReferenceChange | CompareFactory. createReferenceChange()Returns a new object of class 'Reference Change' | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | DefaultConflictDetector. checkContainmentConflict(Comparison comparison,
                        ReferenceChange diff,
                        Iterable<ReferenceChange> candidates)This will be called once for each ReferenceChange on containment references in the comparison model. | 
| protected void | DefaultConflictDetector. checkContainmentConflict(Comparison comparison,
                        ReferenceChange diff,
                        ReferenceChange candidate)For each couple of diffs on the same value in which one is a containment reference change, we will call
 this in order to check for possible conflicts. | 
| protected void | DefaultConflictDetector. checkResourceAttachmentConflict(Comparison comparison,
                               ResourceAttachmentChange diff,
                               ReferenceChange candidate)This will be called from
  DefaultConflictDetector.checkResourceAttachmentConflict(Comparison, ResourceAttachmentChange, Iterable)for each
 ReferenceChange in the comparison model that is on the other side and that impacts the changed root. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | DefaultConflictDetector. checkContainmentConflict(Comparison comparison,
                        ReferenceChange diff,
                        Iterable<ReferenceChange> candidates)This will be called once for each ReferenceChange on containment references in the comparison model. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | DefaultEquiEngine. checkForEquivalences(Comparison comparison,
                    ReferenceChange referenceChange)Checks the potential equivalence from the given  difference. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | ReferenceChangeImplAn implementation of the model object 'Reference Change' | 
| Modifier and Type | Method and Description | 
|---|---|
| ReferenceChange | CompareFactoryImpl. createReferenceChange() | 
| Modifier and Type | Method and Description | 
|---|---|
| protected boolean | AbstractChangeFactory. isRelatedToAnExtensionAdd(ReferenceChange input)Check if the given reference change is related to a graphical add. | 
| protected boolean | AbstractChangeFactory. isRelatedToAnExtensionChange(ReferenceChange input)Check if the given reference change is related to a graphical change. | 
| protected boolean | AbstractChangeFactory. isRelatedToAnExtensionDelete(ReferenceChange input)Check if the given reference change is related to a graphical delete. | 
| protected boolean | AbstractChangeFactory. isRelatedToAnExtensionMove(ReferenceChange input)Check if the given reference change is related to a graphical move. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | ReferenceChangeSpecThis specialization of the  ReferenceChangeImplclass allows us to define the derived features and
 operations implementations. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | ReferenceChangeMerger. addInTarget(ReferenceChange diff,
           boolean rightToLeft)This will be called when we need to create an element in the target side. | 
| protected void | ReferenceChangeMerger. checkImpliedDiffsOrdering(ReferenceChange diff,
                         boolean rightToLeft)In the case of many-to-many eOpposite references, EMF will simply report the difference made on one
 side of the equivalence to the other, without considering ordering in any way. | 
| protected void | ReferenceChangeMerger. doMove(ReferenceChange diff,
      Comparison comparison,
      EObject expectedContainer,
      EObject expectedValue,
      boolean rightToLeft)This will do the actual work of moving the element into its reference. | 
| protected boolean | AbstractMerger. isAdd(ReferenceChange diff,
     boolean rightToLeft)Specifies whether the given  diffwill add a value in the target model for the current merging. | 
| protected void | ReferenceChangeMerger. moveElement(ReferenceChange diff,
           boolean rightToLeft)This will be called when trying to copy a "MOVE" diff. | 
| protected void | ReferenceChangeMerger. removeFromTarget(ReferenceChange diff,
                boolean rightToLeft)This will be called when we need to remove an element from the target side. | 
| protected void | ReferenceChangeMerger. resetInTarget(ReferenceChange diff,
             boolean rightToLeft)This will be called by the merge operations in order to reset a reference to its original value, be
 that the left or right side. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected String | ReferenceChangeItemProviderSpec. getReferenceText(ReferenceChange refChange)Returns the name of the reference linked to the given  ReferenceChange. | 
| protected String | ReferenceChangeItemProviderSpec. getValueText(ReferenceChange refChange)Converts to text the given  ReferenceChange. | 
| Modifier and Type | Method and Description | 
|---|---|
| T | CompareSwitch. caseReferenceChange(ReferenceChange object)Returns the result of interpreting the object as an instance of 'Reference Change' | 
| Modifier and Type | Method and Description | 
|---|---|
| static EObject | MatchUtil. getOriginValue(Comparison comparison,
              ReferenceChange difference)From a given mono-valued reference change, get the origin value. | 
| static com.google.common.base.Predicate<Diff> | EMFComparePredicates. hasSameReferenceAs(ReferenceChange diff)This predicate can be used to check whether a given Diff is a  ReferenceChangewith the same
 reference as thediffargument. | 
| static com.google.common.base.Predicate<Diff> | EMFComparePredicates. isDiffOnEOppositeOf(ReferenceChange diff)This predicate can be used to check whether a given Diff is a  ReferenceChangerepresenting the
 eOpposite of thediffargument. | 
Copyright (c) 2006, 2015 Obeo and others. All rights reserved.