Search in sources :

Example 1 with Enum

use of org.eclipse.vorto.core.api.model.datatype.Enum in project vorto by eclipse.

the class ProSystGenerator method generate.

@Override
public IGenerationResult generate(InformationModel infomodel, InvocationContext ctx, IVortoCodeGenProgressMonitor monitor) throws VortoCodeGeneratorException {
    GenerationResultZip zipOutputter = new GenerationResultZip(infomodel, getServiceKey());
    Set<EObject> visited = new HashSet<>();
    Set<String> exports = new HashSet<>();
    for (FunctionblockProperty fbp : infomodel.getProperties()) {
        Set<String> imports = new HashSet<>();
        FunctionBlock fb = fbp.getType().getFunctionblock();
        for (Entity entity : Utils.getReferencedEntities(fb)) {
            if (!visited.contains(entity)) {
                generateForEntity(infomodel, ctx, entity, zipOutputter);
                visited.add(entity);
            }
            imports.add(entity.getNamespace());
            exports.add(entity.getNamespace());
        }
        for (Enum en : Utils.getReferencedEnums(fb)) {
            if (!visited.contains(en)) {
                generateForEnum(infomodel, ctx, en, zipOutputter);
                visited.add(en);
            }
            imports.add(en.getNamespace());
            exports.add(en.getNamespace());
        }
        exports.add(infomodel.getNamespace());
        generateForFunctionBlock(infomodel, ctx, fbp.getType(), zipOutputter, imports.toArray(new String[imports.size()]));
    }
    generateEclipseProject(infomodel, ctx, zipOutputter, exports);
    return zipOutputter;
}
Also used : Enum(org.eclipse.vorto.core.api.model.datatype.Enum) Entity(org.eclipse.vorto.core.api.model.datatype.Entity) GenerationResultZip(org.eclipse.vorto.codegen.api.GenerationResultZip) EObject(org.eclipse.emf.ecore.EObject) FunctionblockProperty(org.eclipse.vorto.core.api.model.informationmodel.FunctionblockProperty) FunctionBlock(org.eclipse.vorto.core.api.model.functionblock.FunctionBlock) HashSet(java.util.HashSet)

Example 2 with Enum

use of org.eclipse.vorto.core.api.model.datatype.Enum in project vorto by eclipse.

the class ProSystGenerator method generateForEnum.

private void generateForEnum(InformationModel infomodel, InvocationContext ctx, Enum en, IGeneratedWriter outputter) {
    ChainedCodeGeneratorTask<Enum> generator = new ChainedCodeGeneratorTask<Enum>();
    generator.addTask(new JavaEnumGeneratorTask(JAVA_FILE_EXTENSION, SOURCE, en.getNamespace()));
    generator.generate(en, ctx, outputter);
}
Also used : Enum(org.eclipse.vorto.core.api.model.datatype.Enum) JavaEnumGeneratorTask(org.eclipse.vorto.codegen.prosystfi.tasks.JavaEnumGeneratorTask) ChainedCodeGeneratorTask(org.eclipse.vorto.codegen.api.ChainedCodeGeneratorTask)

Example 3 with Enum

use of org.eclipse.vorto.core.api.model.datatype.Enum in project vorto by eclipse.

the class CoAPGenerator method generate.

