c229c29160a349f0d226b15c1053cab03bbb6eb1
[sdc/sdc-workflow-designer.git] / sdc-workflow-designer-server / src / main / java / org / onap / sdc / workflowdesigner / model / Process.java
1 /**\r
2  * Copyright (c) 2017 ZTE Corporation.\r
3  * All rights reserved. This program and the accompanying materials\r
4  * are made available under the Apache License, Version 2.0\r
5  * and the Eclipse Public License v1.0 which both accompany this distribution,\r
6  * and are available at http://www.eclipse.org/legal/epl-v10.html\r
7  * and http://www.apache.org/licenses/LICENSE-2.0\r
8  *\r
9  * Contributors:\r
10  *     ZTE - initial API and implementation and/or initial documentation\r
11  */\r
12 package org.onap.sdc.workflowdesigner.model;\r
13 \r
14 import java.util.ArrayList;\r
15 import java.util.List;\r
16 \r
17 public class Process {\r
18     private String id;\r
19     private boolean isExecutable;\r
20     private List<Element> elementList = new ArrayList<Element>();\r
21     private List<SequenceFlow> sequenceFlowList = new ArrayList<SequenceFlow>();\r
22 \r
23     public Process(String id) {\r
24         this.id = id;\r
25     }\r
26 \r
27     public String getId() {\r
28         return id;\r
29     }\r
30 \r
31     public void setId(String id) {\r
32         this.id = id;\r
33     }\r
34 \r
35     public boolean isExecutable() {\r
36         return isExecutable;\r
37     }\r
38 \r
39     public void setExecutable(boolean isExecutable) {\r
40         this.isExecutable = isExecutable;\r
41     }\r
42 \r
43     public List<Element> getElementList() {\r
44         return elementList;\r
45     }\r
46 \r
47     public void setElementList(List<Element> elementList) {\r
48         this.elementList = elementList;\r
49     }\r
50 \r
51     public List<SequenceFlow> getSequenceFlowList() {\r
52         return sequenceFlowList;\r
53     }\r
54 \r
55     public void setSequenceFlowList(List<SequenceFlow> sequenceFlowList) {\r
56         this.sequenceFlowList = sequenceFlowList;\r
57     }\r
58 \r
59 }\r