Package lv.odylab.evedb.rpc.dto

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


    @Override
    @Caching
    public BlueprintTypeDto getBlueprintTypeByTypeID(Long typeID) throws EveDbException {
        try {
            InvBlueprintTypeDto invBlueprintTypeDto = client.getBlueprintTypeByTypeID(typeID);
            return mapper.map(invBlueprintTypeDto, BlueprintTypeDto.class);
        } catch (Exception e) {
            logger.error("Caught Exception", e);
            throw new EveDbException(e);
        }
View Full Code Here


        invTypeMaterialDto.setMaterialVolume(BigDecimal.valueOf(invTypeMaterial.getMaterialVolume()).toPlainString());
        return invTypeMaterialDto;
    }

    public InvBlueprintTypeDto map(InvBlueprintType invBlueprintType) {
        InvBlueprintTypeDto invBlueprintTypeDto = new InvBlueprintTypeDto();
        invBlueprintTypeDto.setBlueprintTypeID(invBlueprintType.getBlueprintTypeID());
        invBlueprintTypeDto.setBlueprintTypeName(invBlueprintType.getBlueprintTypeName());
        invBlueprintTypeDto.setProductTypeID(invBlueprintType.getProductTypeID());
        invBlueprintTypeDto.setProductTypeName(invBlueprintType.getProductTypeName());
        invBlueprintTypeDto.setProductCategoryID(invBlueprintType.getProductCategoryID());
        invBlueprintTypeDto.setProductIcon(invBlueprintType.getProductTypeIcon());
        invBlueprintTypeDto.setParentBlueprintTypeID(invBlueprintType.getParentBlueprintTypeID());
        invBlueprintTypeDto.setParentBlueprintTypeName(invBlueprintType.getParentBlueprintTypeName());
        invBlueprintTypeDto.setParentProductTypeID(invBlueprintType.getParentProductTypeID());
        invBlueprintTypeDto.setParentProductTypeName(invBlueprintType.getParentProductTypeName());
        invBlueprintTypeDto.setTechLevel(invBlueprintType.getTechLevel());
        invBlueprintTypeDto.setProductionTime(invBlueprintType.getProductionTime());
        invBlueprintTypeDto.setResearchProductivityTime(invBlueprintType.getResearchProductivityTime());
        invBlueprintTypeDto.setResearchMaterialTime(invBlueprintType.getResearchMaterialTime());
        invBlueprintTypeDto.setResearchCopyTime(invBlueprintType.getResearchCopyTime());
        invBlueprintTypeDto.setResearchTechTime(invBlueprintType.getResearchTechTime());
        invBlueprintTypeDto.setProductivityModifier(invBlueprintType.getProductivityModifier());
        invBlueprintTypeDto.setWasteFactor(invBlueprintType.getWasteFactor());
        invBlueprintTypeDto.setMaxProductionLimit(invBlueprintType.getMaxProductionLimit());
        invBlueprintTypeDto.setProductVolume(BigDecimal.valueOf(invBlueprintType.getProductVolume()).toPlainString());
        invBlueprintTypeDto.setProductPortionSize(invBlueprintType.getProductPortionSize());
        invBlueprintTypeDto.setDumpVersion(invBlueprintType.getDumpVersion());
        return invBlueprintTypeDto;
    }
View Full Code Here

TOP

Related Classes of lv.odylab.evedb.rpc.dto.InvBlueprintTypeDto

Copyright © 2018 www.massapicom. 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.