JAL-1062 - recognise and split off the range qualifier in a DAS sequence fetch query
[jalview.git] / src / jalview / ws / seqfetcher / DbSourceProxy.java
index 9c5356a..fa02285 100644 (file)
@@ -1,6 +1,6 @@
 /*\r
- * Jalview - A Sequence Alignment Editor and Viewer (Version 2.6)\r
- * Copyright (C) 2010 J Procter, AM Waterhouse, G Barton, M Clamp, S Searle\r
+ * Jalview - A Sequence Alignment Editor and Viewer (Version 2.7)\r
+ * Copyright (C) 2011 J Procter, AM Waterhouse, J Engelhardt, LM Lui, G Barton, M Clamp, S Searle\r
  * \r
  * This file is part of Jalview.\r
  * \r
@@ -31,7 +31,7 @@ import com.stevesoft.pat.Regex;
  * database (unify with io)\r
  * \r
  * @author JimP\r
- * \r
+ * TODO: promote to API\r
  */\r
 public interface DbSourceProxy\r
 {\r
@@ -120,4 +120,12 @@ public interface DbSourceProxy
    * @return one or more string buffers for each individual query\r
    */\r
   public StringBuffer getRawRecords();\r
+\r
+  \r
+  /**\r
+   * Find out more info about the source.\r
+   * @param dbsourceproperty - one of the database reference source properties in jalview.datamodel.DBRefSource\r
+   * @return true if the source has this property\r
+   */\r
+  public boolean isA(Object dbsourceproperty);\r
 }\r