## Uses of Class
org.eclipse.emf.compare.FactoryException

Packages that use FactoryException
org.eclipse.emf.compare.diff.engine: Provides a generic diff engine.
org.eclipse.emf.compare.diff.engine.check
org.eclipse.emf.compare.match.engine: Provides a generic match engine.
org.eclipse.emf.compare.util: This package contains utility classes used throughout EMF Compare.

Uses of FactoryException in org.eclipse.emf.compare.diff.engine

Methods in org.eclipse.emf.compare.diff.engine that throw FactoryException
`protected void` `GenericDiffEngine.checkAttributesUpdates(DiffGroup root, Match2Elements mapping)` Deprecated. Override `AttributesCheck.checkAttributesUpdates(DiffGroup, Match2Elements)` and return your overriden implementation through `GenericDiffEngine.getAttributesChecker()`.
`protected void` `GenericDiffEngine.checkAttributesUpdates(DiffGroup root, Match3Elements mapping)` Deprecated. Override `AttributesCheck.checkAttributesUpdates(DiffGroup, Match3Elements)` and return your overriden implementation through `GenericDiffEngine.getAttributesChecker()`.
`protected void` `GenericDiffEngine.checkForDiffs(DiffGroup current, Match2Elements match)` This will call all the different checks we need to call for when computing the diff.
`protected void` `GenericDiffEngine.checkForDiffs(DiffGroup current, Match3Elements match)` This will call all the different checks we need to call for when computing the diff.
`protected void` `GenericDiffEngine.checkReferenceOrderChange(DiffGroup root, org.eclipse.emf.ecore.EReference reference, org.eclipse.emf.ecore.EObject leftElement, org.eclipse.emf.ecore.EObject rightElement, java.util.List<ReferenceChangeLeftTarget> addedReferences, java.util.List<ReferenceChangeRightTarget> removedReferences)` Deprecated. Replaced by `ReferencesCheck`.
`protected void` `GenericDiffEngine.checkReferencesUpdates(DiffGroup root, Match2Elements mapping)` Deprecated. Override `ReferencesCheck.checkReferencesUpdates(DiffGroup, Match2Elements)` and return your overriden implementation through `GenericDiffEngine.getReferencesChecker()`.
`protected void` `GenericDiffEngine.checkReferencesUpdates(DiffGroup root, Match3Elements mapping)` Deprecated. Override `ReferencesCheck.checkReferencesUpdates(DiffGroup, Match3Elements)` and return your overriden implementation through `GenericDiffEngine.getReferencesChecker()`.

Uses of FactoryException in org.eclipse.emf.compare.diff.engine.check

Methods in org.eclipse.emf.compare.diff.engine.check that throw FactoryException
`void` `AttributesCheck.checkAttributesUpdates(DiffGroup root, Match2Elements mapping)` This will iterate through all the attributes of the `mapping`'s two elements to check if any of them has been modified.
`void` `AttributesCheck.checkAttributesUpdates(DiffGroup root, Match3Elements mapping)` This will iterate through all the attributes of the `mapping`'s three elements to check if any of them has been modified.
`protected void` `AttributesCheck.checkAttributeUpdates(DiffGroup root, Match2Elements mapping, org.eclipse.emf.ecore.EAttribute attribute)` This will check that the values of the given attribute from the objects contained by mapping has been modified.
`protected void` `AttributesCheck.checkAttributeUpdates(DiffGroup root, Match3Elements mapping, org.eclipse.emf.ecore.EAttribute attribute)` This will check that the values of the given attribute from the objects contained by mapping has been modified.
`protected void` `ReferencesCheck.checkContainmentReferenceOrderChange(DiffGroup root, Match2Elements mapping, org.eclipse.emf.ecore.EReference reference)` This will be called to check for ordering changes on a given containment reference values.
`protected void` `ReferencesCheck.checkReferenceOrderChange(DiffGroup root, org.eclipse.emf.ecore.EReference reference, org.eclipse.emf.ecore.EObject leftElement, org.eclipse.emf.ecore.EObject rightElement, java.util.List<ReferenceChangeLeftTarget> addedReferences, java.util.List<ReferenceChangeRightTarget> removedReferences)` This will be called to check for changes on a given reference values.
`void` `ReferencesCheck.checkReferencesUpdates(DiffGroup root, Match2Elements mapping)` Checks if there's been references updates in the model.
`void` `ReferencesCheck.checkReferencesUpdates(DiffGroup root, Match3Elements mapping)` Checks if there's been references updates in the model.
`protected void` `ReferencesCheck.checkReferenceUpdates(DiffGroup root, Match2Elements mapping, org.eclipse.emf.ecore.EReference reference)` This will check that the values of the given reference from the objects contained by mapping has been modified.
`protected void` `ReferencesCheck.checkReferenceUpdates(DiffGroup root, Match3Elements mapping, org.eclipse.emf.ecore.EReference reference)` This will check that the values of the given reference from the objects contained by mapping has been modified.

