Class AbstractTypeMappingFactory
java.lang.Object
org.eclipse.net4j.util.factory.Factory
org.eclipse.emf.cdo.server.db.mapping.AbstractTypeMappingFactory
- All Implemented Interfaces:
ITypeMapping.Factory,org.eclipse.net4j.util.factory.IFactory,org.eclipse.net4j.util.factory.IFactoryKeyAware
public abstract class AbstractTypeMappingFactory
extends org.eclipse.net4j.util.factory.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
- Author:
- Stefan Winkler
-
Field Summary
Fields inherited from class org.eclipse.net4j.util.factory.Factory
NO_DESCRIPTIONFields inherited from interface org.eclipse.emf.cdo.server.db.mapping.ITypeMapping.Factory
PRODUCT_GROUP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract ITypeMappingfinal ITypeMapping.DescriptorReturn the descriptor of the kind of type mapping created by this factory.Methods inherited from class org.eclipse.net4j.util.factory.Factory
getDescriptionFor, getFactoryKey, getKey, getProductGroup, getType, productCreationException, productCreationException, setFactoryKey, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.net4j.util.factory.IFactory
getDescriptionFor, getKey
-
Constructor Details
-
AbstractTypeMappingFactory
-
-
Method Details
-
create
public abstract ITypeMapping create(String description) throws org.eclipse.net4j.util.factory.ProductCreationException - Specified by:
createin interfaceorg.eclipse.net4j.util.factory.IFactory- Throws:
org.eclipse.net4j.util.factory.ProductCreationException
-
getDescriptor
Description copied from interface:ITypeMapping.FactoryReturn the descriptor of the kind of type mapping created by this factory.- Specified by:
getDescriptorin interfaceITypeMapping.Factory
-