Examples of InvTypeMaterialDto


Examples of lv.odylab.evedb.rpc.dto.InvTypeMaterialDto

import java.util.List;

public class DtoMapper {

    public InvTypeMaterialDto map(InvTypeMaterial invTypeMaterial) {
        InvTypeMaterialDto invTypeMaterialDto = new InvTypeMaterialDto();
        invTypeMaterialDto.setMaterialTypeID(invTypeMaterial.getMaterialTypeID());
        invTypeMaterialDto.setMaterialTypeName(invTypeMaterial.getMaterialTypeName());
        invTypeMaterialDto.setMaterialTypeCategoryID(invTypeMaterial.getMaterialTypeCategoryID());
        invTypeMaterialDto.setMaterialTypeGroupID(invTypeMaterial.getMaterialTypeGroupID());
        invTypeMaterialDto.setMaterialTypeIcon(invTypeMaterial.getMaterialTypeIcon());
        invTypeMaterialDto.setQuantity(invTypeMaterial.getQuantity());
        invTypeMaterialDto.setMaterialVolume(BigDecimal.valueOf(invTypeMaterial.getMaterialVolume()).toPlainString());
        return invTypeMaterialDto;
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.