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 public class Content implements IsSerializable {
38
39 private String type = "utgb";
40
41
42
43 private ArrayList<Species> speciesList = new ArrayList<Species>();
44
45
46
47 private ArrayList<HiddenParameter> hiddenParameterList = new ArrayList<HiddenParameter>();
48
49
50
51 private ArrayList<Parameter> parameterList = new ArrayList<Parameter>();
52
53
54
55 private ArrayList<Layer> layerList = new ArrayList<Layer>();
56
57 public Content() {
58 }
59
60 public void addSpecies(Species species) {
61 speciesList.add(species);
62 }
63
64 public void addHidden(HiddenParameter hidden) {
65 hiddenParameterList.add(hidden);
66 }
67
68 public void addParam(Parameter param) {
69 parameterList.add(param);
70 }
71
72 public void addLayer(Layer layer) {
73 layerList.add(layer);
74 }
75
76 public String getType() {
77 return type;
78 }
79
80 public void setType(String type) {
81 this.type = type;
82 }
83
84 public ArrayList<Species> getSpeciesList() {
85 return speciesList;
86 }
87
88 public ArrayList<HiddenParameter> getHiddenParameterList() {
89 return hiddenParameterList;
90 }
91
92 public ArrayList<Parameter> getParameterList() {
93 return parameterList;
94 }
95
96 public ArrayList<Layer> getLayerList() {
97 return layerList;
98 }
99
100 }