1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * This library is free software; you can redistribute it and/or modify it under
5    * the terms of the GNU Lesser General Public License as published by the Free
6    * Software Foundation; either version 2.1 of the License, or (at your option)
7    * any later version.
8    *
9    * This library is distributed in the hope that it will be useful, but WITHOUT
10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11   * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12   * details.
13   */
14  
15  package com.liferay.portal.kernel.workflow;
16  
17  import java.io.Serializable;
18  
19  import java.util.Date;
20  
21  /**
22   * <a href="DefaultWorkflowLog.java.html"><b><i>View Source</i></b></a>
23   *
24   * @author Shuyang Zhou
25   * @author Brian Wing Shun Chan
26   * @author Marcellus Tavares
27   */
28  public class DefaultWorkflowLog implements Serializable, WorkflowLog {
29  
30      public String getComment() {
31          return _comment;
32      }
33  
34      public Date getCreateDate() {
35          return _createDate;
36      }
37  
38      public long getPreviousRoleId() {
39          return _previousRoleId;
40      }
41  
42      public String getPreviousState() {
43          return _previousState;
44      }
45  
46      public long getPreviousUserId() {
47          return _previousUserId;
48      }
49  
50      public long getRoleId() {
51          return _roleId;
52      }
53  
54      public String getState() {
55          return _state;
56      }
57  
58      public int getType() {
59          return _type;
60      }
61  
62      public long getUserId() {
63          return _userId;
64      }
65  
66      public long getWorkflowLogId() {
67          return _workflowLogId;
68      }
69  
70      public long getWorkflowTaskId() {
71          return _workflowTaskId;
72      }
73  
74      public void setComment(String comment) {
75          _comment = comment;
76      }
77  
78      public void setCreateDate(Date createDate) {
79          _createDate = createDate;
80      }
81  
82      public void setPreviousRoleId(long previousRoleId) {
83          _previousRoleId = previousRoleId;
84      }
85  
86      public void setPreviousState(String previousState) {
87          _previousState = previousState;
88      }
89  
90      public void setPreviousUserId(long previousUserId) {
91          _previousUserId = previousUserId;
92      }
93  
94      public void setRoleId(long roleId) {
95          _roleId = roleId;
96      }
97  
98      public void setState(String state) {
99          _state = state;
100     }
101 
102     public void setType(int type) {
103         _type = type;
104     }
105 
106     public void setUserId(long userId) {
107         _userId = userId;
108     }
109 
110     public void setWorkflowLogId(long workflowLogId) {
111         _workflowLogId = workflowLogId;
112     }
113 
114     public void setWorkflowTaskId(long workflowTaskId) {
115         _workflowTaskId = workflowTaskId;
116     }
117 
118     private String _comment;
119     private Date _createDate;
120     private long _previousRoleId;
121     private String _previousState;
122     private long _previousUserId;
123     private String _state;
124     private int _type;
125     private long _userId;
126     private long _roleId;
127     private long _workflowLogId;
128     private long _workflowTaskId;
129 
130 }