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) 2014 Eike Stepper (Berlin, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html