--- /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
+public class Position {\r
+ private int left;\r
+ private int top;\r
+ \r
+ public int getLeft() {\r
+ return left;\r
+ }\r
+ public void setLeft(int left) {\r
+ this.left = left;\r
+ }\r
+ public int getTop() {\r
+ return top;\r
+ }\r
+ public void setTop(int top) {\r
+ this.top = top;\r
+ }\r
+}\r
+/**\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
+\r
package org.onap.sdc.workflowdesigner.model;\r
\r
import java.util.ArrayList;\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
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
--- /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
+public class SequenceFlow {\r
+ private String id = "";\r
+ private String name;\r
+ private String sourceRef;\r
+ private String targetRef;\r
+ private String documentation;\r
+ private String condition;\r
+ \r
+ public String getId() {\r
+ return id;\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 getSourceRef() {\r
+ return sourceRef;\r
+ }\r
+ public void setSourceRef(String sourceRef) {\r
+ this.sourceRef = sourceRef;\r
+ }\r
+ public String getTargetRef() {\r
+ return targetRef;\r
+ }\r
+ public void setTargetRef(String targetRef) {\r
+ this.targetRef = targetRef;\r
+ }\r
+ public String getDocumentation() {\r
+ return documentation;\r
+ }\r
+ public void setDocumentation(String documentation) {\r
+ this.documentation = documentation;\r
+ }\r
+\r
+ public String getCondition() {\r
+ return condition;\r
+ }\r
+\r
+ public void setCondition(String condition) {\r
+ this.condition = condition;\r
+ }\r
+ \r
+}\r