View Javadoc

1   /*
2    * Copyright 2004-2006 the Seasar Foundation and the Others.
3    *
4    * Licensed under the Apache License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    *
8    *     http://www.apache.org/licenses/LICENSE-2.0
9    *
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, 
13   * either express or implied. See the License for the specific language
14   * governing permissions and limitations under the License.
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  	//tuigwaa built in 
33  	private Timestamp creationDate;
34  	
35  	//tuigwaa built in
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 }