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

javaee.module.backend.mapper.profile.AbstractProfileHelperMapper Maven / Gradle / Ivy

The newest version!
package javaee.module.backend.mapper.profile;

import javaee.module.backend.entities.profile.AbstractProfileHelper;
import javaee.module.backend.mapper.delete.AbstractDeleteHelperMapper;
import javaee.module.backend.models.profile.AbstractProfileHelperDto;

public abstract class AbstractProfileHelperMapper extends AbstractDeleteHelperMapper {

	protected static void mapSuperClassPropertiesIntoEntity( AbstractProfileHelper abstractProfileHelper, AbstractProfileHelperDto abstractProfileHelperDto ) {
		AbstractDeleteHelperMapper.mapSuperClassPropertiesIntoEntity( abstractProfileHelper, abstractProfileHelperDto );
		abstractProfileHelper.setDescription( abstractProfileHelperDto.getDescription( ) );
		abstractProfileHelper.setName( abstractProfileHelperDto.getName( ) );
	}

	protected static void mapSuperClassPropertiesIntoDto( AbstractProfileHelper abstractProfileHelper, AbstractProfileHelperDto abstractProfileHelperDto ) {
		AbstractDeleteHelperMapper.mapSuperClassPropertiesIntoDto( abstractProfileHelper, abstractProfileHelperDto );
		abstractProfileHelperDto.setDescription( abstractProfileHelper.getDescription( ) );
		abstractProfileHelperDto.setName( abstractProfileHelper.getName( ) );
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy