1.1 --- a/java/nekurak.net-lib/src/cz/frantovo/nekurak/dto/Komentar.java Tue Jun 08 02:37:04 2010 +0200
1.2 +++ b/java/nekurak.net-lib/src/cz/frantovo/nekurak/dto/Komentar.java Tue Jun 08 12:56:46 2010 +0200
1.3 @@ -14,6 +14,21 @@
1.4 private Date datum;
1.5 private String nadpis;
1.6 private String komentar;
1.7 + private TYP typ;
1.8 +
1.9 + public TYP getTyp() {
1.10 + return typ;
1.11 + }
1.12 +
1.13 + public void setTyp(TYP typ) {
1.14 + this.typ = typ;
1.15 + }
1.16 +
1.17 + public enum TYP {
1.18 + PROSTY_TEXT,
1.19 + XHTML,
1.20 + TEXY
1.21 + }
1.22
1.23 public int getId() {
1.24 return id;