diff -r 2b6107e510d8 -r 0d1cba59734b 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 Tue Jun 08 10:42:58 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;