diff -r 000000000000 -r cd43c349f39b 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 Mon May 24 20:20:55 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; + } + + +}