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