1 | String getClassname()↵ | | 1 | String get↵
|
2 | {↵ | | |
|
3 | return getPropertyAsString(CLASSNAME);↵ | | |
|
4 | }↵ | | |
|
5 | ↵ | | |
|
6 | ↵ | | 2 | MatchNumberAsString() {↵
|
| | | 3 | return getPropertyAsString(MATCH_NUMBER);↵
|
| | | 4 | }↵
|
|
7 | /**↵ | | 5 | /**↵
|
8 | * Set the string label used to create an instance of the↵ | | 6 | * Sets the value of the variable if ↵
|
9 | * test with the string constructor.↵ | | |
|
10 | * @param constr↵ | | |
|
11 | ↵ | | 7 | no matches are found↵
|
| | | 8 | * ↵
|
| | | 9 | * @param defaultValue↵
|
12 | */↵ | | 10 | */↵
|
13 | public void setConstructorString(String constr)↵ | | 11 | public void set↵
|
14 | {↵ | | |
|
15 | setProperty(CONSTRUCTORSTRING,constr);↵ | | |
|
16 | }↵ | | |
|
17 | ↵ | | |
|
18 | /**↵ | | |
|
19 | * get the string passed to the string constructor↵ | | |
|
20 | */↵ | | |
|
21 | public String getConstructorString()↵ | | |
|
22 | {↵ | | |
|
23 | ↵ | | 12 | DefaultValue(String defaultValue) {↵
|
| | | 13 | setProperty(DEFAULT, defaultValue);↵
|
| | | 14 | }↵
|
|
| | | 15 | public String getDefaultValue() {↵
|
24 | return getPropertyAsString(CONSTRUCTORSTRING);↵ | | 16 | return getPropertyAsString(↵
|
25 | | | 17 | DEFAULT);↵
|
| | | 18 |
|