summaryrefslogtreecommitdiffstats
path: root/openecomp-be/api/openecomp-sdc-rest-webapp/conflict-rest/conflict-rest-services/src/main/java/org/openecomp/sdcrests/conflict/rest/mapping/MapDtoToConflictResolution.java
blob: 1a03a6b15ec1bafad960c40857f4e197a4993203 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package org.openecomp.sdcrests.conflict.rest.mapping;

import org.openecomp.conflicts.types.ConflictResolution;
import org.openecomp.sdcrests.conflict.types.ConflictResolutionDto;
import org.openecomp.sdcrests.mapping.MappingBase;

public class MapDtoToConflictResolution
    extends MappingBase<ConflictResolutionDto, ConflictResolution> {

  @Override
  public void doMapping(ConflictResolutionDto source, ConflictResolution target) {
    target.setResolution(source.getResolution());
    target.setOtherResolution(source.getOtherResolution());
  }
}