01: package org.emforge.wiki.providers.hibernateprovider;
02:
03: import java.util.Date;
04:
05: /**
06: * The PageBean entity mapping with the table wiki_page
07: */
08: public class PageDO {
09: private Integer id;
10: private Integer version = -1;
11: private String name = null;
12: private Date datetime = null;
13: private String author = null;
14: private String notes = null;
15: private String content = null;
16:
17: public PageDO() {
18: }
19:
20: public void setId(Integer id) {
21: this .id = id;
22: }
23:
24: public Integer getId() {
25: return this .id;
26: }
27:
28: public void setName(String name) {
29: this .name = name;
30: }
31:
32: public String getName() {
33: return this .name;
34: }
35:
36: public void setVersion(int version) {
37: this .version = version;
38: }
39:
40: public int getVersion() {
41: return this .version;
42: }
43:
44: public Date getDatetime() {
45: return this .datetime;
46: }
47:
48: public void setDatetime(Date time) {
49: this .datetime = time;
50: }
51:
52: public void setAuthor(String name) {
53: this .author = name;
54: }
55:
56: public String getAuthor() {
57: return this .author;
58: }
59:
60: public void setNotes(String notes) {
61: this .notes = notes;
62: }
63:
64: public String getNotes() {
65: return this .notes;
66: }
67:
68: public void setContent(String content) {
69: this .content = content;
70: }
71:
72: public String getContent() {
73: return this.content;
74: }
75: }
|