franta-hg@110: package cz.frantovo.nekurak.xml; franta-hg@110: franta-hg@110: import javax.xml.bind.annotation.XmlElement; franta-hg@110: import javax.xml.bind.annotation.XmlRootElement; franta-hg@110: franta-hg@110: /** franta-hg@110: * Jeden hlas od uživatele. franta-hg@110: * @author fiki franta-hg@110: */ franta-hg@110: @XmlRootElement(name="hlas") franta-hg@110: public class HlasXML { franta-hg@110: franta-hg@110: private int podnik; franta-hg@110: private boolean kourit; franta-hg@110: franta-hg@110: @XmlElement franta-hg@110: public int getPodnik() { franta-hg@110: return podnik; franta-hg@110: } franta-hg@110: franta-hg@110: public void setPodnik(int podnik) { franta-hg@110: this.podnik = podnik; franta-hg@110: } franta-hg@110: franta-hg@110: @XmlElement franta-hg@110: public boolean isKourit() { franta-hg@110: return kourit; franta-hg@110: } franta-hg@110: franta-hg@110: public void setKourit(boolean hlas) { franta-hg@110: this.kourit = hlas; franta-hg@110: } franta-hg@110: franta-hg@110: franta-hg@110: }