-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<DBRefEntry> dbRefs;
+
+ Vector<Qualifier> qualifiers;
+
+ Vector<EmblFeatureLocations> locations;
+
+ /**
+ * @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 locations
+ */
+ public Vector<EmblFeatureLocations> getLocations()
+ {
+ return locations;
+ }
+
+ /**
+ * @param locations
+ * the locations to set
+ */
+ public void setLocations(Vector<EmblFeatureLocations> 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<Qualifier> getQualifiers()
+ {
+ return qualifiers;
+ }
+
+ /**
+ * @param qualifiers
+ * the qualifiers to set
+ */
+ public void setQualifiers(Vector<Qualifier> qualifiers)
+ {
+ this.qualifiers = qualifiers;
+ }