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@145: @XmlRootElement(name = "hlas") franta-hg@110: public class HlasXML { franta-hg@110: franta-hg@145: private int podnik; franta-hg@145: private boolean kourit; franta-hg@110: franta-hg@145: @XmlElement franta-hg@145: public int getPodnik() { franta-hg@145: return podnik; franta-hg@145: } franta-hg@110: franta-hg@145: public void setPodnik(int podnik) { franta-hg@145: this.podnik = podnik; franta-hg@145: } franta-hg@110: franta-hg@145: @XmlElement franta-hg@145: public boolean isKourit() { franta-hg@145: return kourit; franta-hg@145: } franta-hg@110: franta-hg@145: public void setKourit(boolean hlas) { franta-hg@145: this.kourit = hlas; franta-hg@145: } franta-hg@110: }