Search in sources :

Example 1 with InfoModelAttributeSource

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

the class TestInfoModelMappingFactory method createInfoModelSource.

private static InfoModelAttributeSource createInfoModelSource() {
    InfoModelAttributeSource infoModelAttributeSource = MappingFactory.eINSTANCE.createInfoModelAttributeSource();
    infoModelAttributeSource.setModel(informationModel);
    return infoModelAttributeSource;
}
Also used : InfoModelAttributeSource(org.eclipse.vorto.core.api.model.mapping.InfoModelAttributeSource)

Example 2 with InfoModelAttributeSource

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

the class TestInfoModelMappingFactory method createInfoModelAttributeSource.

private static InfoModelAttributeSource createInfoModelAttributeSource() {
    InfoModelAttributeSource infoModelAttributeSource = MappingFactory.eINSTANCE.createInfoModelAttributeSource();
    infoModelAttributeSource.setModel(informationModel);
    infoModelAttributeSource.setAttribute(ModelAttribute.DISPLAYNAME);
    return infoModelAttributeSource;
}
Also used : InfoModelAttributeSource(org.eclipse.vorto.core.api.model.mapping.InfoModelAttributeSource)

Aggregations

InfoModelAttributeSource (org.eclipse.vorto.core.api.model.mapping.InfoModelAttributeSource)2