Interface ITypeMapping.Provider
- Enclosing interface:
- ITypeMapping
public static interface ITypeMapping.Provider
A provider for type mapping information. This provider is used by the
TypeMappingRegistry
to create an
ITypeMapping
instance 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
Modifier and TypeInterfaceDescriptionstatic class
A factory for typeMappingProviders. -
Field Summary
Modifier and TypeFieldDescriptionstatic final ITypeMapping.Provider
The one global (singleton) provider instance. -
Method Summary
Modifier and TypeMethodDescriptioncreateTypeMapping
(IMappingStrategy mappingStrategy, EStructuralFeature feature) Create anITypeMapping
implementation.
-
Field Details
-
INSTANCE
The one global (singleton) provider instance.
-
-
Method Details
-
createTypeMapping
Create anITypeMapping
implementation.- Parameters:
mappingStrategy
- the mapping strategyfeature
- the feature the new type mapping shall be responsible for- Returns:
- the newly created
ITypeMapping
instance
-