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-2110 set reasonable bounds to initial split of SplitFrame divider
[jalview.git]
/
src
/
jalview
/
api
/
DBRefEntryI.java
diff --git
a/src/jalview/api/DBRefEntryI.java
b/src/jalview/api/DBRefEntryI.java
index
49858cb
..
2ce7e4a
100644
(file)
--- a/
src/jalview/api/DBRefEntryI.java
+++ b/
src/jalview/api/DBRefEntryI.java
@@
-1,6
+1,5
@@
package jalview.api;
package jalview.api;
-import jalview.datamodel.DBRefEntry;
import jalview.datamodel.Mapping;
//JBPComment: this is a datamodel API - so it should be in datamodel (it's a peer of SequenceI)
import jalview.datamodel.Mapping;
//JBPComment: this is a datamodel API - so it should be in datamodel (it's a peer of SequenceI)
@@
-74,6
+73,12
@@
public interface DBRefEntryI
*/
public int getEndRes();
*/
public int getEndRes();
+ /**
+ * access a mapping, if present that can be used to map positions from the
+ * associated dataset sequence to the DBRef's sequence frame.
+ *
+ * @return null or a valid mapping.
+ */
public Mapping getMap();
/**
public Mapping getMap();
/**
@@
-90,5
+95,5
@@
public interface DBRefEntryI
* @param otherEntry
* @return
*/
* @param otherEntry
* @return
*/
- public boolean updateFrom(DBRefEntry otherEntry);
+ public boolean updateFrom(DBRefEntryI otherEntry);
}
}