Class MigrationFactoryImpl
- java.lang.Object
-
- org.eclipse.emf.common.notify.impl.BasicNotifierImpl
-
- org.eclipse.emf.ecore.impl.BasicEObjectImpl
-
- org.eclipse.emf.ecore.impl.MinimalEObjectImpl
-
- org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
-
- org.eclipse.emf.ecore.impl.EModelElementImpl
-
- org.eclipse.emf.ecore.impl.EFactoryImpl
-
- org.eclipse.emf.edapt.spi.migration.impl.MigrationFactoryImpl
-
- 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.EStructuralFeature.Internal.DynamicValueHolder
,org.eclipse.emf.ecore.InternalEObject
,org.eclipse.emf.ecore.resource.impl.BinaryResourceImpl.DataConverter.Factory
,MigrationFactory
public class MigrationFactoryImpl extends org.eclipse.emf.ecore.impl.EFactoryImpl implements MigrationFactory
An implementation of the model Factory.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container.Dynamic
-
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
-
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList
-
-
Field Summary
-
Fields inherited from interface org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder
NIL
-
Fields inherited from interface org.eclipse.emf.edapt.spi.migration.MigrationFactory
eINSTANCE
-
-
Constructor Summary
Constructors Constructor Description MigrationFactoryImpl()
Creates an instance of the factory.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description String
convertDiagnosticChainToString(org.eclipse.emf.ecore.EDataType eDataType, Object instanceValue)
String
convertDiagnosticExceptionToString(org.eclipse.emf.ecore.EDataType eDataType, Object instanceValue)
String
convertToString(org.eclipse.emf.ecore.EDataType eDataType, Object instanceValue)
String
convertURIToString(org.eclipse.emf.ecore.EDataType eDataType, Object instanceValue)
org.eclipse.emf.ecore.EObject
create(org.eclipse.emf.ecore.EClass eClass)
AttributeSlot
createAttributeSlot()
org.eclipse.emf.common.util.DiagnosticChain
createDiagnosticChainFromString(org.eclipse.emf.ecore.EDataType eDataType, String initialValue)
DiagnosticException
createDiagnosticExceptionFromString(org.eclipse.emf.ecore.EDataType eDataType, String initialValue)
Object
createFromString(org.eclipse.emf.ecore.EDataType eDataType, String initialValue)
Instance
createInstance()
Metamodel
createMetamodel()
MetamodelResource
createMetamodelResource()
Model
createModel()
ModelResource
createModelResource()
ReferenceSlot
createReferenceSlot()
Repository
createRepository()
Type
createType()
org.eclipse.emf.common.util.URI
createURIFromString(org.eclipse.emf.ecore.EDataType eDataType, String initialValue)
MigrationPackage
getMigrationPackage()
static MigrationPackage
getPackage()
Deprecated.static MigrationFactory
init()
Creates the default factory implementation.-
Methods inherited from class org.eclipse.emf.ecore.impl.EFactoryImpl
basicSetEPackage, create, eGet, eInverseAdd, eInverseRemove, eInvoke, eIsSet, eSet, eUnset, getEPackage, setEPackage
-
Methods inherited from class org.eclipse.emf.ecore.impl.EModelElementImpl
eObjectForURIFragmentSegment, eURIFragmentSegment, getEAnnotation, getEAnnotations
-
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eInternalContainer
-
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
dynamicGet, dynamicSet, dynamicUnset, eAdapters, eClass, eContainerFeatureID, eContents, eCrossReferences, eDeliver, eDirectResource, eIsProxy, eProxyURI, eSetClass, eSetDeliver, eSetProxyURI
-
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseRemove, eInvoke, eIsSet, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eStore, eUnset, eVirtualGet, eVirtualGet, eVirtualIsSet, eVirtualSet, eVirtualUnset, toString
-
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotify
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.eclipse.emf.ecore.EModelElement
getEAnnotation, getEAnnotations
-
-
-
-
Method Detail
-
init
public static MigrationFactory init()
Creates the default factory implementation.
-
create
public org.eclipse.emf.ecore.EObject create(org.eclipse.emf.ecore.EClass eClass)
- Specified by:
create
in interfaceorg.eclipse.emf.ecore.EFactory
- Overrides:
create
in classorg.eclipse.emf.ecore.impl.EFactoryImpl
-
createFromString
public Object createFromString(org.eclipse.emf.ecore.EDataType eDataType, String initialValue)
- Specified by:
createFromString
in interfaceorg.eclipse.emf.ecore.EFactory
- Overrides:
createFromString
in classorg.eclipse.emf.ecore.impl.EFactoryImpl
-
convertToString
public String convertToString(org.eclipse.emf.ecore.EDataType eDataType, Object instanceValue)
- Specified by:
convertToString
in interfaceorg.eclipse.emf.ecore.EFactory
- Overrides:
convertToString
in classorg.eclipse.emf.ecore.impl.EFactoryImpl
-
createModel
public Model createModel()
- Specified by:
createModel
in interfaceMigrationFactory
- Returns:
- a new object of class 'Model'.
-
createMetamodel
public Metamodel createMetamodel()
- Specified by:
createMetamodel
in interfaceMigrationFactory
- Returns:
- a new object of class 'Metamodel'.
-
createType
public Type createType()
- Specified by:
createType
in interfaceMigrationFactory
- Returns:
- a new object of class 'Type'.
-
createInstance
public Instance createInstance()
- Specified by:
createInstance
in interfaceMigrationFactory
- Returns:
- a new object of class 'Instance'.
-
createAttributeSlot
public AttributeSlot createAttributeSlot()
- Specified by:
createAttributeSlot
in interfaceMigrationFactory
- Returns:
- a new object of class 'Attribute Slot'.
-
createReferenceSlot
public ReferenceSlot createReferenceSlot()
- Specified by:
createReferenceSlot
in interfaceMigrationFactory
- Returns:
- a new object of class 'Reference Slot'.
-
createRepository
public Repository createRepository()
- Specified by:
createRepository
in interfaceMigrationFactory
- Returns:
- a new object of class 'Repository'.
-
createModelResource
public ModelResource createModelResource()
- Specified by:
createModelResource
in interfaceMigrationFactory
- Returns:
- a new object of class 'Model Resource'.
-
createMetamodelResource
public MetamodelResource createMetamodelResource()
- Specified by:
createMetamodelResource
in interfaceMigrationFactory
- Returns:
- a new object of class 'Metamodel Resource'.
-
createDiagnosticChainFromString
public org.eclipse.emf.common.util.DiagnosticChain createDiagnosticChainFromString(org.eclipse.emf.ecore.EDataType eDataType, String initialValue)
-
convertDiagnosticChainToString
public String convertDiagnosticChainToString(org.eclipse.emf.ecore.EDataType eDataType, Object instanceValue)
-
createURIFromString
public org.eclipse.emf.common.util.URI createURIFromString(org.eclipse.emf.ecore.EDataType eDataType, String initialValue)
-
convertURIToString
public String convertURIToString(org.eclipse.emf.ecore.EDataType eDataType, Object instanceValue)
-
createDiagnosticExceptionFromString
public DiagnosticException createDiagnosticExceptionFromString(org.eclipse.emf.ecore.EDataType eDataType, String initialValue)
-
convertDiagnosticExceptionToString
public String convertDiagnosticExceptionToString(org.eclipse.emf.ecore.EDataType eDataType, Object instanceValue)
-
getMigrationPackage
public MigrationPackage getMigrationPackage()
- Specified by:
getMigrationPackage
in interfaceMigrationFactory
- Returns:
- the package supported by this factory.
-
getPackage
@Deprecated public static MigrationPackage getPackage()
Deprecated.
-
-