Search in sources :

Example 1 with InfoModelPropertySource

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

the class TestInfoModelMappingFactory method createInfoModelModelSourceElement.

private static InfoModelPropertySource createInfoModelModelSourceElement() {
    InfoModelPropertySource infoModelPropertySource = MappingFactory.eINSTANCE.createInfoModelPropertySource();
    infoModelPropertySource.setModel(informationModel);
    infoModelPropertySource.setProperty(informationModel.getProperties().get(0));
    return infoModelPropertySource;
}
Also used : InfoModelPropertySource(org.eclipse.vorto.core.api.model.mapping.InfoModelPropertySource)

Aggregations

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