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

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.eclipse.emf.ecore.impl.FlatEObjectImpl
                  extended by org.eclipse.emf.ecore.impl.EModelElementImpl
                      extended by org.eclipse.emf.ecore.impl.ENamedElementImpl
                          extended by org.eclipse.emf.ecore.impl.EPackageImpl
                              extended by org.infai.emo.matcher.map.impl.MapPackageImpl
All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EModelElement, org.eclipse.emf.ecore.ENamedElement, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.EPackage, org.eclipse.emf.ecore.InternalEObject, org.eclipse.emf.ecore.util.BasicExtendedMetaData.EPackageExtendedMetaData.Holder, MapPackage

public class MapPackageImpl
extends org.eclipse.emf.ecore.impl.EPackageImpl
implements MapPackage

An implementation of the model Package.


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.infai.emo.matcher.map.MapPackage
MapPackage.Literals
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.EPackage
org.eclipse.emf.ecore.EPackage.Descriptor, org.eclipse.emf.ecore.EPackage.Registry
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore
 
Field Summary
private  org.eclipse.emf.ecore.EClass comparatorEClass
           
private  org.eclipse.emf.ecore.EClass comparatorWeightingsEClass
           
private  boolean isCreated
           
private static boolean isInited
           
private  boolean isInitialized
           
private  org.eclipse.emf.ecore.EClass mapModelEClass
           
private  org.eclipse.emf.ecore.EClass mappingElementEClass
           
private  org.eclipse.emf.ecore.EClass notMappedElementEClass
           
private  org.eclipse.emf.ecore.EClass settingsEClass
           
 
Fields inherited from class org.eclipse.emf.ecore.impl.EPackageImpl
eClassifiers, ecoreFactory, ecorePackage, eFactoryInstance, eNameToEClassifierMap, ePackageExtendedMetaData, eSubpackages, IS_ABSTRACT, IS_CHANGEABLE, IS_COMPOSITE, IS_DERIVED, IS_GENERATED_INSTANCE_CLASS, IS_ID, IS_INTERFACE, IS_ORDERED, IS_RESOLVABLE, IS_RESOLVE_PROXIES, IS_SERIALIZABLE, IS_TRANSIENT, IS_UNIQUE, IS_UNSETTABLE, IS_VOLATILE, NS_PREFIX_EDEFAULT, NS_URI_EDEFAULT, nsPrefix, nsURI
 
Fields inherited from class org.eclipse.emf.ecore.impl.ENamedElementImpl
name, NAME_EDEFAULT
 
Fields inherited from class org.eclipse.emf.ecore.impl.EModelElementImpl
eAnnotations, EFROZEN, ELAST_EMODEL_ELEMENT_FLAG
 
Fields inherited from class org.eclipse.emf.ecore.impl.FlatEObjectImpl
eContents, eCrossReferences, eProxyURI
 
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.infai.emo.matcher.map.MapPackage
COMPARATOR, COMPARATOR__NAME, COMPARATOR__VALUE, COMPARATOR_FEATURE_COUNT, COMPARATOR_WEIGHTINGS, COMPARATOR_WEIGHTINGS__ATTRIBUTE_COMPARATOR_WEIGHTING, COMPARATOR_WEIGHTINGS__CONTAINER_COMPARATOR_WEIGHTING, COMPARATOR_WEIGHTINGS__CONTENTS_COMPARATOR_WEIGHTING, COMPARATOR_WEIGHTINGS__GENERIC_COMPARATORS, COMPARATOR_WEIGHTINGS__META_CLASS_COMPARATOR_WEIGHTING, COMPARATOR_WEIGHTINGS__REFERENCE_COMPARATOR_WEIGHTING, COMPARATOR_WEIGHTINGS_FEATURE_COUNT, eINSTANCE, eNAME, eNS_PREFIX, eNS_URI, MAP_MODEL, MAP_MODEL__COMPARISON_SETTINGS, MAP_MODEL__LEFT_MODEL, MAP_MODEL__MAPPED_ELEMENTS, MAP_MODEL__NOT_MAPPED_ELEMENTS, MAP_MODEL__RIGHT_MODEL, MAP_MODEL_FEATURE_COUNT, MAPPING_ELEMENT, MAPPING_ELEMENT__LEFT_ELEMENT, MAPPING_ELEMENT__RIGHT_ELEMENT, MAPPING_ELEMENT__SIMILARITY, MAPPING_ELEMENT_FEATURE_COUNT, NOT_MAPPED_ELEMENT, NOT_MAPPED_ELEMENT__ELEMENT, NOT_MAPPED_ELEMENT__IN_LEFT_MODEL, NOT_MAPPED_ELEMENT_FEATURE_COUNT, SETTINGS, SETTINGS__USE_CROSS_PRODUCT, SETTINGS__WEIGHTINGS, SETTINGS_FEATURE_COUNT
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Constructor Summary
private MapPackageImpl()
          Creates an instance of the model Package, registered with EPackage.Registry by the package package URI value.
 
