author | František Kučera <franta-hg@frantovo.cz> |
Tue Jan 11 15:27:51 2011 +0100 (2011-01-11) | |
changeset 163 | 5f0d5e1305b3 |
parent 110 | c2590a59a02a |
child 174 | ca3c7dd220fe |
permissions | -rw-r--r-- |
1 package cz.frantovo.nekurak.xml;
3 import javax.xml.bind.annotation.XmlElement;
4 import javax.xml.bind.annotation.XmlRootElement;
6 /**
7 * Jeden hlas od uživatele.
8 * @author fiki
9 */
10 @XmlRootElement(name = "hlas")
11 public class HlasXML {
13 private int podnik;
14 private boolean kourit;
16 @XmlElement
17 public int getPodnik() {
18 return podnik;
19 }
21 public void setPodnik(int podnik) {
22 this.podnik = podnik;
23 }
25 @XmlElement
26 public boolean isKourit() {
27 return kourit;
28 }
30 public void setKourit(boolean hlas) {
31 this.kourit = hlas;
32 }
33 }