Kawai Wiki

Rev

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

Rev 22 Rev 24
Line 14... Line 14...
14
        private int languageId;
14
        private int languageId;
15
        private int modifiedBy;
15
        private int modifiedBy;
16
        private Date modifiedOn;
16
        private Date modifiedOn;
17
        private int createdBy;
17
        private int createdBy;
18
        private Date createdOn;
18
        private Date createdOn;
-
 
19
        private boolean isFrontPage;
19
       
20
       
20
        public Page() { }
21
        public Page() { }
21
22
22
        public int getId() {
23
        public int getId() {
23
        return id;
24
        return id;
Line 100... Line 101...
100
    }
101
    }
101
102
102
        public void setCreatedOn(Date createdOn) {
103
        public void setCreatedOn(Date createdOn) {
103
        this.createdOn = createdOn;
104
        this.createdOn = createdOn;
104
    }
105
    }
-
 
106
       
-
 
107
        public void setFrontPage(boolean isFrontPage) {
-
 
108
                this.isFrontPage = isFrontPage;
-
 
109
        }
-
 
110
       
-
 
111
        public boolean isFrontPage() {
-
 
112
                return isFrontPage;
-
 
113
        }
105
114
106
        @Override
115
        @Override
107
    public String toString() {
116
    public String toString() {
108
            return "Page [name=" + name + ";language=" + getLanguage() + "]";
117
            return "Page [name=" + name + ";language=" + getLanguage() + "]";
109
    }
118
    }