JAL-1967 JAL-1479 refactored sequence<->structure mapping implementation
[jalview.git] / src / jalview / api / SiftsClientI.java
index 35cb57f..e2fac14 100644 (file)
@@ -26,6 +26,7 @@ import jalview.ws.sifts.MappingOutputPojo;
 import jalview.ws.sifts.SiftsException;
 import jalview.xml.binding.sifts.Entry.Entity;
 
+import java.util.HashMap;
 import java.util.HashSet;
 
 public interface SiftsClientI
@@ -95,7 +96,7 @@ public interface SiftsClientI
    * @param accessionId
    * @return
    */
-  public boolean isFoundInSiftsEntry(String accessionId);
+  public boolean isAccessionMatched(String accessionId);
 
   /**
    * Get the standard DB referenced by the SIFTs Entry
@@ -138,6 +139,7 @@ public interface SiftsClientI
    * @return generated mapping
    * @throws Exception
    */
-  public int[][] getGreedyMapping(String entityId, SequenceI seq,
+  public HashMap<Integer, int[]> getGreedyMapping(String entityId,
+          SequenceI seq,
           java.io.PrintStream os) throws SiftsException;
 }
\ No newline at end of file