View Javadoc

1   /*--------------------------------------------------------------------------
2    *  Copyright 2009 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  // Locus.java
20  // Since: 2009/02/17
21  //
22  // $URL$ 
23  // $Author$
24  //--------------------------------------
25  package org.utgenome.gwt.utgb.client.bio;
26  
27  import java.io.Serializable;
28  
29  /**
30   * CytoBand
31   * 
32   * @author yoshimura
33   * 
34   */
35  public class CytoBand implements Serializable {
36  
37  	/**
38  	 * 
39  	 */
40  	private static final long serialVersionUID = 1L;
41  	/**
42  	 * 
43  	 */
44  	String chrom = "chrZZZ";
45  	int start = -1; // (inclusive, 1-origin)
46  	int end = -1; // (exclusive, 1-origin)
47  	String name = "?";
48  	String gieStain = "?";
49  
50  	public CytoBand() {
51  	}
52  
53  	public CytoBand(String chrom, int start, int end, String name, String gieStain) {
54  		this.chrom = chrom;
55  		this.start = start;
56  		this.end = end;
57  		this.name = name;
58  		this.gieStain = gieStain;
59  	}
60  
61  	public String getChrom() {
62  		return chrom;
63  	}
64  
65  	public void setChrom(String chrom) {
66  		this.chrom = chrom;
67  	}
68  
69  	public int getStart() {
70  		return start;
71  	}
72  
73  	public void setStart(int start) {
74  		this.start = start;
75  	}
76  
77  	public int getEnd() {
78  		return end;
79  	}
80  
81  	public void setEnd(int end) {
82  		this.end = end;
83  	}
84  
85  	public String getName() {
86  		return name;
87  	}
88  
89  	public void setName(String name) {
90  		this.name = name;
91  	}
92  
93  	public String getGieStain() {
94  		return gieStain;
95  	}
96  
97  	public void setGieStain(String gieStain) {
98  		this.gieStain = gieStain;
99  	}
100 }