1 | void setName(String name) {↵ | | 1 | void setValue(String value) {↵
|
2 | this.setProperty(HNAME, name);↵ | | 2 | this.setProperty(VALUE, value);↵
|
3 | }↵ | | 3 | }↵
|
|
4 | /**↵ | | 4 | /**↵
|
5 | * Get the value for this object.↵ | | 5 | * get the domain for this object.↵
|
6 | */↵ | | 6 | */↵
|
7 | public synchronized String getValue() {↵ | | 7 | public synchronized String getDomain() {↵
|
8 | return getPropertyAsString(VALUE);↵ | | 8 | return getPropertyAsString(DOMAIN);↵
|
9 | }↵ | | 9 | }↵
|
|
10 | /**↵ | | 10 | /**↵
|
11 | * Set the value for this object.↵ | | 11 | * set the domain for this object.↵
|
12 | */↵ | | 12 | */↵
|
13 | public synchronized void setValue(String value) {↵ | | 13 | public synchronized void setDomain(String domain) {↵
|
14 | this.setProperty(VALUE, value);↵ | | 14 | setProperty(DOMAIN, domain);↵
|
15 | | | 15 |
|