public abstract class AbstractTypeMappingFactory extends Factory implements ITypeMapping.Factory
ITypeMapping.Factory
. Implementors should implement their custom
create(String)
method and construct the factory using their custom descriptor. Subclasses must have a
default constructor!PRODUCT_GROUP
Constructor and Description |
---|
AbstractTypeMappingFactory(ITypeMapping.Descriptor descriptor) |
Modifier and Type | Method and Description |
---|---|
abstract ITypeMapping |
create(String description) |
ITypeMapping.Descriptor |
getDescriptor()
Return the descriptor of the kind of type mapping created by this factory.
|
getDescriptionFor, getKey, getProductGroup, getType, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getDescriptionFor, getKey
public AbstractTypeMappingFactory(ITypeMapping.Descriptor descriptor)
public abstract ITypeMapping create(String description) throws ProductCreationException
create
in interface IFactory
ProductCreationException
public final ITypeMapping.Descriptor getDescriptor()
ITypeMapping.Factory
getDescriptor
in interface ITypeMapping.Factory
Copyright (c) 2011-2015 Eike Stepper (Berlin, Germany) and others.