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

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

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

import com.arextest.web.model.dao.mongodb.ServletMockerCollection;
import com.arextest.web.model.dto.ServletMockerDto;

/*
@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 ServletMockerMapperImpl implements ServletMockerMapper {

    @Override
    public ServletMockerDto dtoFromDao(ServletMockerCollection dao) {
        if ( dao == null ) {
            return null;
        }

        ServletMockerDto servletMockerDto = new ServletMockerDto();

        servletMockerDto.setId( dao.getId() );
        servletMockerDto.setAppId( dao.getAppId() );
        servletMockerDto.setPath( dao.getPath() );
        servletMockerDto.setRequest( dao.getRequest() );
        servletMockerDto.setResponse( dao.getResponse() );

        return servletMockerDto;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy