ch.sahits.codegen.model
Interface IBasicDBDefinitionPageGeneratable
- All Superinterfaces:
- IBasicDBDefinitionPage
public interface IBasicDBDefinitionPageGeneratable
- extends IBasicDBDefinitionPage
This interface enrices the super interface by funcianaly needed by model factory.
- Since:
- 2.1.0
- Author:
- Andi Hotz, Sahits GmbH
getModelGenerator
IBasicDBConnectionModelGenerator getModelGenerator(java.lang.String key)
- Retrieve the model generator for a definition page. Basically any implementation
of this class should also be implemented as static method since when calling this
method the calling wizard may be unknown in the calling class.
The Instance that is returned implements a subinterface of
IBasicDBConnectionModelGenerator
which provides the class with an init method appropriate for the need of the code
that is to be created
- Parameters:
key - Any key value that helps to select the correct generator
- Returns:
- Model generator for a connection