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
10 * ZTE - initial API and implementation and/or initial documentation
\r
12 package org.onap.sdc.workflowdesigner.model;
\r
14 import java.util.ArrayList;
\r
15 import java.util.List;
\r
17 public class Process {
\r
19 private boolean isExecutable;
\r
20 private List<Element> elementList = new ArrayList<Element>();
\r
21 private List<SequenceFlow> sequenceFlowList = new ArrayList<SequenceFlow>();
\r
23 public Process(String id) {
\r
27 public String getId() {
\r
31 public void setId(String id) {
\r
35 public boolean isExecutable() {
\r
36 return isExecutable;
\r
39 public void setExecutable(boolean isExecutable) {
\r
40 this.isExecutable = isExecutable;
\r
43 public List<Element> getElementList() {
\r
47 public void setElementList(List<Element> elementList) {
\r
48 this.elementList = elementList;
\r
51 public List<SequenceFlow> getSequenceFlowList() {
\r
52 return sequenceFlowList;
\r
55 public void setSequenceFlowList(List<SequenceFlow> sequenceFlowList) {
\r
56 this.sequenceFlowList = sequenceFlowList;
\r