updated jalview version of dasobert 1.53e client and added Das Sequence Source discov...
[jalview.git] / src / org / biojava / dasobert / dasregistry / DasSource.java
index a5f3619..fffda83 100755 (executable)
@@ -67,7 +67,12 @@ public interface DasSource
   public void setCoordinateSystem(DasCoordinateSystem[] u);
 
   public void setCapabilities(String[] u);
-
+    /** test if a this source has a particular capability
+     * 
+     * @param testCapability
+     * @return <code>true</code> if the server has this capability.
+     */
+    public boolean hasCapability(String testCapability);
   public String getUrl();
 
   public String getAdminemail();
@@ -101,5 +106,18 @@ public interface DasSource
   public void setAlertAdmin(boolean flag);
 
   public boolean getAlertAdmin();
+      
+    /** set Properties for this DAS source, e.g. project name
+     * 
+     * @param properties
+     */
+    public void setProperties(Map properties);
+    
+    /** get Properties for this DAS source
+     * 
+     * @return Properties
+     */
+    public Map getProperties();
+  
 
 }
\ No newline at end of file