author | František Kučera <franta-hg@frantovo.cz> |
Mon May 24 20:13:30 2010 +0200 (2010-05-24) | |
changeset 120 | 052107272005 |
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 }