author | František Kučera <franta-hg@frantovo.cz> |
Tue Jun 08 09:09:17 2010 +0200 (2010-06-08) | |
changeset 130 | 1bbff3f5181f |
child 145 | 0efefbf5f8b6 |
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 }
35 }