001: /**********************************************************************************
002: * $URL: https://source.sakaiproject.org/svn/osp/tags/sakai_2-4-1/common/api/src/java/org/theospi/portfolio/shared/model/ObjectWithWorkflow.java $
003: * $Id: ObjectWithWorkflow.java 10835 2006-06-17 03:25:03Z lance@indiana.edu $
004: ***********************************************************************************
005: *
006: * Copyright (c) 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.theospi.portfolio.shared.model;
021:
022: import java.util.HashSet;
023: import java.util.Set;
024:
025: import org.sakaiproject.metaobj.shared.model.Id;
026: import org.sakaiproject.metaobj.shared.model.IdentifiableObject;
027:
028: public class ObjectWithWorkflow extends IdentifiableObject {
029:
030: private Id reflectionDevice;
031: private String reflectionDeviceType;
032: private Id evaluationDevice;
033: private String evaluationDeviceType;
034: private Id reviewDevice;
035: private String reviewDeviceType;
036: private Set evalWorkflows = new HashSet();
037:
038: /**
039: * @return Returns the evalWorkflows.
040: */
041: public Set getEvalWorkflows() {
042: return evalWorkflows;
043: }
044:
045: /**
046: * @param evalWorkflows The evalWorkflows to set.
047: */
048: public void setEvalWorkflows(Set evalWorkflows) {
049: this .evalWorkflows = evalWorkflows;
050: }
051:
052: /**
053: * @return Returns the evaluationDevice.
054: */
055: public Id getEvaluationDevice() {
056: return evaluationDevice;
057: }
058:
059: /**
060: * @param evaluationDevice The evaluationDevice to set.
061: */
062: public void setEvaluationDevice(Id evaluationDevice) {
063: this .evaluationDevice = evaluationDevice;
064: }
065:
066: /**
067: * @return Returns the evaluationDeviceType.
068: */
069: public String getEvaluationDeviceType() {
070: return evaluationDeviceType;
071: }
072:
073: /**
074: * @param evaluationDeviceType The evaluationDeviceType to set.
075: */
076: public void setEvaluationDeviceType(String evaluationDeviceType) {
077: this .evaluationDeviceType = evaluationDeviceType;
078: }
079:
080: /**
081: * @return Returns the reflectionDevice.
082: */
083: public Id getReflectionDevice() {
084: return reflectionDevice;
085: }
086:
087: /**
088: * @param reflectionDevice The reflectionDevice to set.
089: */
090: public void setReflectionDevice(Id reflectionDevice) {
091: this .reflectionDevice = reflectionDevice;
092: }
093:
094: /**
095: * @return Returns the reflectionDeviceType.
096: */
097: public String getReflectionDeviceType() {
098: return reflectionDeviceType;
099: }
100:
101: /**
102: * @param reflectionDeviceType The reflectionDeviceType to set.
103: */
104: public void setReflectionDeviceType(String reflectionDeviceType) {
105: this .reflectionDeviceType = reflectionDeviceType;
106: }
107:
108: /**
109: * @return Returns the reviewDevice.
110: */
111: public Id getReviewDevice() {
112: return reviewDevice;
113: }
114:
115: /**
116: * @param reviewDevice The reviewDevice to set.
117: */
118: public void setReviewDevice(Id reviewDevice) {
119: this .reviewDevice = reviewDevice;
120: }
121:
122: /**
123: * @return Returns the reviewDeviceType.
124: */
125: public String getReviewDeviceType() {
126: return reviewDeviceType;
127: }
128:
129: /**
130: * @param reviewDeviceType The reviewDeviceType to set.
131: */
132: public void setReviewDeviceType(String reviewDeviceType) {
133: this.reviewDeviceType = reviewDeviceType;
134: }
135:
136: }
|