View Javadoc

1   /*--------------------------------------------------------------------------
2    *  Copyright 2007 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  // Gene.java
20  // Since: Dec 21, 2007
21  //
22  // $URL$ 
23  // $Author$
24  //--------------------------------------
25  package org.utgenome.format.egt;
26  
27  import java.util.ArrayList;
28  import java.util.List;
29  
30  public class Gene 
31  {
32  	private String target;
33  	private long start;
34  	private long end;
35  	private String strand;
36  	private String name;
37  	private String url;
38  	private ArrayList<Exon> exonList = new ArrayList<Exon>();
39  	
40  	public Gene()
41  	{}
42  
43  	public String getTarget() {
44  		return target;
45  	}
46  
47  	public void setTarget(String target) {
48  		this.target = target;
49  	}
50  
51  	public long getStart() {
52  		return start;
53  	}
54  
55  	public void setStart(long start) {
56  		this.start = start;
57  	}
58  
59  	public long getEnd() {
60  		return end;
61  	}
62  
63  	public void setEnd(long end) {
64  		this.end = end;
65  	}
66  
67  	public String getStrand() {
68  		return strand;
69  	}
70  
71  	public void setStrand(String strand) {
72  		this.strand = strand;
73  	}
74  	
75  	public void addExon(Exon exon)
76  	{
77  		exonList.add(exon);
78  	}
79  	
80  	public List<Exon> getExon()
81  	{
82  		return exonList;
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 getUrl() {
94  		return url;
95  	}
96  
97  	public void setUrl(String url) {
98  		this.url = url;
99  	}
100 	
101 	
102 	
103 }
104 
105 
106 
107