Package lv.odylab.evedb.domain

Examples of lv.odylab.evedb.domain.InvBlueprintType


    @Before
    public void setUp() {
        blueprintService = new BlueprintDetailsCalculationService(invBlueprintTypeDao, invTypeMaterialDao, ramTypeRequirementDao);

        InvBlueprintType invBlueprintType = new InvBlueprintType();
        invBlueprintType.setBlueprintTypeID(1L);
        invBlueprintType.setProductTypeID(2L);
        List<InvTypeMaterial> invTypeMaterials = new ArrayList<InvTypeMaterial>();
        InvTypeMaterial invTypeMaterial1 = new InvTypeMaterial();
        invTypeMaterial1.setMaterialTypeID(3L);
        invTypeMaterial1.setQuantity(10L);
        InvTypeMaterial invTypeMaterial2 = new InvTypeMaterial();
View Full Code Here


        this.invTypeMaterialDao = invTypeMaterialDao;
        this.ramTypeRequirementDao = ramTypeRequirementDao;
    }

    public BlueprintDetails getBlueprintDetailsForTypeID(Long typeID) {
        InvBlueprintType invBlueprintType = invBlueprintTypeDao.getByTypeID(typeID);
        List<InvTypeMaterial> invTypeMaterials = invTypeMaterialDao.getForTypeIdWithoutCheck(invBlueprintType.getProductTypeID());
        List<RamTypeRequirement> ramTypeRequirements = ramTypeRequirementDao.getForTypeIdWithoutCheck(typeID);
        return createBlueprintDetails(invBlueprintType, invTypeMaterials, ramTypeRequirements);
    }
View Full Code Here

        List<RamTypeRequirement> ramTypeRequirements = ramTypeRequirementDao.getForTypeIdWithoutCheck(typeID);
        return createBlueprintDetails(invBlueprintType, invTypeMaterials, ramTypeRequirements);
    }

    public BlueprintDetails getBlueprintDetailsForTypeName(String typeName) {
        InvBlueprintType invBlueprintType = invBlueprintTypeDao.getByTypeName(typeName);
        List<InvTypeMaterial> invTypeMaterials = invTypeMaterialDao.getForTypeIdWithoutCheck(invBlueprintType.getProductTypeID());
        List<RamTypeRequirement> ramTypeRequirements = ramTypeRequirementDao.getForTypeIdWithoutCheck(invBlueprintType.getBlueprintTypeID());
        return createBlueprintDetails(invBlueprintType, invTypeMaterials, ramTypeRequirements);
    }
View Full Code Here

TOP

Related Classes of lv.odylab.evedb.domain.InvBlueprintType

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.