01: /**********************************************************************************
02: * $URL: https://source.sakaiproject.org/svn/msgcntr/trunk/messageforums-hbm/src/java/org/sakaiproject/component/app/messageforums/dao/hibernate/MutableEntityImpl.java $
03: * $Id: MutableEntityImpl.java 9227 2006-05-15 15:02:42Z cwen@iupui.edu $
04: ***********************************************************************************
05: *
06: * Copyright (c) 2003, 2004, 2005, 2006 The Sakai Foundation.
07: *
08: * Licensed under the Educational Community License, Version 1.0 (the "License");
09: * you may not use this file except in compliance with the License.
10: * You may obtain a copy of the License at
11: *
12: * http://www.opensource.org/licenses/ecl1.php
13: *
14: * Unless required by applicable law or agreed to in writing, software
15: * distributed under the License is distributed on an "AS IS" BASIS,
16: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17: * See the License for the specific language governing permissions and
18: * limitations under the License.
19: *
20: **********************************************************************************/package org.sakaiproject.component.app.messageforums.dao.hibernate;
21:
22: import java.util.Date;
23:
24: import org.apache.commons.logging.Log;
25: import org.apache.commons.logging.LogFactory;
26: import org.sakaiproject.api.app.messageforums.MutableEntity;
27:
28: public class MutableEntityImpl implements MutableEntity {
29:
30: private static final Log LOG = LogFactory
31: .getLog(MutableEntityImpl.class);
32:
33: protected Long id;
34: protected String uuid;
35: protected Date created;
36: protected String createdBy;
37: protected Date modified;
38: protected String modifiedBy;
39: protected Integer version;
40:
41: public Date getCreated() {
42: return created;
43: }
44:
45: public void setCreated(Date created) {
46: this .created = created;
47: }
48:
49: public String getCreatedBy() {
50: return createdBy;
51: }
52:
53: public void setCreatedBy(String createdBy) {
54: this .createdBy = createdBy;
55: }
56:
57: public Long getId() {
58: return id;
59: }
60:
61: public void setId(Long id) {
62: this .id = id;
63: }
64:
65: public String getModifiedBy() {
66: return modifiedBy;
67: }
68:
69: public void setModifiedBy(String modifiedBy) {
70: this .modifiedBy = modifiedBy;
71: }
72:
73: public Date getModified() {
74: return modified;
75: }
76:
77: public void setModified(Date modified) {
78: this .modified = modified;
79: }
80:
81: public String getUuid() {
82: return uuid;
83: }
84:
85: public void setUuid(String uuid) {
86: this .uuid = uuid;
87: }
88:
89: public Integer getVersion() {
90: return version;
91: }
92:
93: public void setVersion(Integer version) {
94: this.version = version;
95: }
96:
97: }
|