git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
JAL-2405 set initial selection group alignment context
[jalview.git]
/
src
/
jalview
/
datamodel
/
xdb
/
embl
/
EmblFeature.java
diff --git
a/src/jalview/datamodel/xdb/embl/EmblFeature.java
b/src/jalview/datamodel/xdb/embl/EmblFeature.java
index
975471a
..
51d740b
100644
(file)
--- a/
src/jalview/datamodel/xdb/embl/EmblFeature.java
+++ b/
src/jalview/datamodel/xdb/embl/EmblFeature.java
@@
-1,6
+1,6
@@
/*
/*
- * Jalview - A Sequence Alignment Editor and Viewer (Version 2.8.2)
- * Copyright (C) 2014 The Jalview Authors
+ * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$)
+ * Copyright (C) $$Year-Rel$$ The Jalview Authors
*
* This file is part of Jalview.
*
*
* This file is part of Jalview.
*
@@
-20,22
+20,29
@@
*/
package jalview.datamodel.xdb.embl;
*/
package jalview.datamodel.xdb.embl;
+import jalview.datamodel.DBRefEntry;
+
import java.util.Vector;
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;
public class EmblFeature
{
String name;
- Vector dbRefs;
+ Vector<DBRefEntry> dbRefs;
- Vector qualifiers;
+ Vector<Qualifier> qualifiers;
- Vector locations;
+ String location;
/**
* @return the dbRefs
*/
/**
* @return the dbRefs
*/
- public Vector getDbRefs()
+ public Vector<DBRefEntry> getDbRefs()
{
return dbRefs;
}
{
return dbRefs;
}
@@
-44,26
+51,25
@@
public class EmblFeature
* @param dbRefs
* the dbRefs to set
*/
* @param dbRefs
* the dbRefs to set
*/
- public void setDbRefs(Vector dbRefs)
+ public void setDbRefs(Vector<DBRefEntry> dbRefs)
{
this.dbRefs = 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;
}
/**
}
/**
@@
-86,7
+92,7
@@
public class EmblFeature
/**
* @return the qualifiers
*/
/**
* @return the qualifiers
*/
- public Vector getQualifiers()
+ public Vector<Qualifier> getQualifiers()
{
return qualifiers;
}
{
return qualifiers;
}
@@
-95,7
+101,7
@@
public class EmblFeature
* @param qualifiers
* the qualifiers to set
*/
* @param qualifiers
* the qualifiers to set
*/
- public void setQualifiers(Vector qualifiers)
+ public void setQualifiers(Vector<Qualifier> qualifiers)
{
this.qualifiers = qualifiers;
}
{
this.qualifiers = qualifiers;
}