org.infai.emo.matcher.map.impl
Class ComparatorWeightingsImpl

java.lang.Object
  extended by org.eclipse.emf.common.notify.impl.BasicNotifierImpl
      extended by org.eclipse.emf.ecore.impl.BasicEObjectImpl
          extended by org.eclipse.emf.ecore.impl.EObjectImpl
              extended by org.infai.emo.matcher.map.impl.ComparatorWeightingsImpl
All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject, ComparatorWeightings

public class ComparatorWeightingsImpl
extends org.eclipse.emf.ecore.impl.EObjectImpl
implements ComparatorWeightings

An implementation of the model object 'Comparator Weightings'.

The following features are implemented:


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImpl
 
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends java.lang.Object & org.eclipse.emf.common.notify.Adapter>
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore
 
Field Summary
protected static double ATTRIBUTE_COMPARATOR_WEIGHTING_EDEFAULT
          The default value of the 'Attribute Comparator Weighting' attribute
protected  double attributeComparatorWeighting
          The cached value of the 'Attribute Comparator Weighting' attribute
protected static double CONTAINER_COMPARATOR_WEIGHTING_EDEFAULT
          The default value of the 'Container Comparator Weighting' attribute
protected  double containerComparatorWeighting
          The cached value of the 'Container Comparator Weighting' attribute
protected static double CONTENTS_COMPARATOR_WEIGHTING_EDEFAULT
          The default value of the 'Contents Comparator Weighting' attribute
protected  double contentsComparatorWeighting
          The cached value of the 'Contents Comparator Weighting' attribute
protected  org.eclipse.emf.common.util.EList<Comparator> genericComparators
          The cached value of the 'Generic Comparators' containment reference list
protected static double META_CLASS_COMPARATOR_WEIGHTING_EDEFAULT
          The default value of the 'Meta Class Comparator Weighting' attribute
protected  double metaClassComparatorWeighting
          The cached value of the 'Meta Class Comparator Weighting' attribute
protected static double REFERENCE_COMPARATOR_WEIGHTING_EDEFAULT
          The default value of the 'Reference Comparator Weighting' attribute
protected  double referenceComparatorWeighting
          The cached value of the 'Reference Comparator Weighting' attribute
 
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY
 
Fields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Constructor Summary
protected ComparatorWeightingsImpl()
           
 
Method Summary
 java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
           
 org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, java.lang.Object newValue)
           
protected  org.eclipse.emf.ecore.EClass eStaticClass()
           
 void eUnset(int featureID)
           
 double getAttributeComparatorWeighting()
           
 double getContainerComparatorWeighting()
           
 double getContentsComparatorWeighting()
           
 org.eclipse.emf.common.util.EList<Comparator> getGenericComparators()
           
 double getMetaClassComparatorWeighting()
           
 double getReferenceComparatorWeighting()
           
 void setAttributeComparatorWeighting(double newAttributeComparatorWeighting)
           
 void setContainerComparatorWeighting(double newContainerComparatorWeighting)
           
 void setContentsComparatorWeighting(double newContentsComparatorWeighting)
           
 void setMetaClassComparatorWeighting(double newMetaClassComparatorWeighting)
           
 void setReferenceComparatorWeighting(double newReferenceComparatorWeighting)
           
 java.lang.String toString()
           
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eHasSettings, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetDirectResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues
 
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotify
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
 

Field Detail

META_CLASS_COMPARATOR_WEIGHTING_EDEFAULT

protected static final double META_CLASS_COMPARATOR_WEIGHTING_EDEFAULT
The default value of the 'Meta Class Comparator Weighting' attribute.

See Also:
getMetaClassComparatorWeighting(), Constant Field Values

metaClassComparatorWeighting

protected double metaClassComparatorWeighting
The cached value of the 'Meta Class Comparator Weighting' attribute.

See Also:
getMetaClassComparatorWeighting()

ATTRIBUTE_COMPARATOR_WEIGHTING_EDEFAULT

protected static final double ATTRIBUTE_COMPARATOR_WEIGHTING_EDEFAULT
The default value of the 'Attribute Comparator Weighting' attribute.

See Also:
getAttributeComparatorWeighting(), Constant Field Values

attributeComparatorWeighting

protected double attributeComparatorWeighting
The cached value of the 'Attribute Comparator Weighting' attribute.

See Also:
getAttributeComparatorWeighting()

REFERENCE_COMPARATOR_WEIGHTING_EDEFAULT

protected static final double REFERENCE_COMPARATOR_WEIGHTING_EDEFAULT
The default value of the 'Reference Comparator Weighting' attribute.

See Also:
getReferenceComparatorWeighting(), Constant Field Values

referenceComparatorWeighting

protected double referenceComparatorWeighting
The cached value of the 'Reference Comparator Weighting' attribute.

See Also:
getReferenceComparatorWeighting()

CONTAINER_COMPARATOR_WEIGHTING_EDEFAULT

protected static final double CONTAINER_COMPARATOR_WEIGHTING_EDEFAULT
The default value of the 'Container Comparator Weighting' attribute.

See Also:
getContainerComparatorWeighting(), Constant Field Values

containerComparatorWeighting

protected double containerComparatorWeighting
The cached value of the 'Container Comparator Weighting' attribute.

See Also:
getContainerComparatorWeighting()

CONTENTS_COMPARATOR_WEIGHTING_EDEFAULT

protected static final double CONTENTS_COMPARATOR_WEIGHTING_EDEFAULT
The default value of the 'Contents Comparator Weighting' attribute.

