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  // HiddenParameter.java
20  // Since: Feb 6, 2008
21  //
22  // $URL$ 
23  // $Author$
24  //--------------------------------------
25  package org.utgenome.gwt.utgb.client.bean.track;
26  
27  import com.google.gwt.user.client.rpc.IsSerializable;
28  
29  /**
30   * Hidden parameter in the track
31   * @author leo
32   *
33   */
34  public class HiddenParameter implements IsSerializable {
35  	
36  	private String name;
37  	private String displayName;
38  	private String defaultValue;
39  	private boolean required = false;
40  	private String type = "string";
41  	
42  	public HiddenParameter() {
43  	}
44  
45  	public String getName() {
46  		return name;
47  	}
48  
49  	public void setName(String name) {
50  		this.name = name;
51  	}
52  
53  	public String getDisplayName() {
54  		return displayName;
55  	}
56  
57  	public void setDisplayName(String displayName) {
58  		this.displayName = displayName;
59  	}
60  
61  	public String getDefault() {
62  		return defaultValue;
63  	}
64  
65  	public void setDefault(String defaultValue) {
66  		this.defaultValue = defaultValue;
67  	}
68  
69  	public boolean isRequired() {
70  		return required;
71  	}
72  
73  	public void setRequired(boolean required) {
74  		this.required = required;
75  	}
76  
77  	public String getType() {
78  		return type;
79  	}
80  
81  	public void setType(String type) {
82  		this.type = type;
83  	}
84  	
85  	
86  }
87  
88  
89  
90