Class AbstractWeightProvider
java.lang.Object
org.eclipse.emf.compare.match.eobject.AbstractWeightProvider
- All Implemented Interfaces:
WeightProvider
- Direct Known Subclasses:
DefaultWeightProvider
Abstract implementation which is parameterized to set weights based on features, to ignore features and
consider "name" features as more important.
- Since:
- 3.1.0
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.emf.compare.match.eobject.WeightProvider
WeightProvider.Descriptor -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intQuite important regarding the Object identity.static final intVery important regarding the Object identity.static final intA normal change in an object.static final intLikely to impact the object identity.static final intSomething not impacting the object identity unless it adds up a lot.static final intIt is very unlikely the elements are matching if they have differences of this magnitude. -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.emf.compare.match.eobject.WeightProvider
getContainingFeatureWeight, getParentWeight, getWeight
-
Field Details
-
SMALL
public static final int SMALLSomething not impacting the object identity unless it adds up a lot.- See Also:
-
NORMAL
public static final int NORMALA normal change in an object.- See Also:
-
SIGNIFICANT
public static final int SIGNIFICANTLikely to impact the object identity.- See Also:
-
MAJOR
public static final int MAJORQuite important regarding the Object identity.- See Also:
-
MASSIVE
public static final int MASSIVEVery important regarding the Object identity.- See Also:
-
UNLIKELY_TO_MATCH
public static final int UNLIKELY_TO_MATCHIt is very unlikely the elements are matching if they have differences of this magnitude.- See Also:
-
-
Constructor Details
-
AbstractWeightProvider
public AbstractWeightProvider()
-