01: /**********************************************************************************
02: * $URL: https://source.sakaiproject.org/svn/msgcntr/trunk/messageforums-hbm/src/java/org/sakaiproject/component/app/messageforums/dao/hibernate/UnreadStatusImpl.java $
03: * $Id: UnreadStatusImpl.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 org.apache.commons.logging.Log;
23: import org.apache.commons.logging.LogFactory;
24: import org.sakaiproject.api.app.messageforums.UnreadStatus;
25:
26: public class UnreadStatusImpl implements UnreadStatus {
27:
28: private static final Log LOG = LogFactory
29: .getLog(UnreadStatusImpl.class);
30:
31: private Long topicId;
32: private Long messageId;
33: private String userId;
34: private Boolean read;
35: private Long id;
36: private Integer version;
37:
38: public Long getId() {
39: return id;
40: }
41:
42: public void setId(Long id) {
43: this .id = id;
44: }
45:
46: public Integer getVersion() {
47: return version;
48: }
49:
50: public void setVersion(Integer version) {
51: this .version = version;
52: }
53:
54: public Long getMessageId() {
55: return messageId;
56: }
57:
58: public void setMessageId(Long messageId) {
59: this .messageId = messageId;
60: }
61:
62: public Boolean getRead() {
63: return read;
64: }
65:
66: public void setRead(Boolean read) {
67: this .read = read;
68: }
69:
70: public Long getTopicId() {
71: return topicId;
72: }
73:
74: public void setTopicId(Long topicId) {
75: this .topicId = topicId;
76: }
77:
78: public String getUserId() {
79: return userId;
80: }
81:
82: public void setUserId(String userId) {
83: this.userId = userId;
84: }
85:
86: }
|