X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fdatamodel%2Fxdb%2Fembl%2FBasePosition.java;h=3737adcd3b60ab461893fa0abdd5d6b884759877;hb=c9df9ff2328d948b50aecced66df5f0b57edac82;hp=e0fe833e72b5ad0edb05e3e59f89f806f8aa1c39;hpb=0f3ec4858fa41dcc8b815402ba971fb2184ae27b;p=jalview.git diff --git a/src/jalview/datamodel/xdb/embl/BasePosition.java b/src/jalview/datamodel/xdb/embl/BasePosition.java index e0fe833..3737adc 100644 --- a/src/jalview/datamodel/xdb/embl/BasePosition.java +++ b/src/jalview/datamodel/xdb/embl/BasePosition.java @@ -1,30 +1,68 @@ +/* + * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$) + * Copyright (C) $$Year-Rel$$ The Jalview Authors + * + * This file is part of Jalview. + * + * Jalview 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 3 + * of the License, or (at your option) any later version. + * + * Jalview 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 Jalview. If not, see . + * The Jalview Authors are detailed in the 'AUTHORS' file. + */ package jalview.datamodel.xdb.embl; -public class BasePosition { - String type; - String pos; - /** - * @return the pos - */ - public String getPos() { - return pos; - } - /** - * @param pos the pos to set - */ - public void setPos(String pos) { - this.pos = pos; - } - /** - * @return the type - */ - public String getType() { - return type; - } - /** - * @param type the type to set - */ - public void setType(String type) { - this.type = type; - } +/** + * Data model for a feature/location/locationElement/basePosition read from an + * EMBL query reply + * + * @see embl_mapping.xml + */ +public class BasePosition +{ + String type; + + String pos; + + /** + * @return the pos + */ + public String getPos() + { + return pos; + } + + /** + * @param pos + * the pos to set + */ + public void setPos(String pos) + { + this.pos = pos; + } + + /** + * @return the type + */ + public String getType() + { + return type; + } + + /** + * @param type + * the type to set + */ + public void setType(String type) + { + this.type = type; + } }