org.infai.emo.matcher.diff.impl
Class DiffFactoryImpl

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.EFactoryImpl
                          extended by org.infai.emo.matcher.diff.impl.DiffFactoryImpl
All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EFactory, org.eclipse.emf.ecore.EModelElement, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject, DiffFactory

public class DiffFactoryImpl
extends org.eclipse.emf.ecore.impl.EFactoryImpl
implements DiffFactory

An implementation of the model Factory.


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
 
Fields inherited from class org.eclipse.emf.ecore.impl.EFactoryImpl
EDATE_FORMATS, ePackage
 
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.diff.DiffFactory
eINSTANCE
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Constructor Summary
DiffFactoryImpl()
          Creates an instance of the factory
 
Method Summary
 java.lang.String convertDifferenceTypeToString(org.eclipse.emf.ecore.EDataType eDataType, java.lang.Object instanceValue)
           
 java.lang.String convertToString(org.eclipse.emf.ecore.EDataType eDataType, java.lang.Object instanceValue)
           
 org.eclipse.emf.ecore.EObject create(org.eclipse.emf.ecore.EClass eClass)
           
 AddDelModelElement createAddDelModelElement()
           
 ChangeAttribute createChangeAttribute()
           
 ChangeReference createChangeReference()
           
 DifferenceType createDifferenceTypeFromString(org.eclipse.emf.ecore.EDataType eDataType, java.lang.String initialValue)
           
 DiffModel createDiffModel()
           
 java.lang.Object createFromString(org.eclipse.emf.ecore.EDataType eDataType, java.lang.String initialValue)
           
 Group createGroup()
           
 Input createInput()
           
 MoveModelElement createMoveModelElement()
           
 DiffPackage getDiffPackage()
           
static DiffPackage getPackage()
          Deprecated.  
static DiffFactory init()
          Creates the default factory implementation
 
Methods inherited from class org.eclipse.emf.ecore.impl.EFactoryImpl
basicCreate, basicSetEPackage, collapseWhiteSpace, convertToString, createFromString, eGet, eInverseAdd, eInverseRemove, eIsSet, eSet, eStaticClass, eUnset, getEPackage, replaceWhiteSpace, setEPackage
 
Methods inherited from class org.eclipse.emf.ecore.impl.EModelElementImpl
eObjectForURIFragmentSegment, eURIFragmentSegment, freeze, freeze, getEAnnotation, getEAnnotations, isFrozen, setFrozen
 
Methods inherited from class org.eclipse.emf.ecore.impl.FlatEObjectImpl
eContents, eCrossReferences, eIsProxy, eProperties, eProxyURI, eSetProxyURI
 
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, eBasicRemoveFromContainerFeature, 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, toString
 
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.EFactory
getEPackage, setEPackage
 
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
 

Constructor Detail

DiffFactoryImpl

public DiffFactoryImpl()
Creates an instance of the factory.

Method Detail

init

public static DiffFactory init()
Creates the default factory implementation.


create

public org.eclipse.emf.ecore.EObject create(org.eclipse.emf.ecore.EClass eClass)

Specified by:
create in interface org.eclipse.emf.ecore.EFactory
Overrides:
create in class org.eclipse.emf.ecore.impl.EFactoryImpl

createFromString

public java.lang.Object createFromString(org.eclipse.emf.ecore.EDataType eDataType,
                                         java.lang.String initialValue)

Specified by:
createFromString in interface org.eclipse.emf.ecore.EFactory
Overrides:
createFromString in class org.eclipse.emf.ecore.impl.EFactoryImpl

convertToString

public java.lang.String convertToString(org.eclipse.emf.ecore.EDataType eDataType,
                                        java.lang.Object instanceValue)

Specified by:
convertToString in interface org.eclipse.emf.ecore.EFactory
Overrides:
convertToString in class org.eclipse.emf.ecore.impl.EFactoryImpl

createInput

public Input createInput()

Specified by:
createInput in interface DiffFactory
Returns:
a new object of class 'Input'.

createDiffModel

public DiffModel createDiffModel()

Specified by:
createDiffModel in interface DiffFactory
Returns:
a new object of class 'Model'.

createGroup

public Group createGroup()

Specified by:
createGroup in interface DiffFactory
Returns:
a new object of class 'Group'.

createAddDelModelElement

public AddDelModelElement createAddDelModelElement()

Specified by:
createAddDelModelElement in interface DiffFactory
Returns:
a new object of class 'Add Del Model Element'.

createMoveModelElement

public MoveModelElement createMoveModelElement()

Specified by:
createMoveModelElement in interface DiffFactory
Returns:
a new object of class 'Move Model Element'.

createChangeAttribute

public ChangeAttribute createChangeAttribute()

Specified by:
createChangeAttribute in interface DiffFactory
Returns:
a new object of class 'Change Attribute'.

createChangeReference

public ChangeReference createChangeReference()

Specified by:
createChangeReference in interface DiffFactory
Returns:
a new object of class 'Change Reference'.

createDifferenceTypeFromString

public DifferenceType createDifferenceTypeFromString(org.eclipse.emf.ecore.EDataType eDataType,
                                                     java.lang.String initialValue)


convertDifferenceTypeToString

public java.lang.String convertDifferenceTypeToString(org.eclipse.emf.ecore.EDataType eDataType,
                                                      java.lang.Object instanceValue)


getDiffPackage

public DiffPackage getDiffPackage()

Specified by:
getDiffPackage in interface DiffFactory
Returns:
the package supported by this factory.

getPackage

@Deprecated
public static DiffPackage getPackage()
Deprecated.