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