X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fdatamodel%2Fxdb%2Fembl%2FBasePosition.java;h=3737adcd3b60ab461893fa0abdd5d6b884759877;hb=340055aeac7c0be1fe8cccf4aaa8646928c8e78c;hp=0b2dcbeacce050b1e67131da88890b28b28d2d99;hpb=0879ca19b6df4983f82521a479b848526b2d14d4;p=jalview.git diff --git a/src/jalview/datamodel/xdb/embl/BasePosition.java b/src/jalview/datamodel/xdb/embl/BasePosition.java index 0b2dcbe..3737adc 100644 --- a/src/jalview/datamodel/xdb/embl/BasePosition.java +++ b/src/jalview/datamodel/xdb/embl/BasePosition.java @@ -1,30 +1,68 @@ -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; - } -} +/* + * 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; + +/** + * 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; + } +}