001: /**********************************************************************************
002: * $URL: https://source.sakaiproject.org/svn/msgcntr/trunk/messageforums-hbm/src/java/org/sakaiproject/component/app/messageforums/dao/hibernate/DateRestrictionsImpl.java $
003: * $Id: DateRestrictionsImpl.java 9227 2006-05-15 15:02:42Z cwen@iupui.edu $
004: ***********************************************************************************
005: *
006: * Copyright (c) 2003, 2004, 2005, 2006 The Sakai Foundation.
007: *
008: * Licensed under the Educational Community License, Version 1.0 (the "License");
009: * you may not use this file except in compliance with the License.
010: * You may obtain a copy of the License at
011: *
012: * http://www.opensource.org/licenses/ecl1.php
013: *
014: * Unless required by applicable law or agreed to in writing, software
015: * distributed under the License is distributed on an "AS IS" BASIS,
016: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
017: * See the License for the specific language governing permissions and
018: * limitations under the License.
019: *
020: **********************************************************************************/package org.sakaiproject.component.app.messageforums.dao.hibernate;
021:
022: import java.util.Date;
023:
024: import org.apache.commons.logging.Log;
025: import org.apache.commons.logging.LogFactory;
026: import org.sakaiproject.api.app.messageforums.DateRestrictions;
027:
028: public class DateRestrictionsImpl implements DateRestrictions {
029:
030: private static final Log LOG = LogFactory
031: .getLog(DateRestrictionsImpl.class);
032:
033: private Date visible;
034: private Boolean visiblePostOnSchedule;
035: private Date postingAllowed;
036: private Boolean postingAllowedPostOnSchedule;
037: private Date readOnly;
038: private Boolean readOnlyPostOnSchedule;
039: private Date hidden;
040: private Boolean hiddenPostOnSchedule;
041: private Long id;
042: private Integer version;
043:
044: public Long getId() {
045: return id;
046: }
047:
048: public void setId(Long id) {
049: this .id = id;
050: }
051:
052: public Integer getVersion() {
053: return version;
054: }
055:
056: public void setVersion(Integer version) {
057: this .version = version;
058: }
059:
060: public Date getHidden() {
061: return hidden;
062: }
063:
064: public void setHidden(Date hidden) {
065: this .hidden = hidden;
066: }
067:
068: public Boolean getHiddenPostOnSchedule() {
069: return hiddenPostOnSchedule;
070: }
071:
072: public void setHiddenPostOnSchedule(Boolean hiddenPostOnSchedule) {
073: this .hiddenPostOnSchedule = hiddenPostOnSchedule;
074: }
075:
076: public Date getPostingAllowed() {
077: return postingAllowed;
078: }
079:
080: public void setPostingAllowed(Date postingAllowed) {
081: this .postingAllowed = postingAllowed;
082: }
083:
084: public Boolean getPostingAllowedPostOnSchedule() {
085: return postingAllowedPostOnSchedule;
086: }
087:
088: public void setPostingAllowedPostOnSchedule(
089: Boolean postingAllowedPostOnSchedule) {
090: this .postingAllowedPostOnSchedule = postingAllowedPostOnSchedule;
091: }
092:
093: public Date getReadOnly() {
094: return readOnly;
095: }
096:
097: public void setReadOnly(Date readOnly) {
098: this .readOnly = readOnly;
099: }
100:
101: public Boolean getReadOnlyPostOnSchedule() {
102: return readOnlyPostOnSchedule;
103: }
104:
105: public void setReadOnlyPostOnSchedule(Boolean readOnlyPostOnSchedule) {
106: this .readOnlyPostOnSchedule = readOnlyPostOnSchedule;
107: }
108:
109: public Date getVisible() {
110: return visible;
111: }
112:
113: public void setVisible(Date visible) {
114: this .visible = visible;
115: }
116:
117: public Boolean getVisiblePostOnSchedule() {
118: return visiblePostOnSchedule;
119: }
120:
121: public void setVisiblePostOnSchedule(Boolean visiblePostOnSchedule) {
122: this.visiblePostOnSchedule = visiblePostOnSchedule;
123: }
124:
125: }
|