001: /**
002: * Copyright (c) 2000-2008 Liferay, Inc. All rights reserved.
003: *
004: * Permission is hereby granted, free of charge, to any person obtaining a copy
005: * of this software and associated documentation files (the "Software"), to deal
006: * in the Software without restriction, including without limitation the rights
007: * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
008: * copies of the Software, and to permit persons to whom the Software is
009: * furnished to do so, subject to the following conditions:
010: *
011: * The above copyright notice and this permission notice shall be included in
012: * all copies or substantial portions of the Software.
013: *
014: * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
015: * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
016: * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
017: * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
018: * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
019: * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
020: * SOFTWARE.
021: */package com.liferay.portlet.workflow.model;
022:
023: import java.io.Serializable;
024:
025: import java.util.Date;
026:
027: /**
028: * <a href="WorkflowTask.java.html"><b><i>View Source</i></b></a>
029: *
030: * @author Charles May
031: *
032: */
033: public class WorkflowTask implements Serializable {
034:
035: public WorkflowTask() {
036: }
037:
038: public long getTaskId() {
039: return _taskId;
040: }
041:
042: public void setTaskId(long taskId) {
043: _taskId = taskId;
044: }
045:
046: public String getName() {
047: return _name;
048: }
049:
050: public void setName(String name) {
051: _name = name;
052: }
053:
054: public WorkflowInstance getInstance() {
055: return _instance;
056: }
057:
058: public void setInstance(WorkflowInstance instance) {
059: _instance = instance;
060: }
061:
062: public long getAssignedUserId() {
063: return _assignedUserId;
064: }
065:
066: public void setAssignedUserId(long assignedUserId) {
067: _assignedUserId = assignedUserId;
068: }
069:
070: public Date getCreateDate() {
071: return _createDate;
072: }
073:
074: public void setCreateDate(Date createDate) {
075: _createDate = createDate;
076: }
077:
078: public Date getStartDate() {
079: return _startDate;
080: }
081:
082: public void setStartDate(Date startDate) {
083: _startDate = startDate;
084: }
085:
086: public Date getEndDate() {
087: return _endDate;
088: }
089:
090: public void setEndDate(Date endDate) {
091: _endDate = endDate;
092: }
093:
094: private long _taskId;
095: private String _name;
096: private WorkflowInstance _instance;
097: private long _assignedUserId;
098: private Date _createDate;
099: private Date _startDate;
100: private Date _endDate;
101:
102: }
|