1 package jalview.ws.dbsources.das.api;
5 import jalview.ws.seqfetcher.DbSourceProxy;
7 import org.biodas.jdas.schema.sources.MAINTAINER;
8 import org.biodas.jdas.schema.sources.VERSION;
10 public interface jalviewSourceI
19 String getDescription();
23 MAINTAINER getMAINTAINER();
29 boolean isSequenceSource();
31 String[] getCapabilityList(VERSION v);
33 String[] getLabelsFor(VERSION v);
37 * @return null if not a sequence source, otherwise a series of database
38 * sources that can be used to retrieve sequence data for particular
39 * database coordinate systems
41 List<DbSourceProxy> getSequenceSourceProxies();
43 boolean isFeatureSource();
46 * returns the base URL for the latest version of a source's DAS endpoint set
50 String getSourceURL();
53 * test to see if this source's latest version is older than the given source
55 * @param jalviewSourceI
56 * @return true if newer than given source
58 boolean isNewerThan(jalviewSourceI jalviewSourceI);