diff -r 2b6107e510d8 -r 230bd05dcfec java/nekurak.net-lib/src/cz/frantovo/nekurak/dto/Komentar.java --- a/java/nekurak.net-lib/src/cz/frantovo/nekurak/dto/Komentar.java Tue Jun 08 02:37:04 2010 +0200 +++ b/java/nekurak.net-lib/src/cz/frantovo/nekurak/dto/Komentar.java Wed Jun 09 15:51:41 2010 +0200 @@ -14,6 +14,21 @@ private Date datum; private String nadpis; private String komentar; + private TYP typ; + + public TYP getTyp() { + return typ; + } + + public void setTyp(TYP typ) { + this.typ = typ; + } + + public enum TYP { + PROSTY_TEXT, + XHTML, + TEXY + } public int getId() { return id;