X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Forg%2Fbiojava%2Fdasobert%2Fdasregistry%2FDasSource.java;h=892963b48af4b547056fd49fd82bc7e3a4fab988;hb=ec4ef38882bce0469ce7c65cd70ceb85421cfbd2;hp=fffda837e83efaf441adb7f5833a9d5fa00ab648;hpb=54e003f9b2fff47dbfea6401c3944afdb7bd37b3;p=jalview.git diff --git a/src/org/biojava/dasobert/dasregistry/DasSource.java b/src/org/biojava/dasobert/dasregistry/DasSource.java index fffda83..892963b 100755 --- a/src/org/biojava/dasobert/dasregistry/DasSource.java +++ b/src/org/biojava/dasobert/dasregistry/DasSource.java @@ -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 true if the server has this capability. - */ - public boolean hasCapability(String testCapability); + + /** + * test if a this source has a particular capability + * + * @param testCapability + * @return true 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