public IGenerationResult generate(InformationModel infomodel, InvocationContext mappingContext, IVortoCodeGenProgressMonitor monitor) throws VortoCodeGeneratorException {
    GenerationResultZip zipOutputter = new GenerationResultZip(infomodel, getServiceKey());
    ChainedCodeGeneratorTask<InformationModel> generator = new ChainedCodeGeneratorTask<InformationModel>();
    /*
		/ Generate the client part...
		*/
    String CLIENT_PROJ = infomodel.getName() + COAP_CLIENT_PROJECT_SUFFIX;
    initPaths(CLIENT_PROJ);
    generator.addTask(new CoAPClientInformationModelGeneratorTask(JAVA_FILE_EXTENSION, imTargetPath, IM_PACKAGE, JAVA_INTERFACE_PREFIX, JAVA_IMPL_SUFFIX, GETTER_PREFIX, SETTER_PREFIX, FB_INTERFACE_PACKAGE, FB_IMPL_PACKAGE));
    generator.addTask(new JavaInformationModelInterfaceGeneratorTask(JAVA_FILE_EXTENSION, imTargetPath, IM_PACKAGE, JAVA_INTERFACE_PREFIX, GETTER_PREFIX, SETTER_PREFIX, FB_INTERFACE_PACKAGE));
    generator.addTask(new GeneratorTaskFromFileTemplate<InformationModel>(new ClientTemplate(coapClientPath, COAP_CLIENT_PACKAGE)));
    generator.addTask(new GeneratorTaskFromFileTemplate<InformationModel>(new CoAPMethodTemplate(coapClientPath, COAP_CLIENT_PACKAGE)));
    generator.addTask(new GeneratorTaskFromFileTemplate<InformationModel>(new ClientDemoAppTemplate(coapDemoPath, COAP_DEMO_PACKAGE)));
    generator.addTask(new GeneratorTaskFromFileTemplate<InformationModel>(new PomFileTemplate("artifact", COAP_DEMO_PACKAGE + ".ClientDemoApp", CLIENT_PROJ)));
    generator.generate(infomodel, mappingContext, zipOutputter);
    for (FunctionblockProperty fbp : infomodel.getProperties()) {
        FunctionBlock fb = fbp.getType().getFunctionblock();
        for (Entity entity : Utils.getReferencedEntities(fb)) {
            generateForEntity(entity, zipOutputter);
        }
        for (Enum en : Utils.getReferencedEnums(fb)) {
            generateForEnum(en, zipOutputter);
        }
        for (Operation op : fb.getOperations()) {
            generateForOperation(op, zipOutputter);
        }
        if (fb.getStatus() != null) {
            for (Property property : fb.getStatus().getProperties()) {
                generateForProperty(property, zipOutputter);
            }
        }
        this.generateForClientFunctionBlock(fbp.getType(), zipOutputter);
    }
    /*
		/ Generate the server part...
		*/
    String SERVER_PROJ = infomodel.getName() + COAP_SERVER_PROJECT_SUFFIX;
    initPaths(SERVER_PROJ);
    generator.addTask(new CoAPServerGeneratorTask(COAP_SERVER_NAME, COAP_SERVER_PACKAGE, JAVA_FILE_EXTENSION, coapServerPath, JAVA_INTERFACE_PREFIX + COAP_REQUEST_HANDLER_NAME, COAP_REQUEST_HANDLER_PACKAGE));
    generator.addTask(new CoAPServerIMRequestHandlerGeneratorTask(COAP_REQUEST_HANDLER_NAME, JAVA_FILE_EXTENSION, coapRequestHandlerPath, COAP_REQUEST_HANDLER_PACKAGE, JAVA_INTERFACE_PREFIX, COAP_PRIM_TYPE_WRAPPER_SUFFIX, IM_PACKAGE, DT_PACKAGE, getOpParamSetPackage(), getPrimitiveParamWrapperPackage()));
    generator.addTask(new JavaInformationModelGeneratorTask(JAVA_FILE_EXTENSION, imTargetPath, IM_PACKAGE, JAVA_INTERFACE_PREFIX, JAVA_IMPL_SUFFIX, GETTER_PREFIX, SETTER_PREFIX, FB_INTERFACE_PACKAGE, FB_IMPL_PACKAGE));
    generator.addTask(new JavaInformationModelInterfaceGeneratorTask(JAVA_FILE_EXTENSION, imTargetPath, IM_PACKAGE, JAVA_INTERFACE_PREFIX, GETTER_PREFIX, SETTER_PREFIX, FB_INTERFACE_PACKAGE, FB_IMPL_PACKAGE));
    generator.addTask(new GeneratorTaskFromFileTemplate<InformationModel>(new ICoAPRequestHandlerTemplate(coapRequestHandlerPath, COAP_REQUEST_HANDLER_PACKAGE)));
    generator.addTask(new GeneratorTaskFromFileTemplate<InformationModel>(new JsonTransformerTemplate(coapRequestHandlerPath, COAP_REQUEST_HANDLER_PACKAGE)));
    generator.addTask(new GeneratorTaskFromFileTemplate<InformationModel>(new URIAnalyzerTemplate(coapRequestHandlerPath, COAP_REQUEST_HANDLER_PACKAGE)));
    generator.addTask(new GeneratorTaskFromFileTemplate<InformationModel>(new ResourceTemplate(coapServerPath, COAP_SERVER_PACKAGE, COAP_REQUEST_HANDLER_PACKAGE)));
    generator.addTask(new GeneratorTaskFromFileTemplate<InformationModel>(new LinkTemplate(coapServerPath, COAP_SERVER_PACKAGE)));
    generator.addTask(new GeneratorTaskFromFileTemplate<InformationModel>(new CoAPServerDemoAppTemplate(coapDemoPath, COAP_DEMO_PACKAGE, COAP_REQUEST_HANDLER_PACKAGE, COAP_SERVER_PACKAGE)));
    generator.addTask(new GeneratorTaskFromFileTemplate<InformationModel>(new PomFileTemplate("artifact", COAP_DEMO_PACKAGE + ".ServerDemoApp", SERVER_PROJ)));
    generator.generate(infomodel, mappingContext, zipOutputter);
    for (FunctionblockProperty fbp : infomodel.getProperties()) {
        this.generateForFunctionBlock(fbp.getType(), zipOutputter);
        FunctionBlock fb = fbp.getType().getFunctionblock();
        for (Entity entity : Utils.getReferencedEntities(fb)) {
            generateForEntity(entity, zipOutputter);
        }
        for (Enum en : Utils.getReferencedEnums(fb)) {
            generateForEnum(en, zipOutputter);
        }
        for (Operation op : fb.getOperations()) {
            generateForOperation(op, zipOutputter);
        }
    }
    return zipOutputter;
}
Also used : Enum(org.eclipse.vorto.core.api.model.datatype.Enum) Entity(org.eclipse.vorto.core.api.model.datatype.Entity) ICoAPRequestHandlerTemplate(org.eclipse.vorto.codegen.coap.server.templates.ICoAPRequestHandlerTemplate) InformationModel(org.eclipse.vorto.core.api.model.informationmodel.InformationModel) ClientTemplate(org.eclipse.vorto.codegen.coap.client.templates.ClientTemplate) ClientDemoAppTemplate(org.eclipse.vorto.codegen.coap.client.templates.ClientDemoAppTemplate) Operation(org.eclipse.vorto.core.api.model.functionblock.Operation) JavaInformationModelInterfaceGeneratorTask(org.eclipse.vorto.codegen.coap.common.tasks.JavaInformationModelInterfaceGeneratorTask) JavaInformationModelGeneratorTask(org.eclipse.vorto.codegen.coap.common.tasks.JavaInformationModelGeneratorTask) PomFileTemplate(org.eclipse.vorto.codegen.coap.common.templates.PomFileTemplate) CoAPServerDemoAppTemplate(org.eclipse.vorto.codegen.coap.server.templates.CoAPServerDemoAppTemplate) FunctionblockProperty(org.eclipse.vorto.core.api.model.informationmodel.FunctionblockProperty) Property(org.eclipse.vorto.core.api.model.datatype.Property) FunctionblockProperty(org.eclipse.vorto.core.api.model.informationmodel.FunctionblockProperty) FunctionBlock(org.eclipse.vorto.core.api.model.functionblock.FunctionBlock) CoAPClientInformationModelGeneratorTask(org.eclipse.vorto.codegen.coap.client.tasks.CoAPClientInformationModelGeneratorTask) CoAPServerIMRequestHandlerGeneratorTask(org.eclipse.vorto.codegen.coap.server.tasks.CoAPServerIMRequestHandlerGeneratorTask) GenerationResultZip(org.eclipse.vorto.codegen.api.GenerationResultZip) ChainedCodeGeneratorTask(org.eclipse.vorto.codegen.api.ChainedCodeGeneratorTask) CoAPMethodTemplate(org.eclipse.vorto.codegen.coap.client.templates.CoAPMethodTemplate) URIAnalyzerTemplate(org.eclipse.vorto.codegen.coap.server.templates.URIAnalyzerTemplate) ResourceTemplate(org.eclipse.vorto.codegen.coap.server.templates.ResourceTemplate) CoAPServerGeneratorTask(org.eclipse.vorto.codegen.coap.server.tasks.CoAPServerGeneratorTask) JsonTransformerTemplate(org.eclipse.vorto.codegen.coap.server.templates.JsonTransformerTemplate) LinkTemplate(org.eclipse.vorto.codegen.coap.server.templates.LinkTemplate)

