1 | String getCountlim() {↵ | | 1 | String getScope() {↵
|
2 | return getPropertyAsString(COUNTLIM);↵ | | 2 | return getPropertyAsString(SCOPE);↵
|
3 | }↵ | | 3 | }↵
|
|
4 | public long getCountlimAsLong() {↵ | | 4 | public int getScopeAsInt() {↵
|
5 | return getPropertyAsLong(COUNTLIM);↵ | | 5 | return getPropertyAsInt(SCOPE);↵
|
6 | }↵ | | 6 | }↵
|
|
7 | /***************************************************************************↵ | | 7 | /***************************************************************************↵
|
8 | * Sets the size limit attribute of the LDAPSampler object↵ | | 8 | * Sets the search scope attribute of the LDAPSampler object↵
|
9 | * ↵ | | 9 | * ↵
|
10 | * @param newClim↵ | | 10 | * @param newScope↵
|
11 | * The new size limit value↵ | | 11 | * The new scope value↵
|
12 | **************************************************************************/↵ | | 12 | **************************************************************************/↵
|
13 | public void setCountlim(String newClim) {↵ | | 13 | public void setScope(String newScope) {↵
|
14 | this.setProperty(COUNTLIM, newClim);↵ | | 14 | this.setProperty(SCOPE, newScope);↵
|
15 | }↵ | | 15 | }↵
|
|
16 | /***************************************************************************↵ | | 16 | /***************************************************************************↵
|
17 | * Gets the time limit attribute of the LDAPSampler object↵ | | 17 | * Gets the size limit attribute of the LDAPSampler object↵
|
18 | * ↵ | | 18 | * ↵
|
19 | * @return The time limit↵ | | 19 | * @return The size limit↵
|
20 | **************************************************************************/↵ | | 20 | **************************************************************************/↵
|
21 | public String getTimelim() {↵ | | 21 | public String getCountlim() {↵
|
22 | return getPropertyAsString(TIMELIM);↵ | | 22 | return getPropertyAsString(COUNTLIM);↵
|
23 | }↵ | | 23 | }↵
|
|
24 | public int getTimelimAsInt() {↵ | | 24 | public long getCountlimAsLong() {↵
|
25 | return getPropertyAsInt(TIMELIM);↵ | | 25 | return getPropertyAsLong(COUNTLIM);↵
|
26 | }↵ | | 26 | }↵
|
|
27 | /***************************************************************************↵ | | 27 | /***************************************************************************↵
|
28 | * Sets the time limit attribute of the LDAPSampler object↵ | | 28 | * Sets the size limit attribute of the LDAPSampler object↵
|
29 | * ↵ | | 29 | * ↵
|
30 | * @param newTlim↵ | | 30 | * @param newClim↵
|
31 | * The new time limit value↵ | | 31 | * The new size limit value↵
|
32 | **************************************************************************/↵ | | 32 | **************************************************************************/↵
|
33 | public void setTimelim(String newTlim) {↵ | | 33 | public void setCountlim(String newClim) {↵
|
34 | this.setProperty(TIMELIM, newTlim);↵ | | 34 | this.setProperty(COUNTLIM, newClim);↵
|
35 | | | 35 |
|