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