Example 4 with Enum

use of org.eclipse.vorto.core.api.model.datatype.Enum in project vorto by eclipse.

the class JavabeanGenerator method generate.

public IGenerationResult generate(InformationModel infomodel, InvocationContext invocationContext, IVortoCodeGenProgressMonitor monitor) throws VortoCodeGeneratorException {
    GenerationResultZip zipOutputter = new GenerationResultZip(infomodel, getServiceKey());
    for (FunctionblockProperty fbp : infomodel.getProperties()) {
        this.generateForFunctionBlock(infomodel, fbp.getType(), zipOutputter);
        FunctionBlock fb = fbp.getType().getFunctionblock();
        for (Entity entity : Utils.getReferencedEntities(fb)) {
            generateForEntity(infomodel, entity, zipOutputter);
        }
        for (Enum en : Utils.getReferencedEnums(fb)) {
            generateForEnum(infomodel, en, zipOutputter);
        }
    }
    new GeneratorTaskFromFileTemplate<InformationModel>(new PomFileTemplate()).generate(infomodel, invocationContext, zipOutputter);
    return zipOutputter;
}
Also used : Enum(org.eclipse.vorto.core.api.model.datatype.Enum) Entity(org.eclipse.vorto.core.api.model.datatype.Entity) PomFileTemplate(org.eclipse.vorto.codegen.javabean.tasks.template.PomFileTemplate) GenerationResultZip(org.eclipse.vorto.codegen.api.GenerationResultZip) InformationModel(org.eclipse.vorto.core.api.model.informationmodel.InformationModel) FunctionblockProperty(org.eclipse.vorto.core.api.model.informationmodel.FunctionblockProperty) FunctionBlock(org.eclipse.vorto.core.api.model.functionblock.FunctionBlock)

