View Javadoc

1   /*--------------------------------------------------------------------------
2    *  Copyright 2008 utgenome.org
3    *
4    *  Licensed under the Apache License, Version 2.0 (the "License");
5    *  you may not use this file except in compliance with the License.
6    *  You may obtain a copy of the License at
7    *
8    *     http://www.apache.org/licenses/LICENSE-2.0
9    *
10   *  Unless required by applicable law or agreed to in writing, software
11   *  distributed under the License is distributed on an "AS IS" BASIS,
12   *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   *  See the License for the specific language governing permissions and
14   *  limitations under the License.
15   *--------------------------------------------------------------------------*/
16  //--------------------------------------
17  // utgb-core Project
18  //
19  // Layer.java
20  // Since: Feb 6, 2008
21  //
22  // $URL$ 
23  // $Author$
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   * Layer descriptor of the track
33   * 
34   * @author leo
35   * 
36   */
37  public class Layer implements IsSerializable {
38  
39  	private String type;
40  	private String name;
41  	private String baseURL;
42  	private Frame frame;
43  	/**
44  	 */
45  	private ArrayList<Parameter> paramList = new ArrayList<Parameter>();
46  	/**
47  	 */
48  	private ArrayList<HiddenParameter> hiddenParamList = new ArrayList<HiddenParameter>();
49  
50  	public Layer() {
51  
52  	}
53  
54  	public String getBaseURL() {
55  		return baseURL;
56  	}
57  
58  	public void setBaseURL(String baseURL) {
59  		this.baseURL = baseURL;
60  	}
61  
62  	public Frame getFrame() {
63  		return frame;
64  	}
65  
66  	public void setFrame(Frame frame) {
67  		this.frame = frame;
68  	}
69  
70  	public ArrayList<Parameter> getParamList() {
71  		return paramList;
72  	}
73  
74  	public ArrayList<HiddenParameter> getHiddenParamList() {
75  		return hiddenParamList;
76  	}
77  
78  	public void addParam(Parameter param) {
79  		paramList.add(param);
80  	}
81  
82  	public void addHidden(HiddenParameter hidden) {
83  		hiddenParamList.add(hidden);
84  	}
85  
86  	public String getType() {
87  		return type;
88  	}
89  
90  	public void setType(String type) {
91  		this.type = type;
92  	}
93  
94  	public String getName() {
95  		return name;
96  	}
97  
98  	public void setName(String name) {
99  		this.name = name;
100 	}
101 
102 }