1 | void setDefaultValue(String defaultValue) {↵ | | 1 | void set↵
|
2 | setProperty(DEFAULT, defaultValue);↵ | | |
|
3 | }↵ | | |
|
|
4 | public String getDefaultValue() {↵ | | |
|
5 | return getPropertyAsString(DEFAULT);↵ | | |
|
6 | }↵ | | |
|
|
7 | public void setTemplate(String template) {↵ | | |
|
8 | setProperty(TEMPLATE, template);↵ | | |
|
9 | }↵ | | |
|
|
10 | public String getTemplate() {↵ | | |
|
11 | ↵ | | 2 | Classname(String classname)↵
|
| | | 3 | {↵
|
| | | 4 | setProperty(CLASSNAME, classname);↵
|
| | | 5 | }↵
|
|
| | | 6 | /**↵
|
| | | 7 | * Gets the Classname attribute of the JavaConfig object↵
|
| | | 8 | *↵
|
| | | 9 | * @return the Classname value↵
|
| | | 10 | */↵
|
| | | 11 | public String getClassname()↵
|
| | | 12 | {↵
|
| | | 13 | return getPropertyAsString(CLASSNAME);↵
|
| | | 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 | */↵
|
| | | 21 | public void setConstructorString(String constr)↵
|
| | | 22 | {↵
|
| | | 23 | setProperty(CONSTRUCTORSTRING,constr);↵
|
| | | 24 | }↵
|
| | | 25 | ↵
|
| | | 26 | /**↵
|
| | | 27 | * get the string passed to the string constructor↵
|
| | | 28 | */↵
|
| | | 29 | public String getConstructorString()↵
|
| | | 30 | {↵
|
12 | return getPropertyAsString(TEMPLATE);↵ | | 31 | return getPropertyAsString(↵
|
13 | ↵ | | 32 | CONSTRUCTORSTRING);↵
|
14 | } | | 33 | }
|