Package lv.odylab.evedb.rpc.dto

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


        invBlueprintTypeDto.setDumpVersion(invBlueprintType.getDumpVersion());
        return invBlueprintTypeDto;
    }

    public BlueprintDetailsDto map(BlueprintDetails blueprintDetails) {
        BlueprintDetailsDto blueprintDetailsDto = new BlueprintDetailsDto();
        blueprintDetailsDto.setInvBlueprintTypeDto(map(blueprintDetails.getBlueprintType()));

        List<InvTypeMaterialDto> invTypeMaterialDtos = new ArrayList<InvTypeMaterialDto>();
        for (InvTypeMaterial invTypeMaterial : blueprintDetails.getMaterials()) {
            invTypeMaterialDtos.add(map(invTypeMaterial));
        }
        blueprintDetailsDto.setMaterialDtos(invTypeMaterialDtos);

        List<RamTypeRequirementDto> manufacturingRequirementDtos = new ArrayList<RamTypeRequirementDto>();
        for (RamTypeRequirement ramTypeRequirement : blueprintDetails.getManufacturingRequirements()) {
            manufacturingRequirementDtos.add(map(ramTypeRequirement));
        }
        blueprintDetailsDto.setManufacturingRequirementDtos(manufacturingRequirementDtos);

        List<RamTypeRequirementDto> timeProductivityRequirementDtos = new ArrayList<RamTypeRequirementDto>();
        for (RamTypeRequirement ramTypeRequirement : blueprintDetails.getTimeProductivityRequirements()) {
            timeProductivityRequirementDtos.add(map(ramTypeRequirement));
        }
        blueprintDetailsDto.setTimeProductivityRequirementDtos(timeProductivityRequirementDtos);

        List<RamTypeRequirementDto> materialProductivityRequirementDtos = new ArrayList<RamTypeRequirementDto>();
        for (RamTypeRequirement ramTypeRequirement : blueprintDetails.getMaterialProductivityRequirements()) {
            materialProductivityRequirementDtos.add(map(ramTypeRequirement));
        }
        blueprintDetailsDto.setMaterialProductivityRequirementDtos(materialProductivityRequirementDtos);

        List<RamTypeRequirementDto> copyingRequirementDtos = new ArrayList<RamTypeRequirementDto>();
        for (RamTypeRequirement ramTypeRequirement : blueprintDetails.getCopyingRequirements()) {
            copyingRequirementDtos.add(map(ramTypeRequirement));
        }
        blueprintDetailsDto.setCopyingRequirementDtos(copyingRequirementDtos);

        List<RamTypeRequirementDto> reverseEngineeringRequirementDtos = new ArrayList<RamTypeRequirementDto>();
        for (RamTypeRequirement ramTypeRequirement : blueprintDetails.getReverseEngineeringRequirements()) {
            reverseEngineeringRequirementDtos.add(map(ramTypeRequirement));
        }
        blueprintDetailsDto.setReverseEngineeringRequirementDtos(reverseEngineeringRequirementDtos);

        List<RamTypeRequirementDto> inventionRequirementDtos = new ArrayList<RamTypeRequirementDto>();
        for (RamTypeRequirement ramTypeRequirement : blueprintDetails.getInventionRequirements()) {
            inventionRequirementDtos.add(map(ramTypeRequirement));
        }
        blueprintDetailsDto.setInventionRequirementDtos(inventionRequirementDtos);
        return blueprintDetailsDto;
    }
View Full Code Here

TOP

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

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.