1 | String getSuccess(){↵ | | 1 | String getName() {↵
|
2 | return getPropertyAsString(SUCCESS);↵ | | 2 | return getPropertyAsString(↵
|
3 | }↵ | | |
|
4 | ↵ | | |
|
5 | ↵ | | 3 | HNAME);↵
|
| | | 4 | }↵
|
|
6 | /**↵ | | 5 | /**↵
|
7 | * set the success message↵ | | 6 | * Set the ↵
|
8 | * @param success↵ | | |
|
9 | ↵ | | 7 | name for this object.↵
|
10 | */↵ | | 8 | */↵
|
11 | public void setSuccess(String success){↵ | | 9 | public synchronized void setName(String ↵
|
12 | setProperty(SUCCESS,success);↵ | | |
|
13 | }↵ | | |
|
14 | ↵ | | |
|
15 | ↵ | | 10 | name) {↵
|
| | | 11 | this.setProperty(HNAME, name);↵
|
| | | 12 | }↵
|
|
16 | /**↵ | | 13 | /**↵
|
17 | * get the success code defined by the user↵ | | 14 | * Get the ↵
|
18 | ↵ | | 15 | value for this object.↵
|
19 | */↵ | | 16 | */↵
|
20 | public String getSuccessCode(){↵ | | 17 | public synchronized String getValue() {↵
|
21 | return getPropertyAsString(SUCCESSCODE);↵ | | 18 | return getPropertyAsString(VALUE);↵
|
22 | }↵ | | 19 | }↵
|
|
23 | /**↵ | | 20 | /**↵
|
24 | * set the succes code. the success code should↵ | | 21 | * Set the ↵
|
25 | * be unique.↵ | | |
|
26 | * @param code↵ | | |
|
27 | ↵ | | 22 | value for this object.↵
|
28 | */↵ | | 23 | */↵
|
29 | public void setSuccessCode(String code){↵ | | 24 | public synchronized void setValue(String value) {↵
|
30 | setProperty(SUCCESSCODE,code);↵ | | 25 | this.setProperty(VALUE, value);↵
|
31 | | | 26 |
|