1 | void setClassname(String classname)↵ | | 1 | void set↵
|
2 | {↵ | | |
|
3 | setProperty(CLASSNAME, classname);↵ | | |
|
4 | ↵ | | 2 | Rootdn(String newRootdn) {↵
|
| | | 3 | this.setProperty(ROOTDN, newRootdn);↵
|
5 | }↵ | | 4 | }↵
|
|
6 | /**↵ | | 5 | /**↵
|
7 | * Gets the Classname attribute of the JavaConfig object↵ | | 6 | * Gets the Rootdn attribute of the LDAPSampler object.↵
|
8 | *↵ | | |
|
9 | ↵ | | 7 | * ↵
|
10 | * @return the Classname value↵ | | 8 | * @return the Rootdn value↵
|
11 | */↵ | | 9 | */↵
|
12 | public String getClassname()↵ | | 10 | public String get↵
|
13 | {↵ | | |
|
14 | return getPropertyAsString(CLASSNAME);↵ | | |
|
15 | }↵ | | |
|
16 | ↵ | | |
|
17 | ↵ | | 11 | Rootdn() {↵
|
| | | 12 | return getPropertyAsString(ROOTDN);↵
|
| | | 13 | }↵
|
|
18 | /**↵ | | 14 | /**↵
|
19 | * Set the string label used to create an instance of the↵ | | 15 | * Sets the ↵
|
| | | 16 | Test attribute of the LdapConfig object.↵
|
| | | 17 | * ↵
|
| | | 18 | * @param newTest↵
|
20 | * test with the string constructor.↵ | | 19 | * t↵
|
21 | * @param constr↵ | | |
|
22 | ↵ | | 20 | he new test value(Add,Modify,Delete and search)↵
|
23 | */↵ | | 21 | */↵
|
24 | public void setConstructorString(String constr)↵ | | 22 | public void setTest(String ↵
|
25 | {↵ | | |
|
26 | setProperty(CONSTRUCTORSTRING,con↵ | | 23 | newTest) {↵
|
27 | str);↵ | | 24 | this.setProperty(TEST, newTest);↵
|
28 | }↵ | | |
|
29 | ↵ | | |
|
30 | /**↵ | | |
|
31 | * get the string passed to the string constructor↵ | | |
|
32 | ↵ | | 25 | }↵
|
|
| | | 26 | /**↵
|
| | | 27 | * Gets the test attribute of the LDAPSampler object.↵
|
| | | 28 | * ↵
|
| | | 29 | * @return the test value (Add, Modify, Delete and search)↵
|
33 | */↵ | | 30 | */↵
|
34 | public String getConstructorString()↵ | | 31 | public String get↵
|
35 | {↵ | | |
|
36 | ↵ | | 32 | Test() {↵
|
37 | return getPropertyAsString(CONSTRUCTORSTRING);↵ | | 33 | return getPropertyAsString(↵
|
38 | ↵ | | 34 | TEST);↵
|
39 | } | | 35 | }
|