java/nekurak.net-lib/src/cz/frantovo/nekurak/dto/Komentar.java
changeset 160 a9f49669baad
parent 130 1bbff3f5181f
child 197 40b7aa9126d0
     1.1 --- a/java/nekurak.net-lib/src/cz/frantovo/nekurak/dto/Komentar.java	Tue Jun 08 09:09:17 2010 +0200
     1.2 +++ b/java/nekurak.net-lib/src/cz/frantovo/nekurak/dto/Komentar.java	Sun Jan 09 20:11:55 2011 +0100
     1.3 @@ -8,73 +8,74 @@
     1.4   */
     1.5  public class Komentar {
     1.6  
     1.7 -    private int id;
     1.8 -    private int podnik;
     1.9 -    private String uzivatel;
    1.10 -    private Date datum;
    1.11 -    private String nadpis;
    1.12 -    private String komentar;
    1.13 -    private TYP typ;
    1.14 +	private int id;
    1.15 +	private int podnik;
    1.16 +	private String uzivatel;
    1.17 +	private Date datum;
    1.18 +	private String nadpis;
    1.19 +	private String komentar;
    1.20 +	private TYP typ;
    1.21  
    1.22 -    public TYP getTyp() {
    1.23 -	return typ;
    1.24 -    }
    1.25 +	public TYP getTyp() {
    1.26 +		return typ;
    1.27 +	}
    1.28  
    1.29 -    public void setTyp(TYP typ) {
    1.30 -	this.typ = typ;
    1.31 -    }
    1.32 +	public void setTyp(TYP typ) {
    1.33 +		this.typ = typ;
    1.34 +	}
    1.35  
    1.36 -    public enum TYP {
    1.37 -	PROSTY_TEXT,
    1.38 -	XHTML,
    1.39 -	TEXY
    1.40 -    }
    1.41 +	public enum TYP {
    1.42  
    1.43 -    public int getId() {
    1.44 -	return id;
    1.45 -    }
    1.46 +		PROSTY_TEXT,
    1.47 +		XHTML,
    1.48 +		TEXY
    1.49 +	}
    1.50  
    1.51 -    public void setId(int id) {
    1.52 -	this.id = id;
    1.53 -    }
    1.54 +	public int getId() {
    1.55 +		return id;
    1.56 +	}
    1.57  
    1.58 -    public int getPodnik() {
    1.59 -	return podnik;
    1.60 -    }
    1.61 +	public void setId(int id) {
    1.62 +		this.id = id;
    1.63 +	}
    1.64  
    1.65 -    public void setPodnik(int podnik) {
    1.66 -	this.podnik = podnik;
    1.67 -    }
    1.68 +	public int getPodnik() {
    1.69 +		return podnik;
    1.70 +	}
    1.71  
    1.72 -    public String getUzivatel() {
    1.73 -	return uzivatel;
    1.74 -    }
    1.75 +	public void setPodnik(int podnik) {
    1.76 +		this.podnik = podnik;
    1.77 +	}
    1.78  
    1.79 -    public void setUzivatel(String uzivatel) {
    1.80 -	this.uzivatel = uzivatel;
    1.81 -    }
    1.82 +	public String getUzivatel() {
    1.83 +		return uzivatel;
    1.84 +	}
    1.85  
    1.86 -    public Date getDatum() {
    1.87 -	return datum;
    1.88 -    }
    1.89 +	public void setUzivatel(String uzivatel) {
    1.90 +		this.uzivatel = uzivatel;
    1.91 +	}
    1.92  
    1.93 -    public void setDatum(Date datum) {
    1.94 -	this.datum = datum;
    1.95 -    }
    1.96 +	public Date getDatum() {
    1.97 +		return datum;
    1.98 +	}
    1.99  
   1.100 -    public String getNadpis() {
   1.101 -	return nadpis;
   1.102 -    }
   1.103 +	public void setDatum(Date datum) {
   1.104 +		this.datum = datum;
   1.105 +	}
   1.106  
   1.107 -    public void setNadpis(String nadpis) {
   1.108 -	this.nadpis = nadpis;
   1.109 -    }
   1.110 +	public String getNadpis() {
   1.111 +		return nadpis;
   1.112 +	}
   1.113  
   1.114 -    public String getKomentar() {
   1.115 -	return komentar;
   1.116 -    }
   1.117 +	public void setNadpis(String nadpis) {
   1.118 +		this.nadpis = nadpis;
   1.119 +	}
   1.120  
   1.121 -    public void setKomentar(String komentar) {
   1.122 -	this.komentar = komentar;
   1.123 -    }
   1.124 +	public String getKomentar() {
   1.125 +		return komentar;
   1.126 +	}
   1.127 +
   1.128 +	public void setKomentar(String komentar) {
   1.129 +		this.komentar = komentar;
   1.130 +	}
   1.131  }