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 sources that can be used to retrieve sequence data for particular database coordinate systems
39 List<DbSourceProxy> getSequenceSourceProxies();
41 boolean isFeatureSource();
44 * returns the base URL for the latest version of a source's DAS endpoint set
47 String getSourceURL();
50 * test to see if this source's latest version is older than the given source
51 * @param jalviewSourceI
52 * @return true if newer than given source
54 boolean isNewerThan(jalviewSourceI jalviewSourceI);