X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fapi%2FDBRefEntryI.java;h=2ce7e4a3ed7980ee5a13e00de24edfd7f9093b6c;hb=0da0ed92182d198fd260866ee804eba9035de6b0;hp=490b21a4cf15db4ffd42bf7743afd8b266e229c0;hpb=b92809e042da3d7445392119c159ef8730b8a136;p=jalview.git diff --git a/src/jalview/api/DBRefEntryI.java b/src/jalview/api/DBRefEntryI.java index 490b21a..2ce7e4a 100644 --- a/src/jalview/api/DBRefEntryI.java +++ b/src/jalview/api/DBRefEntryI.java @@ -73,5 +73,27 @@ public interface DBRefEntryI */ 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(); + + /** + * Answers true if this object is either equivalent to, or can be 'improved' + * by, the given entry. Specifically, answers true if + * + * + * @param otherEntry + * @return + */ + public boolean updateFrom(DBRefEntryI otherEntry); }