1 | void setClassname(String classname)↵ | | 1 | void setVarName(String ↵
|
2 | {↵ | | |
|
3 | ↵ | | 2 | name) {↵
|
4 | setProperty(CLASSNAME, classname);↵ | | 3 | setProperty(VAR_NAME, name);↵
|
5 | }↵ | | 4 | }↵
|
|
6 | /**↵ | | |
|
7 | * Gets the Classname attribute of the JavaConfig object↵ | | |
|
8 | *↵ | | |
|
9 | * @return the Classname value↵ | | |
|
10 | */↵ | | |
|
11 | public String getClassname()↵ | | |
|
12 | {↵ | | |
|
13 | ↵ | | 5 | public String getVarName() {↵
|
14 | return getPropertyAsString(CLASSNAME);↵ | | 6 | return getPropertyAsString(VAR_NAME);↵
|
15 | }↵ | | |
|
16 | ↵ | | |
|
17 | /**↵ | | |
|
18 | * Set the string label used to create an instance of the↵ | | |
|
19 | * test with the string constructor.↵ | | |
|
20 | * @param constr↵ | | |
|
21 | */↵ | | 7 | }↵
|
|
22 | public void setConstructorString(String constr)↵ | | 8 | public void set↵
|
23 | {↵ | | |
|
24 | setProperty(CONSTRUCTORSTRING,constr);↵ | | |
|
25 | }↵ | | |
|
26 | ↵ | | |
|
27 | /**↵ | | |
|
28 | * get the string passed to the string constructor↵ | | |
|
29 | */↵ | | |
|
30 | public String getConstructorString()↵ | | |
|
31 | ↵ | | 9 | Format(String format) {↵
|
| | | 10 | setProperty(FORMAT, format);↵
|
| | | 11 | }↵
|
|
32 | {↵ | | 12 | public String getFormat() {↵
|
33 | return getPropertyAsString(CONSTRUCTORSTRING);↵ | | 13 | return getPropertyAsString(FORMAT);↵
|
34 | } | | 14 | }
|