Search in sources :

Example 1 with FunctionBlockAttributeSource

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

the class TestFunctionBlockMappingFactory method createFunctionBlockAttributeSource.

private static FunctionBlockAttributeSource createFunctionBlockAttributeSource() {
    FunctionBlockAttributeSource source = MappingFactory.eINSTANCE.createFunctionBlockAttributeSource();
    source.setAttribute(ModelAttribute.DESCRIPTION);
    source.setModel(functionblockModel);
    return source;
}
Also used : FunctionBlockAttributeSource(org.eclipse.vorto.core.api.model.mapping.FunctionBlockAttributeSource)

Aggregations

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