--- /dev/null
+/**\r
+ * Copyright (c) 2017 ZTE Corporation.\r
+ * All rights reserved. This program and the accompanying materials\r
+ * are made available under the terms of the Eclipse Public License v1.0\r
+ * and the Apache License 2.0 which both accompany this distribution,\r
+ * and are available at http://www.eclipse.org/legal/epl-v10.html\r
+ * and http://www.apache.org/licenses/LICENSE-2.0\r
+ *\r
+ * Contributors:\r
+ * ZTE - initial API and implementation and/or initial documentation\r
+ */\r
+package org.onap.sdc.workflowdesigner.model;\r
+\r
+import java.util.List;\r
+\r
+public class Element {\r
+ private String id;\r
+ private String name;\r
+ private String type;\r
+ private String documentation;\r
+ private Position position;\r
+ private List<String> connections;\r
+ \r
+ public String getId() {\r
+ return id;\r
+ }\r
+ public Position getPosition() {\r
+ return position;\r
+ }\r
+ public void setPosition(Position position) {\r
+ this.position = position;\r
+ }\r
+ public List<String> getConnections() {\r
+ return connections;\r
+ }\r
+ public void setConnections(List<String> connections) {\r
+ this.connections = connections;\r
+ }\r
+ public void setId(String id) {\r
+ this.id = id;\r
+ }\r
+ public String getName() {\r
+ return name;\r
+ }\r
+ public void setName(String name) {\r
+ this.name = name;\r
+ }\r
+ public String getDocumentation() {\r
+ return documentation;\r
+ }\r
+ public void setDocumentation(String documentation) {\r
+ this.documentation = documentation;\r
+ }\r
+ public String getType() {\r
+ return type;\r
+ }\r
+ public void setType(String type) {\r
+ this.type = type;\r
+ }\r
+ \r
+}\r
--- /dev/null
+package org.onap.sdc.workflowdesigner.model;\r
+\r
+import java.util.ArrayList;\r
+import java.util.List;\r
+\r
+public class Process {\r
+ private String id;\r
+ private boolean isExecutable;\r
+ private List<Element> elementList = new ArrayList<Element>();\r
+ private List<SequenceFlow> sequenceFlowList = new ArrayList<SequenceFlow>();\r
+ private List<DataObject> dataObjectList = new ArrayList<DataObject>();\r
+ \r
+ public Process(String id) {\r
+ this.id = id;\r
+ }\r
+ \r
+ public String getId() {\r
+ return id;\r
+ }\r
+ public void setId(String id) {\r
+ this.id = id;\r
+ }\r
+ public boolean isExecutable() {\r
+ return isExecutable;\r
+ }\r
+ public void setExecutable(boolean isExecutable) {\r
+ this.isExecutable = isExecutable;\r
+ }\r
+ public List<Element> getElementList() {\r
+ return elementList;\r
+ }\r
+ public void setElementList(List<Element> elementList) {\r
+ this.elementList = elementList;\r
+ }\r
+ public List<SequenceFlow> getSequenceFlowList() {\r
+ return sequenceFlowList;\r
+ }\r
+ public void setSequenceFlowList(List<SequenceFlow> sequenceFlowList) {\r
+ this.sequenceFlowList = sequenceFlowList;\r
+ }\r
+\r
+ public List<DataObject> getDataObjectList() {\r
+ return dataObjectList;\r
+ }\r
+\r
+ public void setDataObjectList(List<DataObject> dataObjectList) {\r
+ this.dataObjectList = dataObjectList;\r
+ }\r
+\r
+}\r