1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18 package org.apache.commons.scxml.model;
19
20 /***
21 * The class in this SCXML object model that corresponds to the
22 * <param> SCXML element.
23 *
24 */
25 public class Param {
26
27 /***
28 * The param name.
29 */
30 private String name;
31
32 /***
33 * The param expression, may be null.
34 */
35 private String expr;
36
37 /***
38 * Default no-args constructor for Digester.
39 */
40 public Param() {
41 name = null;
42 expr = null;
43 }
44 /***
45 * Get the name for this param.
46 *
47 * @return String The param name.
48 */
49 public final String getName() {
50 return name;
51 }
52
53 /***
54 * Set the name for this param.
55 *
56 * @param name The param name.
57 */
58 public final void setName(final String name) {
59 this.name = name;
60 }
61
62 /***
63 * Get the expression for this param value.
64 *
65 * @return String The expression for this param value.
66 */
67 public final String getExpr() {
68 return expr;
69 }
70
71 /***
72 * Set the expression for this param value.
73 *
74 * @param expr The expression for this param value.
75 */
76 public final void setExpr(final String expr) {
77 this.expr = expr;
78 }
79
80 }
81