X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fdatamodel%2Fxdb%2Fembl%2FEmblFeature.java;h=7f53eb3385b1790fe855d69c819be98da9ffa0c4;hb=47bbb25ec91be3ee864d7ee5393bcf7a19688f87;hp=e2997fbba24d7690d666c870db8093ecd98f7f00;hpb=0f3ec4858fa41dcc8b815402ba971fb2184ae27b;p=jalview.git
diff --git a/src/jalview/datamodel/xdb/embl/EmblFeature.java b/src/jalview/datamodel/xdb/embl/EmblFeature.java
index e2997fb..7f53eb3 100644
--- a/src/jalview/datamodel/xdb/embl/EmblFeature.java
+++ b/src/jalview/datamodel/xdb/embl/EmblFeature.java
@@ -1,58 +1,109 @@
+/*
+ * 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;
-import java.util.Hashtable;
+
import java.util.Vector;
-public class EmblFeature {
- String name;
- Vector dbRefs;
- Vector qualifiers;
- Vector locations;
-
- /**
- * @return the dbRefs
- */
- public Vector getDbRefs() {
- return dbRefs;
- }
- /**
- * @param dbRefs the dbRefs to set
- */
- public void setDbRefs(Vector dbRefs) {
- this.dbRefs = dbRefs;
- }
- /**
- * @return the locations
- */
- public Vector getLocations() {
- return locations;
- }
- /**
- * @param locations the locations to set
- */
- public void setLocations(Vector locations) {
- this.locations = locations;
- }
- /**
- * @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 getQualifiers() {
- return qualifiers;
- }
- /**
- * @param qualifiers the qualifiers to set
- */
- public void setQualifiers(Vector qualifiers) {
- this.qualifiers = qualifiers;
- }
+
+import jalview.datamodel.DBRefEntry;
+
+/**
+ * Data model for a <feature> element returned from an EMBL query reply
+ *
+ * @see embl_mapping.xml
+ */
+public class EmblFeature
+{
+ String name;
+
+ Vector dbRefs;
+
+ Vector qualifiers;
+
+ Vector locations;
+
+ /**
+ * @return the dbRefs
+ */
+ public Vector getDbRefs()
+ {
+ return dbRefs;
+ }
+
+ /**
+ * @param dbRefs
+ * the dbRefs to set
+ */
+ public void setDbRefs(Vector dbRefs)
+ {
+ this.dbRefs = dbRefs;
+ }
+
+ /**
+ * @return the locations
+ */
+ public Vector getLocations()
+ {
+ return locations;
+ }
+
+ /**
+ * @param locations
+ * the locations to set
+ */
+ public void setLocations(Vector locations)
+ {
+ this.locations = locations;
+ }
+
+ /**
+ * @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 getQualifiers()
+ {
+ return qualifiers;
+ }
+
+ /**
+ * @param qualifiers
+ * the qualifiers to set
+ */
+ public void setQualifiers(Vector qualifiers)
+ {
+ this.qualifiers = qualifiers;
+ }
}