X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;ds=inline;f=src%2Fjalview%2Fdatamodel%2Fxdb%2Fembl%2FEmblFeature.java;h=51d740bb2d7ecc575957f31a72d6afb147e2f93b;hb=a25f31a9140c9764baf76ec1c2ede98c1e3e52f9;hp=a018034e03a3b88a35e72521c84551c038a71fcd;hpb=d423f22792e47dbc800ae220a58677f988971d06;p=jalview.git
diff --git a/src/jalview/datamodel/xdb/embl/EmblFeature.java b/src/jalview/datamodel/xdb/embl/EmblFeature.java
index a018034..51d740b 100644
--- a/src/jalview/datamodel/xdb/embl/EmblFeature.java
+++ b/src/jalview/datamodel/xdb/embl/EmblFeature.java
@@ -1,39 +1,48 @@
/*
- * Jalview - A Sequence Alignment Editor and Viewer (Version 2.5)
- * Copyright (C) 2010 J Procter, AM Waterhouse, G Barton, M Clamp, S Searle
+ * 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.
- *
+ * 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 .
+ * 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;
-import java.util.Hashtable;
+import jalview.datamodel.DBRefEntry;
+
import java.util.Vector;
+/**
+ * Data model for a <feature> element returned from an EMBL query reply
+ *
+ * @see embl_mapping.xml
+ */
public class EmblFeature
{
String name;
- Vector dbRefs;
+ Vector dbRefs;
- Vector qualifiers;
+ Vector qualifiers;
- Vector locations;
+ String location;
/**
* @return the dbRefs
*/
- public Vector getDbRefs()
+ public Vector getDbRefs()
{
return dbRefs;
}
@@ -42,26 +51,25 @@ public class EmblFeature
* @param dbRefs
* the dbRefs to set
*/
- public void setDbRefs(Vector dbRefs)
+ public void setDbRefs(Vector dbRefs)
{
this.dbRefs = dbRefs;
}
/**
- * @return the locations
+ * @return the location
*/
- public Vector getLocations()
+ public String getLocation()
{
- return locations;
+ return location;
}
/**
- * @param locations
- * the locations to set
+ * @param loc
*/
- public void setLocations(Vector locations)
+ public void setLocation(String loc)
{
- this.locations = locations;
+ this.location = loc;
}
/**
@@ -84,7 +92,7 @@ public class EmblFeature
/**
* @return the qualifiers
*/
- public Vector getQualifiers()
+ public Vector getQualifiers()
{
return qualifiers;
}
@@ -93,7 +101,7 @@ public class EmblFeature
* @param qualifiers
* the qualifiers to set
*/
- public void setQualifiers(Vector qualifiers)
+ public void setQualifiers(Vector qualifiers)
{
this.qualifiers = qualifiers;
}