01: package org.emforge.xfer;
02:
03: import java.util.Date;
04:
05: /** Comment.
06: *
07: * Comment may be assigned to some object, identified by parentName
08: * Comment may be represented by both - wikiText and html-formatted text
09: *
10: */
11: public class CommentTO {
12: private String author;
13: private Date time;
14: private String parentName;
15:
16: private String message;
17: private String htmlMessage;
18:
19: public String getAuthor() {
20: return author;
21: }
22:
23: public void setAuthor(String i_author) {
24: author = i_author;
25: }
26:
27: public Date getTime() {
28: return time;
29: }
30:
31: public void setTime(Date i_time) {
32: time = i_time;
33: }
34:
35: public String getParentName() {
36: return parentName;
37: }
38:
39: public void setParentName(String i_parentName) {
40: parentName = i_parentName;
41: }
42:
43: public String getMessage() {
44: return message;
45: }
46:
47: public void setMessage(String i_message) {
48: message = i_message;
49: }
50:
51: public String getHtmlMessage() {
52: return htmlMessage;
53: }
54:
55: public void setHtmlMessage(String i_htmlMessage) {
56: htmlMessage = i_htmlMessage;
57: }
58: }
|