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
 
 public abstract class AbstractTypeMappingFactory extends org.eclipse.net4j.util.factory.Factory implements ITypeMapping.Factory Abstract implementation forITypeMapping.Factory. Implementors should implement their customcreate(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 interface org.eclipse.emf.cdo.server.db.mapping.ITypeMapping.FactoryPRODUCT_GROUP
 
- 
 - 
Constructor SummaryConstructors Constructor Description AbstractTypeMappingFactory(ITypeMapping.Descriptor descriptor)
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract ITypeMappingcreate(java.lang.String description)ITypeMapping.DescriptorgetDescriptor()Return the descriptor of the kind of type mapping created by this factory.- 
Methods inherited from class org.eclipse.net4j.util.factory.FactorygetDescriptionFor, getKey, getProductGroup, getType, toString
 
- 
 
- 
- 
- 
Constructor Detail- 
AbstractTypeMappingFactorypublic AbstractTypeMappingFactory(ITypeMapping.Descriptor descriptor) 
 
- 
 - 
Method Detail- 
createpublic abstract ITypeMapping create(java.lang.String description) throws org.eclipse.net4j.util.factory.ProductCreationException - Specified by:
- createin interface- org.eclipse.net4j.util.factory.IFactory
- Throws:
- org.eclipse.net4j.util.factory.ProductCreationException
 
 - 
getDescriptorpublic final ITypeMapping.Descriptor getDescriptor() Description copied from interface:ITypeMapping.FactoryReturn the descriptor of the kind of type mapping created by this factory.- Specified by:
- getDescriptorin interface- ITypeMapping.Factory
 
 
- 
 
-