Kawai Wiki

Rev

Rev 78 | Rev 80 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
78 soliveira 1
package org.kawai.model;
2
 
79 soliveira 3
import java.util.Date;
4
 
78 soliveira 5
public class Revision {
6
 
7
        private int id;
8
        private int revision;
9
        private String name;
10
        private int languageId;
11
        private int userId;
12
        private User user;
13
        private String oldTitle;
14
        private String newTitle;
15
        private String oldBody;
16
        private String newBody;
79 soliveira 17
        private Date createdOn;
78 soliveira 18
 
19
        public Revision() { }
20
 
21
        public int getId() {
22
        return id;
23
    }
24
 
25
        public void setId(int id) {
26
        this.id = id;
27
    }
28
 
29
        public int getRevision() {
30
        return revision;
31
    }
32
 
33
        public void setRevision(int revision) {
34
        this.revision = revision;
35
    }
36
 
37
        public String getName() {
38
        return name;
39
    }
40
 
41
        public void setName(String name) {
42
        this.name = name;
43
    }
44
 
45
        public int getLanguageId() {
46
        return languageId;
47
    }
48
 
49
        public void setLanguageId(int languageId) {
50
        this.languageId = languageId;
51
    }
52
 
53
        public int getUserId() {
54
        return userId;
55
    }
56
 
57
        public void setUserId(int userId) {
58
        this.userId = userId;
59
    }
60
 
61
        public User getUser() {
62
        return user;
63
    }
64
 
65
        public void setUser(User user) {
66
        this.user = user;
67
    }
68
 
69
        public String getOldTitle() {
70
        return oldTitle;
71
    }
72
 
73
        public void setOldTitle(String oldTitle) {
74
        this.oldTitle = oldTitle;
75
    }
76
 
77
        public String getNewTitle() {
78
        return newTitle;
79
    }
80
 
81
        public void setNewTitle(String newTitle) {
82
        this.newTitle = newTitle;
83
    }
84
 
85
        public String getOldBody() {
86
        return oldBody;
87
    }
88
 
89
        public void setOldBody(String oldBody) {
90
        this.oldBody = oldBody;
91
    }
92
 
93
        public String getNewBody() {
94
        return newBody;
95
    }
96
 
97
        public void setNewBody(String newBody) {
98
        this.newBody = newBody;
99
    }
79 soliveira 100
 
101
        public Date getCreatedOn() {
102
        return createdOn;
103
    }
104
 
105
        public void setCreatedOn(Date createdOn) {
106
        this.createdOn = createdOn;
107
    }
78 soliveira 108
 
109
}