Search in sources :

Example 1 with EntityPropertySource

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

the class TestEntityMappingFactory method createEntityPropertySource.

private static EntityPropertySource createEntityPropertySource() {
    EntityPropertySource source = MappingFactory.eINSTANCE.createEntityPropertySource();
    source.setModel(entity);
    source.setProperty(TestEntityFactory.createPrimitiveProperty("testString", PrimitiveType.STRING));
    return source;
}
Also used : EntityPropertySource(org.eclipse.vorto.core.api.model.mapping.EntityPropertySource)

Aggregations

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