1
2
3
4
5
6
7
8 package net.kwfgrid.gworkflowdl.structure;
9
10 /***
11 * Link in AnalysisTransition to Place with describing expression.
12 */
13 public interface Edge {
14 /***
15 * initial link to Place
16 */
17 Place DEFAULT_PLACE = null;
18
19 /***
20 * inital empty Expression
21 */
22 String DEFAULT_EXPRESSION = null;
23
24 /***
25 * set Place the Edge is pointing to.
26 *
27 * @param p Place Edge should point to
28 */
29 void setPlace(Place p);
30
31 /***
32 * get place the edge is pointing to.
33 * before setPlace(...) returns DEFAULT_PLACE
34 *
35 * @return place Place Edge points to
36 */
37 Place getPlace();
38
39 String getPlaceID();
40
41
42 /***
43 * set Edge's expression.
44 *
45 * @param ex Edge expression
46 */
47 void setExpression(String ex);
48
49
50 /***
51 * get Edge's expression.
52 * before setExpression returnd DEFAULT_EXPRESSION
53 *
54 * @return Edge expression
55 */
56 String getExpression();
57
58 }