1 | String getValue() {↵ | | 1 | String getErrorCode(){↵
|
2 | return getPropertyAsString(VALUE);↵ | | 2 | return getPropertyAsString(↵
|
3 | }↵ | | |
|
|
4 | /**↵ | | |
|
5 | * set the value for this object.↵ | | |
|
6 | ↵ | | 3 | ERRORCODE);↵
|
| | | 4 | }↵
|
| | | 5 | ↵
|
| | | 6 | /**↵
|
| | | 7 | * provide an unique error code for when the test↵
|
| | | 8 | * does not pass the assert test.↵
|
| | | 9 | * @param code↵
|
7 | */↵ | | 10 | */↵
|
8 | public synchronized void setValue(String value) {↵ | | 11 | public void setErrorCode(String code){↵
|
9 | this.setProperty(VALUE, value);↵ | | 12 | setProperty(↵
|
10 | }↵ | | |
|
|
11 | ↵ | | 13 | ERRORCODE,code);↵
|
| | | 14 | }↵
|
| | | 15 | ↵
|
12 | /**↵ | | 16 | /**↵
|
13 | * get the domain for this object.↵ | | 17 | * return the comma separated string for th↵
|
14 | ↵ | | 18 | e filter↵
|
15 | */↵ | | 19 | */↵
|
16 | public synchronized String getDomain() {↵ | | 20 | public String getFilterString(){↵
|
17 | return getPropertyAsString(DOMAIN);↵ | | 21 | return getPropertyAsString(↵
|
18 | }↵ | | |
|
|
19 | ↵ | | 22 | FILTER);↵
|
| | | 23 | }↵
|
| | | 24 | ↵
|
20 | /**↵ | | 25 | /**↵
|
21 | * set the domain for this object.↵ | | 26 | * set the ↵
|
22 | ↵ | | 27 | filter string in comman separated format↵
|
| | | 28 | * @param text↵
|
23 | */↵ | | 29 | */↵
|
24 | public synchronized void setDomain(String domain) {↵ | | 30 | public void setFilterString(String ↵
|
25 | setProperty(DOMAIN, domain);↵ | | |
|
26 | | | 31 | text){↵
|
| | | 32 | setProperty(FILTER,text);↵
|
| | | 33 |
|