Kawai Wiki

Rev

Rev 78 | Rev 80 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 78 Rev 79
Line 1... Line 1...
1
package org.kawai.model;
1
package org.kawai.model;
-
 
2
-
 
3
import java.util.Date;
2
4
3
public class Revision {
5
public class Revision {
4
       
6
       
5
        private int id;
7
        private int id;
6
        private int revision;
8
        private int revision;
Line 10... Line 12...
10
        private User user;
12
        private User user;
11
        private String oldTitle;
13
        private String oldTitle;
12
        private String newTitle;
14
        private String newTitle;
13
        private String oldBody;
15
        private String oldBody;
14
        private String newBody;
16
        private String newBody;
-
 
17
        private Date createdOn;
15
       
18
       
16
        public Revision() { }
19
        public Revision() { }
17
20
18
        public int getId() {
21
        public int getId() {
19
        return id;
22
        return id;
Line 91... Line 94...
91
        return newBody;
94
        return newBody;
92
    }
95
    }
93
96
94
        public void setNewBody(String newBody) {
97
        public void setNewBody(String newBody) {
95
        this.newBody = newBody;
98
        this.newBody = newBody;
-
 
99
    }
-
 
100
-
 
101
        public Date getCreatedOn() {
-
 
102
        return createdOn;
-
 
103
    }
-
 
104
-
 
105
        public void setCreatedOn(Date createdOn) {
-
 
106
        this.createdOn = createdOn;
96
    }
107
    }
97
       
108
       
98
}
109
}