aboutsummaryrefslogtreecommitdiffstats
path: root/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/MapNicEntityToNicCreationResponseDto.java
blob: 23bf5d5357e90440e4c960c4e5aafa18ebc0b73e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package org.openecomp.sdcrests.vsp.rest.mapping;


import org.openecomp.sdc.vendorsoftwareproduct.dao.type.NicEntity;
import org.openecomp.sdcrests.mapping.MappingBase;
import org.openecomp.sdcrests.vendorsoftwareproducts.types.NicCreationResponseDto;

public class MapNicEntityToNicCreationResponseDto extends MappingBase<NicEntity,
    NicCreationResponseDto> {


  @Override
  public void doMapping(NicEntity source, NicCreationResponseDto target) {
    target.setNicId(source.getId());
  }
}