java/nekurak.net-lib/src/cz/frantovo/nekurak/dto/VysledekHlasovani.java
author František Kučera <franta-hg@frantovo.cz>
Tue Apr 27 17:13:23 2010 +0200 (2010-04-27)
changeset 108 f74a9fc683da
parent 107 e8371105fcc8
child 145 0efefbf5f8b6
permissions -rw-r--r--
Hlasování: zobrazujeme grafy na základě hlasování uloženého v databázi.
franta-hg@107
     1
package cz.frantovo.nekurak.dto;
franta-hg@107
     2
franta-hg@107
     3
/**
franta-hg@107
     4
 * Agregovaný výsledek hlasování o tom,
franta-hg@107
     5
 * zda se má v daném (jednom) podniku kouřit nebo ne.
franta-hg@107
     6
 * @author fiki
franta-hg@107
     7
 */
franta-hg@107
     8
public class VysledekHlasovani {
franta-hg@107
     9
franta-hg@107
    10
    private int hlasuAno;
franta-hg@107
    11
    private int hlasuNe;
franta-hg@107
    12
franta-hg@107
    13
    /**
franta-hg@107
    14
     * @return počet hlasů pro kuřácký podnik
franta-hg@107
    15
     */
franta-hg@107
    16
    public int getHlasuAno() {
franta-hg@107
    17
	return hlasuAno;
franta-hg@107
    18
    }
franta-hg@107
    19
franta-hg@107
    20
    public void setHlasuAno(int pocet) {
franta-hg@107
    21
	this.hlasuAno = pocet;
franta-hg@107
    22
    }
franta-hg@107
    23
franta-hg@107
    24
    /**
franta-hg@107
    25
     * @return počet hlasů pro nekuřácký podnik
franta-hg@107
    26
     */
franta-hg@107
    27
    public int getHlasuNe() {
franta-hg@107
    28
	return hlasuNe;
franta-hg@107
    29
    }
franta-hg@107
    30
franta-hg@107
    31
    public void setHlasuNe(int pocet) {
franta-hg@107
    32
	this.hlasuNe = pocet;
franta-hg@107
    33
    }
franta-hg@107
    34
}