See Also:
getContentsComparatorWeighting(), Constant Field Values

contentsComparatorWeighting

protected double contentsComparatorWeighting
The cached value of the 'Contents Comparator Weighting' attribute.

See Also:
getContentsComparatorWeighting()

genericComparators

protected org.eclipse.emf.common.util.EList<Comparator> genericComparators
The cached value of the 'Generic Comparators' containment reference list.

See Also:
getGenericComparators()
Constructor Detail

ComparatorWeightingsImpl

protected ComparatorWeightingsImpl()

Method Detail

eStaticClass

protected org.eclipse.emf.ecore.EClass eStaticClass()

Overrides:
eStaticClass in class org.eclipse.emf.ecore.impl.EObjectImpl

getMetaClassComparatorWeighting

public double getMetaClassComparatorWeighting()

Specified by:
getMetaClassComparatorWeighting in interface ComparatorWeightings
Returns:
the value of the 'Meta Class Comparator Weighting' attribute.
See Also:
ComparatorWeightings.setMetaClassComparatorWeighting(double), MapPackage.getComparatorWeightings_MetaClassComparatorWeighting()

setMetaClassComparatorWeighting

public void setMetaClassComparatorWeighting(double newMetaClassComparatorWeighting)

Specified by:
setMetaClassComparatorWeighting in interface ComparatorWeightings
Parameters:
newMetaClassComparatorWeighting - the new value of the 'Meta Class Comparator Weighting' attribute.
See Also:
ComparatorWeightings.getMetaClassComparatorWeighting()

getAttributeComparatorWeighting

public double getAttributeComparatorWeighting()

Specified by:
getAttributeComparatorWeighting in interface ComparatorWeightings
Returns:
the value of the 'Attribute Comparator Weighting' attribute.
See Also:
ComparatorWeightings.setAttributeComparatorWeighting(double), MapPackage.getComparatorWeightings_AttributeComparatorWeighting()

setAttributeComparatorWeighting

public void setAttributeComparatorWeighting(double newAttributeComparatorWeighting)

Specified by:
setAttributeComparatorWeighting in interface ComparatorWeightings
Parameters:
newAttributeComparatorWeighting - the new value of the 'Attribute Comparator Weighting' attribute.
See Also:
ComparatorWeightings.getAttributeComparatorWeighting()

getReferenceComparatorWeighting

public double getReferenceComparatorWeighting()

Specified by:
getReferenceComparatorWeighting in interface ComparatorWeightings
Returns:
the value of the 'Reference Comparator Weighting' attribute.
See Also:
ComparatorWeightings.setReferenceComparatorWeighting(double), MapPackage.getComparatorWeightings_ReferenceComparatorWeighting()

setReferenceComparatorWeighting

public void setReferenceComparatorWeighting(double newReferenceComparatorWeighting)

Specified by:
setReferenceComparatorWeighting in interface ComparatorWeightings
Parameters:
newReferenceComparatorWeighting - the new value of the 'Reference Comparator Weighting' attribute.
See Also:
ComparatorWeightings.getReferenceComparatorWeighting()

getContainerComparatorWeighting

public double getContainerComparatorWeighting()

Specified by:
getContainerComparatorWeighting in interface ComparatorWeightings
Returns:
the value of the 'Container Comparator Weighting' attribute.
See Also:
ComparatorWeightings.setContainerComparatorWeighting(double), MapPackage.getComparatorWeightings_ContainerComparatorWeighting()

setContainerComparatorWeighting

public void setContainerComparatorWeighting(double newContainerComparatorWeighting)

Specified by:
setContainerComparatorWeighting in interface ComparatorWeightings
Parameters:
newContainerComparatorWeighting - the new value of the 'Container Comparator Weighting' attribute.
See Also:
ComparatorWeightings.getContainerComparatorWeighting()

getContentsComparatorWeighting

public double getContentsComparatorWeighting()

Specified by:
getContentsComparatorWeighting in interface ComparatorWeightings
Returns:
the value of the 'Contents Comparator Weighting' attribute.
See Also:
ComparatorWeightings.setContentsComparatorWeighting(double), MapPackage.getComparatorWeightings_ContentsComparatorWeighting()

setContentsComparatorWeighting

public void setContentsComparatorWeighting(double newContentsComparatorWeighting)

Specified by:
setContentsComparatorWeighting in interface ComparatorWeightings
Parameters:
newContentsComparatorWeighting - the new value of the 'Contents Comparator Weighting' attribute.
See Also:
ComparatorWeightings.getContentsComparatorWeighting()

getGenericComparators

public org.eclipse.emf.common.util.EList<Comparator> getGenericComparators()

Specified by:
getGenericComparators in interface ComparatorWeightings
Returns:
the value of the 'Generic Comparators' containment reference list.
See Also:
MapPackage.getComparatorWeightings_GenericComparators()

eInverseRemove

public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd,
                                                                      int featureID,
                                                                      org.eclipse.emf.common.notify.NotificationChain msgs)

Overrides:
eInverseRemove in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

eGet

public java.lang.Object eGet(int featureID,
                             boolean resolve,
                             boolean coreType)

Specified by:
eGet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eGet in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

eSet

public void eSet(int featureID,
                 java.lang.Object newValue)

Specified by:
eSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eSet in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

eUnset

public void eUnset(int featureID)

Specified by:
eUnset in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eUnset in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

eIsSet

public boolean eIsSet(int featureID)

Specified by:
eIsSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eIsSet in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

toString

public java.lang.String toString()

Overrides:
toString in class org.eclipse.emf.ecore.impl.BasicEObjectImpl