Class AbstractWeightProvider

java.lang.Object
org.eclipse.emf.compare.match.eobject.AbstractWeightProvider
All Implemented Interfaces:
WeightProvider
Direct Known Subclasses:
DefaultWeightProvider

public abstract class AbstractWeightProvider
extends java.lang.Object
implements WeightProvider
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

    Fields 
    Modifier and Type Field Description
    static int MAJOR
    Quite important regarding the Object identity.
    static int MASSIVE
    Very important regarding the Object identity.
    static int NORMAL
    A normal change in an object.
    static int SIGNIFICANT
    Likely to impact the object identity.
    static int SMALL
    Something not impacting the object identity unless it adds up a lot.
    static int UNLIKELY_TO_MATCH
    It is very unlikely the elements are matching if they have differences of this magnitude.
  • Constructor Summary

    Constructors 
    Constructor Description
    AbstractWeightProvider()  
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.eclipse.emf.compare.match.eobject.WeightProvider

    getContainingFeatureWeight, getParentWeight, getWeight