All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.arextest.web.model.mapper.DifferenceMapperImpl Maven / Gradle / Ivy

The newest version!
package com.arextest.web.model.mapper;

import com.arextest.web.model.contract.contracts.common.Difference;
import com.arextest.web.model.dto.DifferenceDto;

/*
@Generated(
    value = "org.mapstruct.ap.MappingProcessor",
    date = "2024-12-23T06:09:22+0000",
    comments = "version: 1.5.5.Final, compiler: javac, environment: Java 21.0.5 (Eclipse Adoptium)"
)
*/
public class DifferenceMapperImpl implements DifferenceMapper {

    @Override
    public Difference contractFromDto(DifferenceDto dto) {
        if ( dto == null ) {
            return null;
        }

        Difference difference = new Difference();

        difference.setDifferenceName( dto.getDifferenceName() );
        difference.setSceneCount( dto.getSceneCount() );
        difference.setCaseCount( dto.getCaseCount() );

        return difference;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy