diff -r 374ec52b5b69 -r c2590a59a02a java/nekurak.net-lib/src/cz/frantovo/nekurak/xml/HlasXML.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/java/nekurak.net-lib/src/cz/frantovo/nekurak/xml/HlasXML.java Tue Apr 27 19:04:20 2010 +0200 @@ -0,0 +1,35 @@ +package cz.frantovo.nekurak.xml; + +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlRootElement; + +/** + * Jeden hlas od uživatele. + * @author fiki + */ +@XmlRootElement(name="hlas") +public class HlasXML { + + private int podnik; + private boolean kourit; + + @XmlElement + public int getPodnik() { + return podnik; + } + + public void setPodnik(int podnik) { + this.podnik = podnik; + } + + @XmlElement + public boolean isKourit() { + return kourit; + } + + public void setKourit(boolean hlas) { + this.kourit = hlas; + } + + +}