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)
*/
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();
/**
* @param otherEntry
* @return
*/
- public boolean updateFrom(DBRefEntry otherEntry);
+ public boolean updateFrom(DBRefEntryI otherEntry);
}