author | František Kučera <franta-hg@frantovo.cz> |
Tue, 27 Apr 2010 16:13:36 +0200 | |
changeset 107 | e8371105fcc8 |
child 108 | f74a9fc683da |
permissions | -rw-r--r-- |
1 package cz.frantovo.nekurak.web;
3 import cz.frantovo.nekurak.dto.VysledekHlasovani;
5 /**
6 *
7 * @author fiki
8 */
9 public class Hlasovani {
11 private HledacSluzby hledac = new HledacSluzby();
12 private int podnik;
13 private VysledekHlasovani vysledek;
15 public void setPodnik(int podnik) {
16 this.podnik = podnik;
17 }
19 public VysledekHlasovani getVysledek() {
20 if (vysledek == null) {
21 vysledek = hledac.getPodnikEJB().getVysledekHlasovani(podnik);
22 }
23 return vysledek;
24 }
25 }