1 | void setDefaultValue(String defaultValue) {↵ | | 1 | void setRootdn(String newRootdn) {↵
|
2 | setProperty(DEFAULT, defaultV↵ | | 2 | this.setProperty(ROOTDN, newRootdn);↵
|
| | | 3 | }↵
|
|
| | | 4 | /**↵
|
| | | 5 | * Gets the Rootdn attribute of the LDAPSampler object.↵
|
| | | 6 | * ↵
|
3 | alue);↵ | | 7 | * @return the Rootdn value↵
|
4 | }↵ | | 8 | ↵
|
| | | 9 | */↵
|
5 | public String getDefaultValue() {↵ | | 10 | public String getRootdn() {↵
|
6 | return getPropertyAsString(DEFAULT);↵ | | 11 | return getPropertyAsString(ROOTDN);↵
|
7 | }↵ | | 12 | }↵
|
|
| | | 13 | /**↵
|
| | | 14 | * Sets the Test attribute of the LdapConfig object.↵
|
| | | 15 | * ↵
|
| | | 16 | * @param newTest↵
|
| | | 17 | * the new test value(Add,Modify,Delete and search)↵
|
| | | 18 | */↵
|
8 | public void setTemplate(String template) {↵ | | 19 | public void setTest(String newTest) {↵
|
9 | setProperty(TEMPLATE, template);↵ | | 20 | this.setProperty(TE↵
|
10 | }↵ | | |
|
| | | 21 | ST, newTest);↵
|
| | | 22 | }↵
|
|
| | | 23 | /**↵
|
| | | 24 | * Gets the test attribute of the LDAPSampler object.↵
|
| | | 25 | * ↵
|
| | | 26 | * @return the test value (Add, Modify, Delete and search)↵
|
| | | 27 | */↵
|
11 | public String getTemplate() {↵ | | 28 | public String getTest() {↵
|
12 | return getPropertyAsString(TEMPLATE);↵ | | 29 | return getPropertyAsString(TEST);↵
|
13 | } | | 30 | }
|