JAL-1645 Version-Rel Version 2.9 Year-Rel 2015 Licensing glob
[jalview.git] / src / jalview / datamodel / xdb / embl / EmblFeature.java
index 58b4c39..55d7c94 100644 (file)
@@ -1,38 +1,48 @@
 /*
- * Jalview - A Sequence Alignment Editor and Viewer (Version 2.8)
- * Copyright (C) 2012 J Procter, AM Waterhouse, LM Lui, J Engelhardt, G Barton, M Clamp, S Searle
+ * Jalview - A Sequence Alignment Editor and Viewer (Version 2.9)
+ * Copyright (C) 2015 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 <http://www.gnu.org/licenses/>.
+ * 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 dbRefs;
+  Vector<DBRefEntry> dbRefs;
 
-  Vector qualifiers;
+  Vector<Qualifier> qualifiers;
 
-  Vector locations;
+  Vector<EmblFeatureLocations> locations;
 
   /**
    * @return the dbRefs
    */
-  public Vector getDbRefs()
+  public Vector<DBRefEntry> getDbRefs()
   {
     return dbRefs;
   }
@@ -41,7 +51,7 @@ public class EmblFeature
    * @param dbRefs
    *          the dbRefs to set
    */
-  public void setDbRefs(Vector dbRefs)
+  public void setDbRefs(Vector<DBRefEntry> dbRefs)
   {
     this.dbRefs = dbRefs;
   }
@@ -49,7 +59,7 @@ public class EmblFeature
   /**
    * @return the locations
    */
-  public Vector getLocations()
+  public Vector<EmblFeatureLocations> getLocations()
   {
     return locations;
   }
@@ -58,7 +68,7 @@ public class EmblFeature
    * @param locations
    *          the locations to set
    */
-  public void setLocations(Vector locations)
+  public void setLocations(Vector<EmblFeatureLocations> locations)
   {
     this.locations = locations;
   }
@@ -83,7 +93,7 @@ public class EmblFeature
   /**
    * @return the qualifiers
    */
-  public Vector getQualifiers()
+  public Vector<Qualifier> getQualifiers()
   {
     return qualifiers;
   }
@@ -92,7 +102,7 @@ public class EmblFeature
    * @param qualifiers
    *          the qualifiers to set
    */
-  public void setQualifiers(Vector qualifiers)
+  public void setQualifiers(Vector<Qualifier> qualifiers)
   {
     this.qualifiers = qualifiers;
   }