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