author | František Kučera <franta-hg@frantovo.cz> |
Fri, 14 Jan 2011 18:49:43 +0100 | |
changeset 167 | 21fa832b26aa |
parent 145 | 0efefbf5f8b6 |
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 }