Package de.ubs.xdm3.wrapper
Class GeneratorWrapper<P extends Processor>
java.lang.Object
de.ubs.xdm3.wrapper.GeneratorWrapper<P>
- Type Parameters:
P- the type of processor managed by this wrapper
- Direct Known Subclasses:
AttributeGeneratorWrapper,EntityGeneratorWrapper,EntityScenarioGeneratorWrapper
Abstract base class for generator wrappers.
This class provides common functionality for managing processors and their parameters.
Subclasses should extend this class to implement specific generator logic.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidinit()This function is called once when the generator is created.
-
Field Details
-
processorFactory
-
processor
-
parameters
-
-
Method Details
-
init
public void init()This function is called once when the generator is created. It can be used to initialize the generator. This method can be overridden by the generator script to perform custom initialization. For example, it can be used to set up a mapping table later used in the generateAttribute function.
-