use of org.eclipse.vorto.codegen.api.ChainedCodeGeneratorTask in project vorto by eclipse.
the class ProSystGenerator method generateForEntity.
private void generateForEntity(InformationModel infomodel, InvocationContext ctx, Entity entity, IGeneratedWriter outputter) {
ChainedCodeGeneratorTask<Entity> generator = new ChainedCodeGeneratorTask<Entity>();
generator.addTask(new JavaClassGeneratorTask(JAVA_FILE_EXTENSION, SOURCE, entity.getNamespace(), GETTER_PREFIX, SETTER_PREFIX));
generator.generate(entity, ctx, outputter);
}
Aggregations