1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25 package org.utgenome.gwt.utgb.client.bean.track;
26
27 import java.util.ArrayList;
28
29 import com.google.gwt.user.client.rpc.IsSerializable;
30
31
32
33
34
35
36
37
38 public class Parameter implements IsSerializable {
39 private String name;
40 private String displayName;
41 private String defaultValue;
42 private boolean required = false;
43 private String type = "string";
44 private String style = "box";
45
46
47
48 private ArrayList<Option> optionList = new ArrayList<Option>();
49
50 public String getName() {
51 return name;
52 }
53
54 public void setName(String name) {
55 this.name = name;
56 }
57
58 public String getDisplayName() {
59 return displayName;
60 }
61
62 public void setDisplayName(String displayName) {
63 this.displayName = displayName;
64 }
65
66 public String getDefault() {
67 return defaultValue;
68 }
69
70 public void setDefault(String defaultValue) {
71 this.defaultValue = defaultValue;
72 }
73
74 public boolean isRequired() {
75 return required;
76 }
77
78 public void setRequired(boolean required) {
79 this.required = required;
80 }
81
82 public String getType() {
83 return type;
84 }
85
86 public void setType(String type) {
87 this.type = type;
88 }
89
90 public String getStyle() {
91 return style;
92 }
93
94 public void setStyle(String style) {
95 this.style = style;
96 }
97
98 public ArrayList<Option> getOptionList() {
99 return optionList;
100 }
101
102 public void addOption(Option option) {
103 optionList.add(option);
104 }
105
106 }