Example 5 with Enum

use of org.eclipse.vorto.core.api.model.datatype.Enum in project vorto by eclipse.

the class WebUIGenerator method generate.

@Override
public IGenerationResult generate(InformationModel model, InvocationContext context, IVortoCodeGenProgressMonitor monitor) {
    GenerationResultZip output = new GenerationResultZip(model, getServiceKey());
    ChainedCodeGeneratorTask<InformationModel> generator = new ChainedCodeGeneratorTask<InformationModel>();
    /**
     * config templates
     */
    generator.addTask(new GeneratorTaskFromFileTemplate<InformationModel>(new LocalConfigurationTemplate()));
    generator.addTask(new GeneratorTaskFromFileTemplate<InformationModel>(new WebSecurityConfigTemplate()));
    generator.addTask(new GeneratorTaskFromFileTemplate<InformationModel>(new WebSocketConfigTemplate()));
    /**
     * model templates
     */
    generator.addTask(new GeneratorTaskFromFileTemplate<InformationModel>(new ThingTemplate()));
    /**
     * web controller templates
     */
    generator.addTask(new GeneratorTaskFromFileTemplate<InformationModel>(new IdentityControllerTemplate()));
    generator.addTask(new GeneratorTaskFromFileTemplate<InformationModel>(new ThingControllerTemplate()));
    generator.addTask(new GeneratorTaskFromFileTemplate<InformationModel>(new ThingMessageControllerTemplate()));
    /**
     * Root Application templates
     */
    generator.addTask(new GeneratorTaskFromFileTemplate<InformationModel>(new PomTemplate()));
    generator.addTask(new GeneratorTaskFromFileTemplate<InformationModel>(new ThingApplicationTemplate()));
    /**
     * Web static javascript templates
     */
    generator.addTask(new GeneratorTaskFromFileTemplate<InformationModel>(new AppTemplate()));
    generator.addTask(new GeneratorTaskFromFileTemplate<InformationModel>(new BrowserControllerTemplate()));
    generator.addTask(new GeneratorTaskFromFileTemplate<InformationModel>(new DetailsControllerTemplate()));
    generator.addTask(new GeneratorTaskFromFileTemplate<InformationModel>(new LoginControllerTemplate()));
    /**
     * Web static css templates
     */
    generator.addTask(new GeneratorTaskFromFileTemplate<InformationModel>(new StyleTemplace()));
    /**
     * Web static html partial templates
     */
    generator.addTask(new GeneratorTaskFromFileTemplate<InformationModel>(new IndexHtmlTemplate()));
    generator.addTask(new GeneratorTaskFromFileTemplate<InformationModel>(new BrowserTemplate()));
    generator.addTask(new GeneratorTaskFromFileTemplate<InformationModel>(new LocatorTemplate()));
    generator.addTask(new GeneratorTaskFromFileTemplate<InformationModel>(new LoginTemplate()));
    generator.addTask(new GeneratorTaskFromFileTemplate<InformationModel>(new DetailsTemplate()));
    /**
     * Swagger stuff
     */
    if (context.getConfigurationProperties().getOrDefault("swagger", "true").equalsIgnoreCase("true")) {
        generator.addTask(new GeneratorTaskFromFileTemplate<InformationModel>(new SwaggerConfigurationTemplate()));
        generator.addTask(new GeneratorTaskFromFileTemplate<InformationModel>(new ApiControllerTemplate()));
        generator.addTask(new GeneratorTaskFromFileTemplate<InformationModel>(new ApiTemplate()));
    }
    /**
     * History stuff
     */
    if (context.getConfigurationProperties().getOrDefault("persistence", "true").equalsIgnoreCase("true")) {
        generator.addTask(new GeneratorTaskFromFileTemplate<InformationModel>(new CrudRepositoryTemplate()));
        generator.addTask(new GeneratorTaskFromFileTemplate<InformationModel>(new HistoryDataControllerTemplate()));
    }
    generator.addTask(new GeneratorTaskFromFileTemplate<InformationModel>(new ApplicationConfigTemplate()));
    generator.addTask(new GeneratorTaskFromFileTemplate<InformationModel>(new AngularGageTemplate()));
    /**
     * IoT Cloud Platform Integration stuff
     */
    generator.addTask(new GeneratorTaskFromFileTemplate<InformationModel>(new QueryTemplate()));
    generator.addTask(new GeneratorTaskFromFileTemplate<InformationModel>(new DataServiceTemplate()));
    if (context.getConfigurationProperties().getOrDefault("boschcloud", "false").equalsIgnoreCase("true")) {
        generator.addTask(new GeneratorTaskFromFileTemplate<InformationModel>(new ThingsQueryTemplate()));
        generator.addTask(new GeneratorTaskFromFileTemplate<InformationModel>(new ThingClientTemplate()));
        generator.addTask(new GeneratorTaskFromFileTemplate<InformationModel>(new ThingClientBuilderTemplate()));
        generator.addTask(new GeneratorTaskFromFileTemplate<InformationModel>(new ThingBuilderTemplate()));
        generator.addTask(new GeneratorTaskFromFileTemplate<InformationModel>(new org.eclipse.vorto.codegen.webui.templates.service.bosch.model.ThingTemplate()));
        generator.addTask(new GeneratorTaskFromFileTemplate<InformationModel>(new org.eclipse.vorto.codegen.webui.templates.service.bosch.model.FeatureTemplate()));
        generator.addTask(new GeneratorTaskFromFileTemplate<InformationModel>(new ThingSearchResultTemplate()));
        generator.addTask(new GeneratorTaskFromFileTemplate<InformationModel>(new ThingTypeAwareTemplate()));
        generator.addTask(new GeneratorTaskFromFileTemplate<InformationModel>(new FeatureImplTemplate()));
        generator.addTask(new GeneratorTaskFromFileTemplate<InformationModel>(new ThingImplTemplate()));
        generator.addTask(new GeneratorTaskFromFileTemplate<InformationModel>(new ThingSearchResultImplTemplate()));
        generator.addTask(new GeneratorTaskFromFileTemplate<InformationModel>(new AsyncInvocationTemplate()));
        generator.addTask(new GeneratorTaskFromFileTemplate<InformationModel>(new DefaultThingClient()));
        generator.addTask(new GeneratorTaskFromFileTemplate<InformationModel>(new ThingsInvocationTemplate()));
        generator.addTask(new GeneratorTaskFromFileTemplate<InformationModel>(new BoschThingsDataServiceTemplate()));
    } else {
        generator.addTask(new GeneratorTaskFromFileTemplate<InformationModel>(new SampleDataServiceTemplate()));
    }
    generator.generate(model, context, output);
    ChainedCodeGeneratorTask<FunctionblockProperty> fbPropertyGenerators = new ChainedCodeGeneratorTask<FunctionblockProperty>();
    for (FunctionblockProperty property : model.getProperties()) {
        fbPropertyGenerators.addTask(new GeneratorTaskFromFileTemplate<>(new FeatureTemplate()));
        fbPropertyGenerators.addTask(new GeneratorTaskFromFileTemplate<>(new LocationControllerTemplate()));
        fbPropertyGenerators.generate(property, context, output);
        FunctionBlock fb = property.getType().getFunctionblock();
        for (Entity entity : Utils.getReferencedEntities(fb)) {
            generateForEntity(model, entity, output);
        }
        for (Enum en : Utils.getReferencedEnums(fb)) {
            generateForEnum(model, en, output);
        }
    }
    return output;
}
Also used : Enum(org.eclipse.vorto.core.api.model.datatype.Enum) Entity(org.eclipse.vorto.core.api.model.datatype.Entity) FeatureTemplate(org.eclipse.vorto.codegen.webui.templates.model.FeatureTemplate) ThingsInvocationTemplate(org.eclipse.vorto.codegen.webui.templates.service.bosch.internal.ThingsInvocationTemplate) ThingsQueryTemplate(org.eclipse.vorto.codegen.webui.templates.service.bosch.ThingsQueryTemplate) ThingClientTemplate(org.eclipse.vorto.codegen.webui.templates.service.bosch.ThingClientTemplate) DefaultThingClient(org.eclipse.vorto.codegen.webui.templates.service.bosch.internal.DefaultThingClient) ThingMessageControllerTemplate(org.eclipse.vorto.codegen.webui.templates.web.ThingMessageControllerTemplate) LoginControllerTemplate(org.eclipse.vorto.codegen.webui.templates.resources.js.LoginControllerTemplate) HistoryDataControllerTemplate(org.eclipse.vorto.codegen.webui.templates.web.HistoryDataControllerTemplate) IndexHtmlTemplate(org.eclipse.vorto.codegen.webui.templates.resources.IndexHtmlTemplate) CrudRepositoryTemplate(org.eclipse.vorto.codegen.webui.templates.dao.CrudRepositoryTemplate) FunctionblockProperty(org.eclipse.vorto.core.api.model.informationmodel.FunctionblockProperty) FunctionBlock(org.eclipse.vorto.core.api.model.functionblock.FunctionBlock) AppTemplate(org.eclipse.vorto.codegen.webui.templates.resources.js.AppTemplate) ChainedCodeGeneratorTask(org.eclipse.vorto.codegen.api.ChainedCodeGeneratorTask) ApiControllerTemplate(org.eclipse.vorto.codegen.webui.templates.resources.js.ApiControllerTemplate) DetailsTemplate(org.eclipse.vorto.codegen.webui.templates.resources.partials.DetailsTemplate) SampleDataServiceTemplate(org.eclipse.vorto.codegen.webui.templates.service.sample.SampleDataServiceTemplate) ThingImplTemplate(org.eclipse.vorto.codegen.webui.templates.service.bosch.internal.model.ThingImplTemplate) WebSecurityConfigTemplate(org.eclipse.vorto.codegen.webui.templates.config.WebSecurityConfigTemplate) ThingClientBuilderTemplate(org.eclipse.vorto.codegen.webui.templates.service.bosch.ThingClientBuilderTemplate) StyleTemplace(org.eclipse.vorto.codegen.webui.templates.resources.css.StyleTemplace) PomTemplate(org.eclipse.vorto.codegen.webui.templates.PomTemplate) LocatorTemplate(org.eclipse.vorto.codegen.webui.templates.resources.partials.LocatorTemplate) ThingsQueryTemplate(org.eclipse.vorto.codegen.webui.templates.service.bosch.ThingsQueryTemplate) QueryTemplate(org.eclipse.vorto.codegen.webui.templates.service.QueryTemplate) AsyncInvocationTemplate(org.eclipse.vorto.codegen.webui.templates.service.bosch.internal.AsyncInvocationTemplate) AngularGageTemplate(org.eclipse.vorto.codegen.webui.templates.resources.AngularGageTemplate) ThingControllerTemplate(org.eclipse.vorto.codegen.webui.templates.web.ThingControllerTemplate) FeatureImplTemplate(org.eclipse.vorto.codegen.webui.templates.service.bosch.internal.model.FeatureImplTemplate) InformationModel(org.eclipse.vorto.core.api.model.informationmodel.InformationModel) ThingTemplate(org.eclipse.vorto.codegen.webui.templates.model.ThingTemplate) SampleDataServiceTemplate(org.eclipse.vorto.codegen.webui.templates.service.sample.SampleDataServiceTemplate) BoschThingsDataServiceTemplate(org.eclipse.vorto.codegen.webui.templates.service.bosch.BoschThingsDataServiceTemplate) DataServiceTemplate(org.eclipse.vorto.codegen.webui.templates.service.DataServiceTemplate) ApiTemplate(org.eclipse.vorto.codegen.webui.templates.resources.partials.ApiTemplate) BoschThingsDataServiceTemplate(org.eclipse.vorto.codegen.webui.templates.service.bosch.BoschThingsDataServiceTemplate) ThingBuilderTemplate(org.eclipse.vorto.codegen.webui.templates.service.bosch.ThingBuilderTemplate) IdentityControllerTemplate(org.eclipse.vorto.codegen.webui.templates.web.IdentityControllerTemplate) ThingSearchResultImplTemplate(org.eclipse.vorto.codegen.webui.templates.service.bosch.internal.model.ThingSearchResultImplTemplate) BrowserTemplate(org.eclipse.vorto.codegen.webui.templates.resources.partials.BrowserTemplate) LocationControllerTemplate(org.eclipse.vorto.codegen.webui.templates.resources.js.LocationControllerTemplate) DetailsControllerTemplate(org.eclipse.vorto.codegen.webui.templates.resources.js.DetailsControllerTemplate) GenerationResultZip(org.eclipse.vorto.codegen.api.GenerationResultZip) BrowserControllerTemplate(org.eclipse.vorto.codegen.webui.templates.resources.js.BrowserControllerTemplate) ApplicationConfigTemplate(org.eclipse.vorto.codegen.webui.templates.resources.ApplicationConfigTemplate) ThingApplicationTemplate(org.eclipse.vorto.codegen.webui.templates.ThingApplicationTemplate) LoginTemplate(org.eclipse.vorto.codegen.webui.templates.resources.partials.LoginTemplate) ThingSearchResultTemplate(org.eclipse.vorto.codegen.webui.templates.service.bosch.model.ThingSearchResultTemplate) SwaggerConfigurationTemplate(org.eclipse.vorto.codegen.webui.templates.config.SwaggerConfigurationTemplate) ThingTypeAwareTemplate(org.eclipse.vorto.codegen.webui.templates.service.bosch.model.ThingTypeAwareTemplate) WebSocketConfigTemplate(org.eclipse.vorto.codegen.webui.templates.config.WebSocketConfigTemplate) LocalConfigurationTemplate(org.eclipse.vorto.codegen.webui.templates.config.LocalConfigurationTemplate)

