01: /**********************************************************************************
02: * $URL:https://source.sakaiproject.org/svn/osp/trunk/presentation/api/src/java/org/theospi/portfolio/presentation/model/PresentationLog.java $
03: * $Id:PresentationLog.java 9134 2006-05-08 20:28:42Z chmaurer@iupui.edu $
04: ***********************************************************************************
05: *
06: * Copyright (c) 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.theospi.portfolio.presentation.model;
21:
22: import java.util.Date;
23:
24: import org.sakaiproject.metaobj.shared.model.Agent;
25: import org.sakaiproject.metaobj.shared.model.IdentifiableObject;
26:
27: /**
28: * what are the things we might need for logging
29: * <p/>
30: * userid
31: * viewDate -- just the date not time
32: * starttime
33: * stoptime
34: * userid
35: */
36: public class PresentationLog extends IdentifiableObject {
37: private Presentation presentation;
38: private Date viewDate;
39: private Agent viewer;
40:
41: public PresentationLog() {
42: }
43:
44: public Date getViewDate() {
45: return viewDate;
46: }
47:
48: public void setViewDate(Date Created) {
49: this .viewDate = Created;
50: }
51:
52: public Presentation getPresentation() {
53: return presentation;
54: }
55:
56: public void setPresentation(Presentation presentation) {
57: this .presentation = presentation;
58: }
59:
60: public Agent getViewer() {
61: return viewer;
62: }
63:
64: public void setViewer(Agent viewer) {
65: this.viewer = viewer;
66: }
67: }
|