e80ef5653d8bb42d69b23c71ae014edbe84bbe08
[sdc.git] /
1 package org.openecomp.sdcrests.conflict.rest.mapping;
2
3 import org.openecomp.conflicts.types.ConflictInfo;
4 import org.openecomp.sdcrests.conflict.types.ConflictInfoDto;
5 import org.openecomp.sdcrests.mapping.MappingBase;
6
7 public class MapConflictInfoToDto extends MappingBase<ConflictInfo, ConflictInfoDto> {
8   @Override
9   public void doMapping(ConflictInfo source, ConflictInfoDto target) {
10     target.setId(source.getId());
11     target.setType(source.getType());
12     target.setName(source.getName());
13   }
14 }