Search in sources :

Example 1 with ConfigurationSource

use of org.eclipse.vorto.core.api.model.mapping.ConfigurationSource in project vorto by eclipse.

the class TestFunctionBlockMappingFactory method createConfigurationSource.

private static ConfigurationSource createConfigurationSource() {
    ConfigurationSource source = MappingFactory.eINSTANCE.createConfigurationSource();
    source.setProperty(TestEntityFactory.createPrimitiveProperty("configStringParam", PrimitiveType.STRING));
    source.setModel(functionblockModel);
    return source;
}
Also used : ConfigurationSource(org.eclipse.vorto.core.api.model.mapping.ConfigurationSource)

Aggregations

ConfigurationSource (org.eclipse.vorto.core.api.model.mapping.ConfigurationSource)1