JAL-3130 de-multi-release-jar.sh Script to make multi-release jar file single release.
[jalview.git] / src / jalview / datamodel / xdb / embl / EmblFeature.java
index dff4161..51d740b 100644 (file)
-package jalview.datamodel.xdb.embl;\r
-import java.util.Hashtable;\r
-import java.util.Vector;\r
-public class EmblFeature {\r
-    String name;\r
-    Vector dbRefs;\r
-    Vector qualifiers;\r
-    Vector locations;\r
-    \r
-    /**\r
-     * @return the dbRefs\r
-     */\r
-    public Vector getDbRefs() {\r
-        return dbRefs;\r
-    }\r
-    /**\r
-     * @param dbRefs the dbRefs to set\r
-     */\r
-    public void setDbRefs(Vector dbRefs) {\r
-        this.dbRefs = dbRefs;\r
-    }\r
-    /**\r
-     * @return the locations\r
-     */\r
-    public Vector getLocations() {\r
-        return locations;\r
-    }\r
-    /**\r
-     * @param locations the locations to set\r
-     */\r
-    public void setLocations(Vector locations) {\r
-        this.locations = locations;\r
-    }\r
-    /**\r
-     * @return the name\r
-     */\r
-    public String getName() {\r
-        return name;\r
-    }\r
-    /**\r
-     * @param name the name to set\r
-     */\r
-    public void setName(String name) {\r
-        this.name = name;\r
-    }\r
-    /**\r
-     * @return the qualifiers\r
-     */\r
-    public Vector getQualifiers() {\r
-        return qualifiers;\r
-    }\r
-    /**\r
-     * @param qualifiers the qualifiers to set\r
-     */\r
-    public void setQualifiers(Vector qualifiers) {\r
-        this.qualifiers = qualifiers;\r
-    }\r
-}\r
+/*
+ * 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 <http://www.gnu.org/licenses/>.
+ * The Jalview Authors are detailed in the 'AUTHORS' file.
+ */
+package jalview.datamodel.xdb.embl;
+
+import jalview.datamodel.DBRefEntry;
+
+import java.util.Vector;
+
+/**
+ * Data model for a &lt;feature&gt; element returned from an EMBL query reply
+ * 
+ * @see embl_mapping.xml
+ */
+public class EmblFeature
+{
+  String name;
+
+  Vector<DBRefEntry> dbRefs;
+
+  Vector<Qualifier> qualifiers;
+
+  String location;
+
+  /**
+   * @return the dbRefs
+   */
+  public Vector<DBRefEntry> getDbRefs()
+  {
+    return dbRefs;
+  }
+
+  /**
+   * @param dbRefs
+   *          the dbRefs to set
+   */
+  public void setDbRefs(Vector<DBRefEntry> dbRefs)
+  {
+    this.dbRefs = dbRefs;
+  }
+
+  /**
+   * @return the location
+   */
+  public String getLocation()
+  {
+    return location;
+  }
+
+  /**
+   * @param loc
+   */
+  public void setLocation(String loc)
+  {
+    this.location = loc;
+  }
+
+  /**
+   * @return the name
+   */
+  public String getName()
+  {
+    return name;
+  }
+
+  /**
+   * @param name
+   *          the name to set
+   */
+  public void setName(String name)
+  {
+    this.name = name;
+  }
+
+  /**
+   * @return the qualifiers
+   */
+  public Vector<Qualifier> getQualifiers()
+  {
+    return qualifiers;
+  }
+
+  /**
+   * @param qualifiers
+   *          the qualifiers to set
+   */
+  public void setQualifiers(Vector<Qualifier> qualifiers)
+  {
+    this.qualifiers = qualifiers;
+  }
+}