X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fapi%2FDBRefEntryI.java;h=2ce7e4a3ed7980ee5a13e00de24edfd7f9093b6c;hb=0da0ed92182d198fd260866ee804eba9035de6b0;hp=49858cb4381658be367ec61828d20a4ea745057c;hpb=ea36a0b44f1661422284e55ad5e137a0c81821f1;p=jalview.git diff --git a/src/jalview/api/DBRefEntryI.java b/src/jalview/api/DBRefEntryI.java index 49858cb..2ce7e4a 100644 --- a/src/jalview/api/DBRefEntryI.java +++ b/src/jalview/api/DBRefEntryI.java @@ -1,6 +1,5 @@ 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) @@ -74,6 +73,12 @@ 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(); /** @@ -90,5 +95,5 @@ public interface DBRefEntryI * @param otherEntry * @return */ - public boolean updateFrom(DBRefEntry otherEntry); + public boolean updateFrom(DBRefEntryI otherEntry); }