author | František Kučera <franta-hg@frantovo.cz> |
Wed Jan 12 16:15:37 2011 +0100 (2011-01-12) | |
changeset 164 | e146e2e3b80b |
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 }