Uses of FactoryException in org.eclipse.emf.compare.match.engine

Methods in org.eclipse.emf.compare.match.engine that throw FactoryException
`abstract double` `AbstractSimilarityChecker.absoluteMetric(org.eclipse.emf.ecore.EObject obj1, org.eclipse.emf.ecore.EObject obj2)` Returns an absolute comparison metric between the two given `EObject`s.
`protected double` `GenericMatchEngine.contentSimilarity(org.eclipse.emf.ecore.EObject obj1, org.eclipse.emf.ecore.EObject obj2)` Deprecated.
`protected org.eclipse.emf.ecore.EObject` `GenericMatchEngine.findMostSimilar(org.eclipse.emf.ecore.EObject eObj, java.util.List<org.eclipse.emf.ecore.EObject> list)` This will iterate through the given `List` and return its element which is most similar (as given by `#absoluteMetric(EObject, EObject)`) to the given `EObject`.
`protected boolean` `GenericMatchEngine.haveDistinctID(org.eclipse.emf.ecore.EObject left, org.eclipse.emf.ecore.EObject right)` Deprecated.
`protected boolean` `GenericMatchEngine.haveDistinctXMIID(org.eclipse.emf.ecore.EObject left, org.eclipse.emf.ecore.EObject right)` Deprecated.
`abstract void` `AbstractSimilarityChecker.init(org.eclipse.emf.ecore.EObject leftObject, org.eclipse.emf.ecore.EObject rightObject)` Convenience method if the checker need to be initialized in some way.
`abstract void` `AbstractSimilarityChecker.init(org.eclipse.emf.ecore.resource.Resource leftResource, org.eclipse.emf.ecore.resource.Resource rightResource)` Convenience method if the checker need to be initialized in some way.
`protected boolean` `GenericMatchEngine.isSimilar(org.eclipse.emf.ecore.EObject obj1, org.eclipse.emf.ecore.EObject obj2)` Returns `True` if the 2 given `EObject`s are considered similar.
`abstract boolean` `AbstractSimilarityChecker.isSimilar(org.eclipse.emf.ecore.EObject obj1, org.eclipse.emf.ecore.EObject obj2)` Should determine whether an element is similar to the other one or not.

Uses of FactoryException in org.eclipse.emf.compare.util

Methods in org.eclipse.emf.compare.util that throw FactoryException

`static

`<T> void`

`

`EFactory.eAdd(org.eclipse.emf.ecore.EObject object, java.lang.String name, T arg)`
Adds the new value of the given feature of the object.

`static

`<T> void`

`

`EFactory.eAdd(org.eclipse.emf.ecore.EObject object, java.lang.String name, T arg, int elementIndex)`
Adds the new value of the given feature of the object.

`static java.lang.Object` `EFactory.eGet(org.eclipse.emf.ecore.EObject object, java.lang.String name)` Gets the value of the given feature of the object.
`static java.util.List<?>` `EFactory.eGetAsList(org.eclipse.emf.ecore.EObject object, java.lang.String name)` Gets the value of the given feature of the object as a List.
`static java.lang.String` `EFactory.eGetAsString(org.eclipse.emf.ecore.EObject object, java.lang.String name)` Gets the value of the given feature of the object as a String.

`static

`<T> void`

`

`EFactory.eInsertAt(org.eclipse.emf.ecore.EObject object, java.lang.String name, T arg, int insertionIndex)`
Adds the new value of the given feature of the object at the given index.

`static void` `EFactory.eRemove(org.eclipse.emf.ecore.EObject object, java.lang.String name, java.lang.Object arg)` Removes the value of the given feature of the object.
`static void` `EFactory.eSet(org.eclipse.emf.ecore.EObject object, java.lang.String name, java.lang.Object arg)` Sets the value of the given feature of the object to the new value.
`static org.eclipse.emf.ecore.EStructuralFeature` `EFactory.eStructuralFeature(org.eclipse.emf.ecore.EObject object, java.lang.String name)` Gets the structural feature of the given feature name of the object.

Copyright 2006 IBM Corporation and others. All Rights Reserved.