| DefaultWorkflowDefinition.java |
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.InputStream;
18 import java.io.Serializable;
19
20 import java.util.Map;
21
22 /**
23 * <a href="DefaultWorkflowDefinition.java.html"><b><i>View Source</i></b></a>
24 *
25 * @author Shuyang Zhou
26 * @author Brian Wing Shun Chan
27 */
28 public class DefaultWorkflowDefinition
29 implements Serializable, WorkflowDefinition {
30
31 public InputStream getInputStream() {
32 return _inputStream;
33 }
34
35 public String getName() {
36 return _name;
37 }
38
39 public Map<String, Object> getOptionalAttributes() {
40 return _optionalAttributes;
41 }
42
43 public int getVersion() {
44 return _version;
45 }
46
47 public void setInputStream(InputStream inputStream) {
48 _inputStream = inputStream;
49 }
50
51 public void setName(String name) {
52 _name = name;
53 }
54
55 public void setOptionalAttributes(Map<String, Object> optionalAttributes) {
56 _optionalAttributes = optionalAttributes;
57 }
58
59 public void setVersion(int version) {
60 _version = version;
61 }
62
63 private InputStream _inputStream;
64 private String _name;
65 private Map<String, Object> _optionalAttributes;
66 private int _version;
67
68 }