Interface ITypeMapping.Provider
-
- Enclosing interface:
- ITypeMapping
public static interface ITypeMapping.ProviderA provider for type mapping information. This provider is used by theTypeMappingRegistryto create anITypeMappinginstance suitable for a given feature and DB field. Usually, one factory is responsible for one type mapping.- Since:
- 4.0
- Author:
- Stefan Winkler
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classITypeMapping.Provider.FactoryA factory for typeMappingProviders.
-
Field Summary
Fields Modifier and Type Field Description static ITypeMapping.ProviderINSTANCEThe one global (singleton) provider instance.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ITypeMappingcreateTypeMapping(IMappingStrategy mappingStrategy, org.eclipse.emf.ecore.EStructuralFeature feature)Create anITypeMappingimplementation.
-
-
-
Field Detail
-
INSTANCE
static final ITypeMapping.Provider INSTANCE
The one global (singleton) provider instance.
-
-
Method Detail
-
createTypeMapping
ITypeMapping createTypeMapping(IMappingStrategy mappingStrategy, org.eclipse.emf.ecore.EStructuralFeature feature)
Create anITypeMappingimplementation.- Parameters:
mappingStrategy- the mapping strategyfeature- the feature the new type mapping shall be responsible for- Returns:
- the newly created
ITypeMappinginstance
-
-