Package de.spraener.nxtgen.cartridges
Class AnnotatedCartridgeImpl
java.lang.Object
de.spraener.nxtgen.cartridges.AnnotatedCartridgeImpl
- All Implemented Interfaces:
Cartridge
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()The nane of the cartridge.Returns a list of Transformations to be executed before the generators are mapped.Do a Mapping of ModelElements inside the Model to CodeGeneratos.
-
Constructor Details
-
AnnotatedCartridgeImpl
public AnnotatedCartridgeImpl()
-
-
Method Details
-
getName
Description copied from interface:CartridgeThe nane of the cartridge. For logging purpose. -
getTransformations
Description copied from interface:CartridgeReturns a list of Transformations to be executed before the generators are mapped. NextGen will execute all Transformations of this cartridge on the same instance of a model. But each cartridge will start with a brand new model instance.
The Transformations are executed in exact the order they are listed here.
- Specified by:
getTransformationsin interfaceCartridge- Returns:
- a (maybe empty) list of Transformations to be executed.
- See Also:
-
mapGenerators
Description copied from interface:CartridgeDo a Mapping of ModelElements inside the Model to CodeGeneratos. This method is called after all transformations have been executed.- Specified by:
mapGeneratorsin interfaceCartridge- Returns:
-
getGeneratorWrappers
-