01: /**
02: *
03: */package org.getahead.dwrdemo.stress;
04:
05: import java.util.ArrayList;
06: import java.util.List;
07:
08: /**
09: *
10: * @author Joe Walker [joe at getahead dot ltd dot uk]
11: */
12: public class Setting {
13: public Setting(String name) {
14: this .name = name;
15: }
16:
17: public String getName() {
18: return name;
19: }
20:
21: public void setName(String name) {
22: this .name = name;
23: }
24:
25: public List<String> getClassNames() {
26: return classNames;
27: }
28:
29: public void setClassNames(List<String> classNames) {
30: this .classNames = classNames;
31: }
32:
33: public Object getValue() {
34: return value;
35: }
36:
37: public void setValue(Object value) {
38: this .value = value;
39: }
40:
41: public boolean isWritable() {
42: return writable;
43: }
44:
45: public void setWritable(boolean writable) {
46: this .writable = writable;
47: }
48:
49: private String name;
50:
51: private List<String> classNames = new ArrayList<String>();
52:
53: private Object value;
54:
55: private boolean writable = true;
56: }
|