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.track.bean;
26
27 import java.util.ArrayList;
28 import java.util.HashMap;
29
30 import com.google.gwt.user.client.rpc.IsSerializable;
31
32 public class TrackGroupBean implements IsSerializable {
33 private String className;
34
35
36 private ArrayList<TrackGroupBean> trackGroup = new ArrayList<TrackGroupBean>();
37
38
39 private ArrayList<TrackBean> track = new ArrayList<TrackBean>();
40
41
42
43 private HashMap<String, String> property = new HashMap<String, String>();
44 private TrackGroupPropertyBean groupProperty = new TrackGroupPropertyBean();
45
46 public TrackGroupBean() {
47 }
48
49 public void addTrackGroup(TrackGroupBean trackGroup) {
50 this.trackGroup.add(trackGroup);
51 }
52
53 public ArrayList<TrackGroupBean> getTrackGroup() {
54 return trackGroup;
55 }
56
57 public void addTrack(TrackBean track) {
58 this.track.add(track);
59 }
60
61 public ArrayList<TrackBean> getTrack() {
62 return track;
63 }
64
65 public void putProperty(String key, String value) {
66 property.put(key, value);
67 }
68
69 public HashMap<String, String> getProperty() {
70 return property;
71 }
72
73 public void setGroupProperties(TrackGroupPropertyBean groupProperty) {
74 this.groupProperty = groupProperty;
75 }
76
77 public TrackGroupPropertyBean getGroupProperties() {
78 return this.groupProperty;
79 }
80
81 public String getClassName() {
82 return className;
83 }
84
85 public void setClassName(String className) {
86 this.className = className;
87 }
88
89 }