2 * Jalview - A Sequence Alignment Editor and Viewer
\r
3 * Copyright (C) 2005 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle
\r
5 * This program is free software; you can redistribute it and/or
\r
6 * modify it under the terms of the GNU General Public License
\r
7 * as published by the Free Software Foundation; either version 2
\r
8 * of the License, or (at your option) any later version.
\r
10 * This program is distributed in the hope that it will be useful,
\r
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
\r
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
\r
13 * GNU General Public License for more details.
\r
15 * You should have received a copy of the GNU General Public License
\r
16 * along with this program; if not, write to the Free Software
\r
17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
\r
19 package jalview.datamodel;
\r
25 * @version $Revision$
\r
27 public class SequenceFeature
\r
29 public int position;
\r
33 public String description;
\r
34 public String status;
\r
36 // Feature group can be set from a features file
\r
37 // as a group of features between STARTGROUP and ENDGROUP markers
\r
38 public String featureGroup;
\r
40 public SequenceFeature()
\r
43 public SequenceFeature(String type, String desc, String status, int begin, int end)
\r
46 this.description = desc;
\r
47 this.status = status;
\r
48 this.position = begin;
\r
53 public int getPosition()
\r
58 public void setPosition(int pos)
\r
69 * @return DOCUMENT ME!
\r
71 public int getBegin()
\r
76 public void setBegin(int start)
\r
84 * @return DOCUMENT ME!
\r
91 public void setEnd(int end)
\r
99 * @return DOCUMENT ME!
\r
101 public String getType()
\r
106 public void setType(String type)
\r
114 * @return DOCUMENT ME!
\r
116 public String getDescription()
\r
118 return description;
\r
121 public void setDescription(String desc)
\r
123 description = desc;
\r
129 * @return DOCUMENT ME!
\r
131 public String getStatus()
\r
136 public void setStatus(String status)
\r
138 this.status = status;
\r
141 public String getFeatureGroup()
\r
143 return featureGroup;
\r
146 public void setFeatureGroup(String featureGroup)
\r
148 this.featureGroup = featureGroup;
\r