1 | String getName() {↵ | | 1 | String getURL() {↵
|
2 | return getPropertyAsString(HNAME);↵ | | 2 | return getPropertyAsString(URL);↵
|
3 | }↵ | | 3 | }↵
|
|
4 | /**↵ | | |
|
5 | * Set the name for this object.↵ | | |
|
6 | */↵ | | |
|
7 | public synchronized void setName(String name) {↵ | | 4 | public synchronized void setURL(String url) {↵
|
8 | this.setProperty(HNAME, name);↵ | | 5 | setProperty(↵
|
9 | }↵ | | |
|
|
10 | /**↵ | | |
|
11 | * Get the value for this object.↵ | | |
|
12 | */↵ | | 6 | URL, url);↵
|
| | | 7 | }↵
|
|
13 | public synchronized String getValue() {↵ | | 8 | public synchronized String getUser() {↵
|
14 | return getPropertyAsString(VALUE);↵ | | 9 | return getPropertyAsString(USERNAME);↵
|
15 | }↵ | | 10 | }↵
|
|
16 | /**↵ | | |
|
17 | * Set the value for this object.↵ | | |
|
18 | */↵ | | |
|
19 | public synchronized void setValue(String value) {↵ | | 11 | public synchronized void setUser(String user) {↵
|
20 | this.setProperty(VALUE, value);↵ | | 12 | setProperty(USERNAME, user);↵
|
21 | | | 13 |
|