diff -r 000000000000 -r 4bd1e353c527 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 Jun 08 14:42:00 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; + } + + +}