1 | void setRootdn(String newRootdn) {↵ | | 1 | void setVarName(String name) {↵
|
2 | this.setProperty(ROOTDN, newRootdn);↵ | | 2 | setProperty(↵
|
3 | }↵ | | |
|
|
4 | /**↵ | | |
|
5 | * Gets the Rootdn attribute of the LDAPSampler object.↵ | | |
|
6 | * ↵ | | |
|
7 | * @return the Rootdn value↵ | | |
|
8 | */↵ | | 3 | VAR_NAME, name);↵
|
| | | 4 | }↵
|
|
9 | public String getRootdn() {↵ | | 5 | public String getVarName() {↵
|
10 | return getPropertyAsString(ROOTDN);↵ | | 6 | return getPropertyAsString(VAR_NAME);↵
|
11 | }↵ | | 7 | }↵
|
|
12 | /**↵ | | |
|
13 | * Sets the Test attribute of the LdapConfig object.↵ | | |
|
14 | * ↵ | | |
|
15 | * @param newTest↵ | | |
|
16 | * the new test value(Add,Modify,Delete and search)↵ | | |
|
17 | */↵ | | |
|
18 | public void setTest(String newTest) {↵ | | 8 | public void setFormat(String ↵
|
19 | this.setProperty(TEST, newTest);↵ | | |
|
20 | }↵ | | |
|
|
21 | /**↵ | | |
|
22 | * Gets the test attribute of the LDAPSampler object.↵ | | |
|
23 | * ↵ | | |
|
24 | * @return the test value (Add, Modify, Delete and search)↵ | | |
|
25 | */↵ | | |
|
26 | ↵ | | 9 | format) {↵
|
| | | 10 | setProperty(FORMAT, format);↵
|
| | | 11 | }↵
|
|
27 | public String getTest() {↵ | | 12 | public String getFormat() {↵
|
28 | return getPropertyAsString(TEST);↵ | | 13 | return getPropertyAsString(FORMAT);↵
|
29 | } | | 14 | }
|