1.1 --- a/java/nekurak.net-lib/src/cz/frantovo/nekurak/xml/HlasXML.java Tue Apr 27 19:04:20 2010 +0200
1.2 +++ b/java/nekurak.net-lib/src/cz/frantovo/nekurak/xml/HlasXML.java Wed Jun 30 00:26:14 2010 +0200
1.3 @@ -7,29 +7,27 @@
1.4 * Jeden hlas od uživatele.
1.5 * @author fiki
1.6 */
1.7 -@XmlRootElement(name="hlas")
1.8 +@XmlRootElement(name = "hlas")
1.9 public class HlasXML {
1.10
1.11 - private int podnik;
1.12 - private boolean kourit;
1.13 + private int podnik;
1.14 + private boolean kourit;
1.15
1.16 - @XmlElement
1.17 - public int getPodnik() {
1.18 - return podnik;
1.19 - }
1.20 + @XmlElement
1.21 + public int getPodnik() {
1.22 + return podnik;
1.23 + }
1.24
1.25 - public void setPodnik(int podnik) {
1.26 - this.podnik = podnik;
1.27 - }
1.28 + public void setPodnik(int podnik) {
1.29 + this.podnik = podnik;
1.30 + }
1.31
1.32 - @XmlElement
1.33 - public boolean isKourit() {
1.34 - return kourit;
1.35 - }
1.36 + @XmlElement
1.37 + public boolean isKourit() {
1.38 + return kourit;
1.39 + }
1.40
1.41 - public void setKourit(boolean hlas) {
1.42 - this.kourit = hlas;
1.43 - }
1.44 -
1.45 -
1.46 + public void setKourit(boolean hlas) {
1.47 + this.kourit = hlas;
1.48 + }
1.49 }