author | František Kučera <franta-hg@frantovo.cz> |
Wed, 28 Apr 2010 01:29:22 +0200 | |
changeset 116 | 6d9647a51193 |
parent 110 | c2590a59a02a |
child 145 | 0efefbf5f8b6 |
permissions | -rw-r--r-- |
franta-hg@110 | 1 |
package cz.frantovo.nekurak.xml; |
franta-hg@110 | 2 |
|
franta-hg@110 | 3 |
import javax.xml.bind.annotation.XmlElement; |
franta-hg@110 | 4 |
import javax.xml.bind.annotation.XmlRootElement; |
franta-hg@110 | 5 |
|
franta-hg@110 | 6 |
/** |
franta-hg@110 | 7 |
* Jeden hlas od uživatele. |
franta-hg@110 | 8 |
* @author fiki |
franta-hg@110 | 9 |
*/ |
franta-hg@110 | 10 |
@XmlRootElement(name="hlas") |
franta-hg@110 | 11 |
public class HlasXML { |
franta-hg@110 | 12 |
|
franta-hg@110 | 13 |
private int podnik; |
franta-hg@110 | 14 |
private boolean kourit; |
franta-hg@110 | 15 |
|
franta-hg@110 | 16 |
@XmlElement |
franta-hg@110 | 17 |
public int getPodnik() { |
franta-hg@110 | 18 |
return podnik; |
franta-hg@110 | 19 |
} |
franta-hg@110 | 20 |
|
franta-hg@110 | 21 |
public void setPodnik(int podnik) { |
franta-hg@110 | 22 |
this.podnik = podnik; |
franta-hg@110 | 23 |
} |
franta-hg@110 | 24 |
|
franta-hg@110 | 25 |
@XmlElement |
franta-hg@110 | 26 |
public boolean isKourit() { |
franta-hg@110 | 27 |
return kourit; |
franta-hg@110 | 28 |
} |
franta-hg@110 | 29 |
|
franta-hg@110 | 30 |
public void setKourit(boolean hlas) { |
franta-hg@110 | 31 |
this.kourit = hlas; |
franta-hg@110 | 32 |
} |
franta-hg@110 | 33 |
|
franta-hg@110 | 34 |
|
franta-hg@110 | 35 |
} |