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.List;
\r
16 public class Element {
\r
18 startEvent, endEvent, errorStartEvent, errorEndEvent, serviceTask, scriptTask, exclusiveGateway, parallelGateway, restTask, intermediateCatchEvent
\r
22 private String name;
\r
24 private String documentation;
\r
25 private Position position;
\r
26 private List<String> connections;
\r
28 public String getId() {
\r
32 public Position getPosition() {
\r
36 public void setPosition(Position position) {
\r
37 this.position = position;
\r
40 public List<String> getConnections() {
\r
44 public void setConnections(List<String> connections) {
\r
45 this.connections = connections;
\r
48 public void setId(String id) {
\r
52 public String getName() {
\r
56 public void setName(String name) {
\r
60 public String getDocumentation() {
\r
61 return documentation;
\r
64 public void setDocumentation(String documentation) {
\r
65 this.documentation = documentation;
\r
68 public TYPE getType() {
\r
72 public void setType(TYPE type) {
\r