franta-hg@107: package cz.frantovo.nekurak.dto; franta-hg@107: franta-hg@107: /** franta-hg@107: * Agregovaný výsledek hlasování o tom, franta-hg@107: * zda se má v daném (jednom) podniku kouřit nebo ne. franta-hg@107: * @author fiki franta-hg@107: */ franta-hg@107: public class VysledekHlasovani { franta-hg@107: franta-hg@145: private int hlasuAno; franta-hg@145: private int hlasuNe; franta-hg@107: franta-hg@145: /** franta-hg@145: * @return počet hlasů pro kuřácký podnik franta-hg@145: */ franta-hg@145: public int getHlasuAno() { franta-hg@145: return hlasuAno; franta-hg@145: } franta-hg@107: franta-hg@145: public void setHlasuAno(int pocet) { franta-hg@145: this.hlasuAno = pocet; franta-hg@145: } franta-hg@107: franta-hg@145: /** franta-hg@145: * @return počet hlasů pro nekuřácký podnik franta-hg@145: */ franta-hg@145: public int getHlasuNe() { franta-hg@145: return hlasuNe; franta-hg@145: } franta-hg@107: franta-hg@145: public void setHlasuNe(int pocet) { franta-hg@145: this.hlasuNe = pocet; franta-hg@145: } franta-hg@107: }