java/nekurak.net-lib/src/cz/frantovo/nekurak/xml/HlasXML.java
author František Kučera <franta-hg@frantovo.cz>
Wed Jan 26 18:58:02 2011 +0100 (2011-01-26)
changeset 182 bb8af29610c4
parent 145 0efefbf5f8b6
permissions -rw-r--r--
Added signature for changeset bcf03fc1e3f9
     1 package cz.frantovo.nekurak.xml;
     2 
     3 import javax.xml.bind.annotation.XmlElement;
     4 import javax.xml.bind.annotation.XmlRootElement;
     5 
     6 /**
     7  * Jeden hlas od uživatele.
     8  * @author fiki
     9  */
    10 @XmlRootElement(name = "hlas")
    11 public class HlasXML {
    12 
    13 	private int podnik;
    14 	private boolean kourit;
    15 	private String csrfToken;
    16 
    17 	@XmlElement
    18 	public int getPodnik() {
    19 		return podnik;
    20 	}
    21 
    22 	public void setPodnik(int podnik) {
    23 		this.podnik = podnik;
    24 	}
    25 
    26 	@XmlElement
    27 	public boolean isKourit() {
    28 		return kourit;
    29 	}
    30 
    31 	public void setKourit(boolean hlas) {
    32 		this.kourit = hlas;
    33 	}
    34 
    35 	@XmlElement
    36 	public String getCsrfToken() {
    37 		return csrfToken;
    38 	}
    39 
    40 	public void setCsrfToken(String csrfToken) {
    41 		this.csrfToken = csrfToken;
    42 	}
    43 }