org.eclipse.emf.cdo.server.db.mapping
Class AbstractTypeMappingFactory
java.lang.Object
org.eclipse.net4j.util.factory.Factory
org.eclipse.emf.cdo.server.db.mapping.AbstractTypeMappingFactory
- All Implemented Interfaces:
- ITypeMapping.Factory, IFactory
- public abstract class AbstractTypeMappingFactory
- extends Factory
- implements ITypeMapping.Factory
Abstract implementation for ITypeMapping.Factory
. Implementors should implement their custom
create(String)
method and construct the factory using their custom descriptor. Subclasses must have a
default constructor!
- Since:
- 4.0
AbstractTypeMappingFactory
public AbstractTypeMappingFactory(ITypeMapping.Descriptor descriptor)
create
public abstract ITypeMapping create(String description)
throws ProductCreationException
- Specified by:
create
in interface IFactory
- Throws:
ProductCreationException
getDescriptor
public final ITypeMapping.Descriptor getDescriptor()
- Description copied from interface:
ITypeMapping.Factory
- Return the descriptor of the kind of type mapping created by this factory.
- Specified by:
getDescriptor
in interface ITypeMapping.Factory
Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.