X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fdatamodel%2FSequenceFeature.java;h=5bf4e885880b0285278dbb6a95bffaeef9ca0019;hb=efc31b4a8d5cee63555586804a2b79c06bdb5a14;hp=702af732a8620e834056ced2021368895d8a9f69;hpb=9257b8510c7354cbd7e43a3fc2817978cc8e4ae9;p=jalview.git diff --git a/src/jalview/datamodel/SequenceFeature.java b/src/jalview/datamodel/SequenceFeature.java index 702af73..5bf4e88 100755 --- a/src/jalview/datamodel/SequenceFeature.java +++ b/src/jalview/datamodel/SequenceFeature.java @@ -1,35 +1,56 @@ /* -* Jalview - A Sequence Alignment Editor and Viewer -* Copyright (C) 2005 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle -* -* This program is free software; you can redistribute it and/or -* modify it under the terms of the GNU General Public License -* as published by the Free Software Foundation; either version 2 -* of the License, or (at your option) any later version. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* along with this program; if not, write to the Free Software -* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA -*/ + * Jalview - A Sequence Alignment Editor and Viewer + * Copyright (C) 2005 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA + */ package jalview.datamodel; -public class SequenceFeature { +/** + * DOCUMENT ME! + * + * @author $author$ + * @version $Revision$ + */ +public class SequenceFeature +{ int begin; int end; String type; String description; String status; - public SequenceFeature() { + /** + * Creates a new SequenceFeature object. + */ + public SequenceFeature() + { } + /** + * Creates a new SequenceFeature object. + * + * @param type DOCUMENT ME! + * @param start DOCUMENT ME! + * @param end DOCUMENT ME! + * @param description DOCUMENT ME! + * @param status DOCUMENT ME! + */ public SequenceFeature(String type, int start, int end, String description, - String status) { + String status) + { this.type = type; this.begin = start; this.end = end; @@ -37,62 +58,92 @@ public class SequenceFeature { this.status = status; } - public int getStart() { + /** + * DOCUMENT ME! + * + * @return DOCUMENT ME! + */ + public int getStart() + { return begin; } - public int getEnd() { + /** + * DOCUMENT ME! + * + * @return DOCUMENT ME! + */ + public int getEnd() + { return end; } - public String getType() { + /** + * DOCUMENT ME! + * + * @return DOCUMENT ME! + */ + public String getType() + { return type; } - public String getDescription() { + /** + * DOCUMENT ME! + * + * @return DOCUMENT ME! + */ + public String getDescription() + { return description; } - public String getStatus() { + /** + * DOCUMENT ME! + * + * @return DOCUMENT ME! + */ + public String getStatus() + { return status; } /* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ }