javaee.module.backend.mapper.profile.AbstractProfileHelperMapper Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of common-javaee-module Show documentation
Show all versions of common-javaee-module Show documentation
This Module contains common JavaEE Helper Classes.
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( ) );
}
}