Method Summary
 void createPackageContents()
          Creates the meta-model objects for the package.
 org.eclipse.emf.ecore.EAttribute getComparator_Name()
           
 org.eclipse.emf.ecore.EAttribute getComparator_Value()
           
 org.eclipse.emf.ecore.EClass getComparator()
           
 org.eclipse.emf.ecore.EAttribute getComparatorWeightings_AttributeComparatorWeighting()
           
 org.eclipse.emf.ecore.EAttribute getComparatorWeightings_ContainerComparatorWeighting()
           
 org.eclipse.emf.ecore.EAttribute getComparatorWeightings_ContentsComparatorWeighting()
           
 org.eclipse.emf.ecore.EReference getComparatorWeightings_GenericComparators()
           
 org.eclipse.emf.ecore.EAttribute getComparatorWeightings_MetaClassComparatorWeighting()
           
 org.eclipse.emf.ecore.EAttribute getComparatorWeightings_ReferenceComparatorWeighting()
           
 org.eclipse.emf.ecore.EClass getComparatorWeightings()
           
 MapFactory getMapFactory()
           
 org.eclipse.emf.ecore.EReference getMapModel_ComparisonSettings()
           
 org.eclipse.emf.ecore.EAttribute getMapModel_LeftModel()
           
 org.eclipse.emf.ecore.EReference getMapModel_MappedElements()
           
 org.eclipse.emf.ecore.EReference getMapModel_NotMappedElements()
           
 org.eclipse.emf.ecore.EAttribute getMapModel_RightModel()
           
 org.eclipse.emf.ecore.EClass getMapModel()
           
 org.eclipse.emf.ecore.EReference getMappingElement_LeftElement()
           
 org.eclipse.emf.ecore.EReference getMappingElement_RightElement()
           
 org.eclipse.emf.ecore.EAttribute getMappingElement_Similarity()
           
 org.eclipse.emf.ecore.EClass getMappingElement()
           
 org.eclipse.emf.ecore.EReference getNotMappedElement_Element()
           
 org.eclipse.emf.ecore.EAttribute getNotMappedElement_InLeftModel()
           
 org.eclipse.emf.ecore.EClass getNotMappedElement()
           
 org.eclipse.emf.ecore.EAttribute getSettings_UseCrossProduct()
           
 org.eclipse.emf.ecore.EReference getSettings_Weightings()
           
 org.eclipse.emf.ecore.EClass getSettings()
           
static MapPackage init()
          Creates, registers, and initializes the Package for this model, and for any others upon which it depends.
 void initializePackageContents()
          Complete the initialization of the package and its meta-model.
 
Methods inherited from class org.eclipse.emf.ecore.impl.EPackageImpl
addAnnotation, addAnnotation, addEEnumLiteral, addEException, addEException, addEOperation, addEOperation, addEOperation, addEParameter, addEParameter, addEParameter, addEParameter, addEParameter, addETypeParameter, addETypeParameter, basicGetESuperPackage, basicSetEFactoryInstance, createEAttribute, createEClass, createEDataType, createEEnum, createEGenericType, createEGenericType, createEGenericType, createEReference, createResource, eBasicRemoveFromContainerFeature, eGet, eInverseAdd, eInverseRemove, eIsSet, eObjectForURIFragmentSegment, eSet, eSetProxyURI, eStaticClass, eUnset, fixEClassifiers, fixEEnumLiterals, fixEStructuralFeatures, fixInstanceClass, freeze, getEClassifier, getEClassifierGen, getEClassifiers, getEFactoryInstance, getESubpackages, getESuperPackage, getExtendedMetaData, getNsPrefix, getNsURI, initEAttribute, initEAttribute, initEAttribute, initEAttribute, initEAttribute, initEAttribute, initEAttribute, initEClass, initEClass, initEClass, initEDataType, initEDataType, initEDataType, initEEnum, initEOperation, initEReference, initEReference, initEReference, initEReference, initEReference, initEReference, initEReference, initializeFromLoadedEPackage, setEFactoryInstance, setExtendedMetaData, setGeneratedClassName, setInstanceTypeName, setNamespaceURI, setNsPrefix, setNsURI, toString
 
Methods inherited from class org.eclipse.emf.ecore.impl.ENamedElementImpl
eContents, eCrossReferences, getName, getNameGen, setName
 
Methods inherited from class org.eclipse.emf.ecore.impl.EModelElementImpl
eURIFragmentSegment, freeze, getEAnnotation, getEAnnotations, isFrozen, setFrozen
 
Methods inherited from class org.eclipse.emf.ecore.impl.FlatEObjectImpl
eIsProxy, eProperties, eProxyURI
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eSetClass, eSetDeliver
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, 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, eInverseRemove, eIsSet, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetDirectResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStore, eUnset, 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.EPackage
getEClassifier, getEClassifiers, getEFactoryInstance, getESubpackages, getESuperPackage, getNsPrefix, getNsURI, setEFactoryInstance, setNsPrefix, setNsURI
 
Methods inherited from interface org.eclipse.emf.ecore.ENamedElement
getName, setName
 
Methods inherited from interface org.eclipse.emf.ecore.EModelElement
getEAnnotation, getEAnnotations
 
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

mapModelEClass

private org.eclipse.emf.ecore.EClass mapModelEClass


notMappedElementEClass

private org.eclipse.emf.ecore.EClass notMappedElementEClass


mappingElementEClass

private org.eclipse.emf.ecore.EClass mappingElementEClass


settingsEClass

private org.eclipse.emf.ecore.EClass settingsEClass


comparatorWeightingsEClass

private org.eclipse.emf.ecore.EClass comparatorWeightingsEClass


comparatorEClass

private org.eclipse.emf.ecore.EClass comparatorEClass


isInited

private static boolean isInited


isCreated

private boolean isCreated


isInitialized

private boolean isInitialized

Constructor Detail

MapPackageImpl

private MapPackageImpl()
Creates an instance of the model Package, registered with EPackage.Registry by the package package URI value.

Note: the correct way to create the package is via the static factory method init(), which also performs initialization of the package, or returns the registered package, if one already exists.

See Also:
EPackage.Registry, MapPackage.eNS_URI, init()
Method Detail

init

public static MapPackage init()
Creates, registers, and initializes the Package for this model, and for any others upon which it depends. Simple dependencies are satisfied by calling this method on all dependent packages before doing anything else. This method drives initialization for interdependent packages directly, in parallel with this package, itself.

Of this package and its interdependencies, all packages which have not yet been registered by their URI values are first created and registered. The packages are then initialized in two steps: meta-model objects for all of the packages are created before any are initialized, since one package's meta-model objects may refer to those of another.

Invocation of this method will not affect any packages that have already been initialized.

See Also:
MapPackage.eNS_URI, createPackageContents(), initializePackageContents()

getMapModel

public org.eclipse.emf.ecore.EClass getMapModel()

Specified by:
getMapModel in interface MapPackage
Returns:
the meta object for class 'Model'.
See Also:
MapModel

getMapModel_LeftModel

public org.eclipse.emf.ecore.EAttribute getMapModel_LeftModel()

Specified by:
getMapModel_LeftModel in interface MapPackage
Returns:
the meta object for the attribute 'Left Model'.
See Also:
MapModel.getLeftModel(), MapPackage.getMapModel()

getMapModel_RightModel

public org.eclipse.emf.ecore.EAttribute getMapModel_RightModel()

Specified by:
getMapModel_RightModel in interface MapPackage
Returns:
the meta object for the attribute 'Right Model'.
See Also:
MapModel.getRightModel(), MapPackage.getMapModel()

getMapModel_MappedElements

public org.eclipse.emf.ecore.EReference getMapModel_MappedElements()

Specified by:
getMapModel_MappedElements in interface MapPackage
Returns:
the meta object for the containment reference list 'Mapped Elements'.
See Also:
MapModel.getMappedElements(), MapPackage.getMapModel()

getMapModel_NotMappedElements

public org.eclipse.emf.ecore.EReference getMapModel_NotMappedElements()

Specified by:
getMapModel_NotMappedElements in interface MapPackage
Returns:
the meta object for the containment reference list 'Not Mapped Elements'.
See Also:
MapModel.getNotMappedElements(), MapPackage.getMapModel()

getMapModel_ComparisonSettings

public org.eclipse.emf.ecore.EReference getMapModel_ComparisonSettings()

Specified by:
getMapModel_ComparisonSettings in interface MapPackage
Returns:
the meta object for the containment reference 'Comparison Settings'.
See Also:
MapModel.getComparisonSettings(), MapPackage.getMapModel()

getNotMappedElement

public org.eclipse.emf.ecore.EClass getNotMappedElement()

Specified by:
getNotMappedElement in interface MapPackage
Returns:
the meta object for class 'Not Mapped Element'.
See Also:
NotMappedElement

getNotMappedElement_Element

public org.eclipse.emf.ecore.EReference getNotMappedElement_Element()

Specified by:
getNotMappedElement_Element in interface MapPackage
Returns:
the meta object for the reference 'Element'.
See Also:
NotMappedElement.getElement(), MapPackage.getNotMappedElement()

getNotMappedElement_InLeftModel

public org.eclipse.emf.ecore.EAttribute getNotMappedElement_InLeftModel()

Specified by:
getNotMappedElement_InLeftModel in interface MapPackage
Returns:
the meta object for the attribute 'In Left Model'.
See Also:
NotMappedElement.isInLeftModel(), MapPackage.getNotMappedElement()

getMappingElement

public org.eclipse.emf.ecore.EClass getMappingElement()

Specified by:
getMappingElement in interface MapPackage
Returns:
the meta object for class 'Mapping Element'.
See Also:
MappingElement

getMappingElement_Similarity

public org.eclipse.emf.ecore.EAttribute getMappingElement_Similarity()

Specified by:
getMappingElement_Similarity in interface MapPackage
Returns:
the meta object for the attribute 'Similarity'.
See Also:
MappingElement.getSimilarity(), MapPackage.getMappingElement()

getMappingElement_LeftElement

public org.eclipse.emf.ecore.EReference getMappingElement_LeftElement()

Specified by:
getMappingElement_LeftElement in interface MapPackage
Returns:
the meta object for the reference 'Left Element'.
See Also:
MappingElement.getLeftElement(), MapPackage.getMappingElement()

getMappingElement_RightElement

public org.eclipse.emf.ecore.EReference getMappingElement_RightElement()

Specified by:
getMappingElement_RightElement in interface MapPackage
Returns:
the meta object for the reference 'Right Element'.
See Also:
MappingElement.getRightElement(), MapPackage.getMappingElement()

getSettings

public org.eclipse.emf.ecore.EClass getSettings()

Specified by:
getSettings in interface MapPackage
Returns:
the meta object for class 'Settings'.
See Also:
Settings

getSettings_UseCrossProduct

public org.eclipse.emf.ecore.EAttribute getSettings_UseCrossProduct()

Specified by:
getSettings_UseCrossProduct in interface MapPackage
Returns:
the meta object for the attribute 'Use Cross Product'.
See Also:
Settings.isUseCrossProduct(), MapPackage.getSettings()

getSettings_Weightings

public org.eclipse.emf.ecore.EReference getSettings_Weightings()

Specified by:
getSettings_Weightings in interface MapPackage
Returns:
the meta object for the containment reference 'Weightings'.
See Also:
Settings.getWeightings(), MapPackage.getSettings()