Aggregations

Enum (org.eclipse.vorto.core.api.model.datatype.Enum)5 GenerationResultZip (org.eclipse.vorto.codegen.api.GenerationResultZip)4 Entity (org.eclipse.vorto.core.api.model.datatype.Entity)4 FunctionBlock (org.eclipse.vorto.core.api.model.functionblock.FunctionBlock)4 FunctionblockProperty (org.eclipse.vorto.core.api.model.informationmodel.FunctionblockProperty)4 ChainedCodeGeneratorTask (org.eclipse.vorto.codegen.api.ChainedCodeGeneratorTask)3 InformationModel (org.eclipse.vorto.core.api.model.informationmodel.InformationModel)3 HashSet (java.util.HashSet)1 EObject (org.eclipse.emf.ecore.EObject)1 CoAPClientInformationModelGeneratorTask (org.eclipse.vorto.codegen.coap.client.tasks.CoAPClientInformationModelGeneratorTask)1 ClientDemoAppTemplate (org.eclipse.vorto.codegen.coap.client.templates.ClientDemoAppTemplate)1 ClientTemplate (org.eclipse.vorto.codegen.coap.client.templates.ClientTemplate)1 CoAPMethodTemplate (org.eclipse.vorto.codegen.coap.client.templates.CoAPMethodTemplate)1 JavaInformationModelGeneratorTask (org.eclipse.vorto.codegen.coap.common.tasks.JavaInformationModelGeneratorTask)1 JavaInformationModelInterfaceGeneratorTask (org.eclipse.vorto.codegen.coap.common.tasks.JavaInformationModelInterfaceGeneratorTask)1 PomFileTemplate (org.eclipse.vorto.codegen.coap.common.templates.PomFileTemplate)1 CoAPServerGeneratorTask (org.eclipse.vorto.codegen.coap.server.tasks.CoAPServerGeneratorTask)1 CoAPServerIMRequestHandlerGeneratorTask (org.eclipse.vorto.codegen.coap.server.tasks.CoAPServerIMRequestHandlerGeneratorTask)1 CoAPServerDemoAppTemplate (org.eclipse.vorto.codegen.coap.server.templates.CoAPServerDemoAppTemplate)1 ICoAPRequestHandlerTemplate (org.eclipse.vorto.codegen.coap.server.templates.ICoAPRequestHandlerTemplate)1