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

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

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

import com.arextest.web.model.contract.contracts.filesystem.AddressType;
import com.arextest.web.model.dto.filesystem.AddressDto;

/*
@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 AddressMapperImpl implements AddressMapper {

    @Override
    public AddressType contractFromDto(AddressDto dto) {
        if ( dto == null ) {
            return null;
        }

        AddressType addressType = new AddressType();

        addressType.setMethod( dto.getMethod() );
        addressType.setEndpoint( dto.getEndpoint() );

        return addressType;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy