01: package com.opensymphony.workflow.designer;
02:
03: import org.jgraph.graph.DefaultPort;
04:
05: /**
06: * User: Hani Suleiman
07: * Date: Oct 16, 2003
08: * Time: 3:12:13 PM
09: */
10: public class WorkflowPort extends DefaultPort {
11: private int index;
12:
13: public WorkflowPort() {
14: }
15:
16: public WorkflowPort(int index) {
17: this .index = index;
18: }
19:
20: public int getIndex() {
21: return index;
22: }
23:
24: public void setIndex(int index) {
25: this .index = index;
26: }
27:
28: public int getEdgeCount() {
29: return edges.size();
30: }
31: }
|