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