getComparatorWeightings

public org.eclipse.emf.ecore.EClass getComparatorWeightings()

Specified by:
getComparatorWeightings in interface MapPackage
Returns:
the meta object for class 'Comparator Weightings'.
See Also:
ComparatorWeightings

getComparatorWeightings_MetaClassComparatorWeighting

public org.eclipse.emf.ecore.EAttribute getComparatorWeightings_MetaClassComparatorWeighting()

Specified by:
getComparatorWeightings_MetaClassComparatorWeighting in interface MapPackage
Returns:
the meta object for the attribute 'Meta Class Comparator Weighting'.
See Also:
ComparatorWeightings.getMetaClassComparatorWeighting(), MapPackage.getComparatorWeightings()

getComparatorWeightings_AttributeComparatorWeighting

public org.eclipse.emf.ecore.EAttribute getComparatorWeightings_AttributeComparatorWeighting()

Specified by:
getComparatorWeightings_AttributeComparatorWeighting in interface MapPackage
Returns:
the meta object for the attribute 'Attribute Comparator Weighting'.
See Also:
ComparatorWeightings.getAttributeComparatorWeighting(), MapPackage.getComparatorWeightings()

getComparatorWeightings_ReferenceComparatorWeighting

public org.eclipse.emf.ecore.EAttribute getComparatorWeightings_ReferenceComparatorWeighting()

Specified by:
getComparatorWeightings_ReferenceComparatorWeighting in interface MapPackage
Returns:
the meta object for the attribute 'Reference Comparator Weighting'.
See Also:
ComparatorWeightings.getReferenceComparatorWeighting(), MapPackage.getComparatorWeightings()

getComparatorWeightings_ContainerComparatorWeighting

public org.eclipse.emf.ecore.EAttribute getComparatorWeightings_ContainerComparatorWeighting()

Specified by:
getComparatorWeightings_ContainerComparatorWeighting in interface MapPackage
Returns:
the meta object for the attribute 'Container Comparator Weighting'.
See Also:
ComparatorWeightings.getContainerComparatorWeighting(), MapPackage.getComparatorWeightings()

getComparatorWeightings_ContentsComparatorWeighting

public org.eclipse.emf.ecore.EAttribute getComparatorWeightings_ContentsComparatorWeighting()

Specified by:
getComparatorWeightings_ContentsComparatorWeighting in interface MapPackage
Returns:
the meta object for the attribute 'Contents Comparator Weighting'.
See Also:
ComparatorWeightings.getContentsComparatorWeighting(), MapPackage.getComparatorWeightings()

getComparatorWeightings_GenericComparators

public org.eclipse.emf.ecore.EReference getComparatorWeightings_GenericComparators()

Specified by:
getComparatorWeightings_GenericComparators in interface MapPackage
Returns:
the meta object for the containment reference list 'Generic Comparators'.
See Also:
ComparatorWeightings.getGenericComparators(), MapPackage.getComparatorWeightings()

getComparator

public org.eclipse.emf.ecore.EClass getComparator()

Specified by:
getComparator in interface MapPackage
Returns:
the meta object for class 'Comparator'.
See Also:
Comparator

getComparator_Name

public org.eclipse.emf.ecore.EAttribute getComparator_Name()

Specified by:
getComparator_Name in interface MapPackage
Returns:
the meta object for the attribute 'Name'.
See Also:
Comparator.getName(), MapPackage.getComparator()

getComparator_Value

public org.eclipse.emf.ecore.EAttribute getComparator_Value()

Specified by:
getComparator_Value in interface MapPackage
Returns:
the meta object for the attribute 'Value'.
See Also:
Comparator.getValue(), MapPackage.getComparator()

getMapFactory

public MapFactory getMapFactory()

Specified by:
getMapFactory in interface MapPackage
Returns:
the factory that creates the instances of the model.

createPackageContents

public void createPackageContents()
Creates the meta-model objects for the package. This method is guarded to have no affect on any invocation but its first.


initializePackageContents

public void initializePackageContents()
Complete the initialization of the package and its meta-model. This method is guarded to have no affect on any invocation but its first.