1 package org.openecomp.sdcrests.vsp.rest.mapping;
3 import org.openecomp.sdc.vendorsoftwareproduct.dao.type.ComponentDependencyModelEntity;
4 import org.openecomp.sdcrests.mapping.MappingBase;
5 import org.openecomp.sdcrests.vendorsoftwareproducts.types.ComponentDependencyModel;
7 public class MapComponentDependencyModelEntityToDto extends
8 MappingBase<ComponentDependencyModelEntity, ComponentDependencyModel> {
11 public void doMapping(ComponentDependencyModelEntity source,
12 ComponentDependencyModel target) {
13 target.setSourceId(source.getSourceComponentId());
14 target.setTargetId(source.getTargetComponentId());
15 target.setRelationType(source.getRelation());