(JAL-1016) noted position where race condition occurs
[jalview.git] / src / org / biojava / dasobert / dasregistry / DasSource.java
index fffda83..892963b 100755 (executable)
@@ -31,25 +31,28 @@ public interface DasSource
 
   public boolean isLocal();
 
-  /** compare if two das sources are equal
-   *
+  /**
+   * compare if two das sources are equal
+   * 
    * @param ds
    * @return returns true if two DAS sources are equivalent
    */
   public boolean equals(DasSource ds);
 
-  /** classes that implement equals, should also implement hashKey
-   *
+  /**
+   * classes that implement equals, should also implement hashKey
+   * 
    * @return the hash code of a das source
    */
   public int hashCode();
 
   public void setId(String i);
 
-  /** get a the Id of the DasSource. The Id is a unique db
-   * identifier. The public DAS-Registry has Auto_Ids that look like
-   * DASSOURCE:12345; public look like XYZ:12345, where the XYZ
-   * prefix can be configured in the config file.
+  /**
+   * get a the Id of the DasSource. The Id is a unique db identifier. The public
+   * DAS-Registry has Auto_Ids that look like DASSOURCE:12345; public look like
+   * XYZ:12345, where the XYZ prefix can be configured in the config file.
+   * 
    * @return String the ID of a Das Source
    */
   public String getId();
@@ -67,12 +70,15 @@ 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);
+
+  /**
+   * 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();
@@ -100,24 +106,25 @@ public interface DasSource
   public String getHelperurl();
 
   // TestCode is now part of the coordinate system!
-  //public  void setTestCode(String code);
-  //public  String getTestCode();
+  // public void setTestCode(String code);
+  // public String getTestCode();
 
   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();
-  
+
+  /**
+   * 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