01: package org.enhydra.jawe.components.graph;
02:
03: import org.jgraph.graph.DefaultEdge;
04:
05: /**
06: * Interface for defining Transition graph object.
07: *
08: * @author Sasa Bojanic
09: */
10: public abstract class GraphTransitionInterface extends DefaultEdge
11: implements WorkflowElement {
12:
13: /**
14: * Returns source activity.
15: */
16: public abstract GraphActivityInterface getSourceActivity();
17:
18: /**
19: * Returns target activity.
20: */
21: public abstract GraphActivityInterface getTargetActivity();
22:
23: public abstract boolean hasCondition();
24:
25: }
|