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