Search in sources :

Example 6 with Desktop

use of eu.ggnet.dwoss.spec.ee.entity.Desktop in project dwoss by gg-net.

the class DesktopView method getSpec.

@Override
public Desktop getSpec() {
    Desktop desktop = (Desktop) basicView.getSpec();
    desktop.setCpu(getCpu());
    desktop.setGpu(getGpu());
    desktop.setHdds(getHdds());
    desktop.setOdds(getOdds());
    desktop.setMemory((Integer) memoryBox.getSelectedItem());
    desktop.setOs((Os) osBox.getSelectedItem());
    return desktop;
}
Also used : Desktop(eu.ggnet.dwoss.spec.ee.entity.Desktop)

Aggregations

Desktop (eu.ggnet.dwoss.spec.ee.entity.Desktop)6 Cpu (eu.ggnet.dwoss.spec.ee.entity.piece.Cpu)5 Gpu (eu.ggnet.dwoss.spec.ee.entity.piece.Gpu)5 ProductModel (eu.ggnet.dwoss.spec.ee.entity.ProductModel)4 ProductSpecEao (eu.ggnet.dwoss.spec.ee.eao.ProductSpecEao)3 ProductFamily (eu.ggnet.dwoss.spec.ee.entity.ProductFamily)3 ProductSeries (eu.ggnet.dwoss.spec.ee.entity.ProductSeries)3 ProductSpec (eu.ggnet.dwoss.spec.ee.entity.ProductSpec)3 Test (org.junit.Test)3 CpuEao (eu.ggnet.dwoss.spec.ee.eao.CpuEao)2 GpuEao (eu.ggnet.dwoss.spec.ee.eao.GpuEao)2 DisplayEmo (eu.ggnet.dwoss.spec.ee.emo.DisplayEmo)2 ProductModelEmo (eu.ggnet.dwoss.spec.ee.emo.ProductModelEmo)2 DesktopBundle (eu.ggnet.dwoss.spec.ee.entity.DesktopBundle)2 DisplayAble (eu.ggnet.dwoss.spec.ee.entity.DisplayAble)2 SpecGenerator (eu.ggnet.dwoss.spec.ee.assist.gen.SpecGenerator)1 Monitor (eu.ggnet.dwoss.spec.ee.entity.Monitor)1 Notebook (eu.ggnet.dwoss.spec.ee.entity.Notebook)1 Display (eu.ggnet.dwoss.spec.ee.entity.piece.Display)1 ProductEao (eu.ggnet.dwoss.uniqueunit.ee.eao.ProductEao)1