Das client files
[jalview.git] / src / org / biojava / dasobert / das2 / Das2Capability.java
diff --git a/src/org/biojava/dasobert/das2/Das2Capability.java b/src/org/biojava/dasobert/das2/Das2Capability.java
new file mode 100755 (executable)
index 0000000..7bb1e89
--- /dev/null
@@ -0,0 +1,45 @@
+/*
+ *                  BioJava development code
+ *
+ * This code may be freely distributed and modified under the
+ * terms of the GNU Lesser General Public Licence.  This should
+ * be distributed with the code.  If you do not have a copy,
+ * see:
+ *
+ *      http://www.gnu.org/copyleft/lesser.html
+ *
+ * Copyright for this code is held jointly by the individual
+ * authors.  These should be listed in @author doc comments.
+ *
+ * For more information on the BioJava project and its aims,
+ * or to join the biojava-l mailing list, visit the home page
+ * at:
+ *
+ *      http://www.biojava.org/
+ * 
+ * Created on Feb 9, 2006
+ *
+ */
+package org.biojava.dasobert.das2;
+
+public interface Das2Capability {
+
+    public boolean equals(Das2Capability other);
+    public int hashCode();
+    
+    public void setCapability(String type);
+    public String getCapability();
+    
+    public void setQueryUri(String id);
+    public String getQueryUri();
+    
+    public void setFormats(String[] formats);
+    public String[] getFormats();
+    
+    /** checks if this capability is actually of das1 style
+     * 
+     * @return
+     */
+    public boolean isDas1Style();
+    
+}