return "EMBL (CDS)";
}
+ @Override
+ public int getTier()
+ {
+ return 0;
+ }
+
}
{
return "EMBL"; // getDbSource();
}
+
+ @Override
+ public int getTier()
+ {
+ return 0;
+ }
}
{
return "GeneDB"; // getDbSource();
}
+ @Override
+ public int getTier()
+ {
+ return 0;
+ }
}
return "PDB"; // getDbSource();
}
+ @Override
+ public int getTier()
+ {
+ return 0;
+ }
}
return null;
}
+ @Override
+ public int getTier()
+ {
+ return 0;
+ }
}
return "PF03760";
}
+ @Override
+ public int getTier()
+ {
+ return 0;
+ }
}
return null;
}
+ @Override
+ public int getTier()
+ {
+ return 0;
+ }
}
return null;
}
+ @Override
+ public int getTier()
+ {
+ return 0;
+ }
}
{
return "Uniprot"; // getDbSource();
}
+
+ @Override
+ public int getTier()
+ {
+ return 0;
+ }
}
protected MultipleConnectionPropertyProviderI connprops = null;
/**
+ * DAS sources are tier 1 - if we have a direct DB connection then we should prefer it
+ */
+ private int tier=1;
+
+ /**
* create a new DbSource proxy for a DAS 1 source
*
* @param dbnbame
{
return coordsys;
}
+
+ @Override
+ public int getTier()
+ {
+ return tier;
+ }
}
return isLaterThan(getVersion().getCreated(), other.getVersion()
.getCreated());
}
+
+ @Override
+ public boolean isReferenceSource()
+ {
+ // TODO check source object for indication that we are the primary for a DAS coordinate system
+ return false;
+ }
}
* @return true if the source has this property
*/
public boolean isA(Object dbsourceproperty);
+
+ /**
+ * Tier for this data source
+ *
+ * @return 0 - primary datasource, 1 - das primary source, 2 - secondary
+ */
+ public int getTier();
}