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