Add collaboration feature
[sdc.git] / openecomp-be / api / openecomp-sdc-rest-webapp / vendor-software-products-rest / vendor-software-products-rest-services / src / main / java / org / openecomp / sdcrests / vsp / rest / mapping / MapComponentDependencyEntityToCreationDto.java
1 package org.openecomp.sdcrests.vsp.rest.mapping;
2
3
4 import org.openecomp.sdc.vendorsoftwareproduct.dao.type.ComponentDependencyModelEntity;
5 import org.openecomp.sdcrests.mapping.MappingBase;
6 import org.openecomp.sdcrests.vendorsoftwareproducts.types.ComponentDependencyCreationDto;
7
8 public class MapComponentDependencyEntityToCreationDto extends MappingBase
9     <ComponentDependencyModelEntity, ComponentDependencyCreationDto> {
10
11   @Override
12   public void doMapping(ComponentDependencyModelEntity source,
13                         ComponentDependencyCreationDto target) {
14     target.setId(source.getId());
15   }
16 }