1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.seasar.tuigwaa.plugin.database;
17
18 import java.sql.Timestamp;
19
20 public class Comment {
21
22 private Long id;
23
24 private String comment;
25
26 private String postingUser;
27
28 private String pageName;
29
30 private String extraKey;
31
32
33 private Timestamp creationDate;
34
35
36 private String creationUser;
37
38 public Comment(){
39 }
40
41 public Comment(String postingUser, String comment, String pageName){
42 this.comment = comment;
43 this.postingUser = postingUser;
44 this.pageName = pageName;
45 }
46
47 public String getComment() {
48 return comment;
49 }
50
51 public void setComment(String comment) {
52 this.comment = comment;
53 }
54
55 public Timestamp getCreationDate() {
56 return creationDate;
57 }
58
59 public void setCreationDate(Timestamp creationDate) {
60 this.creationDate = creationDate;
61 }
62
63 public String getCreationUser() {
64 return creationUser;
65 }
66
67 public void setCreationUser(String creationUser) {
68 this.creationUser = creationUser;
69 }
70
71 public Long getId() {
72 return id;
73 }
74
75 public void setId(Long id) {
76 this.id = id;
77 }
78
79 public String getPostingUser() {
80 return postingUser;
81 }
82
83 public void setPostingUser(String postingUser) {
84 this.postingUser = postingUser;
85 }
86
87 public String getPageName() {
88 return pageName;
89 }
90
91 public void setPageName(String pageName) {
92 this.pageName = pageName;
93 }
94
95 public void setExtraKey(String extraKey) {
96 this.extraKey = extraKey;
97 }
98
99 public String getExtraKey() {
100 return extraKey;
101 }
102 }