Ejemplo n.º 1
0
 /** {@inheritDoc} */
 @Override
 public String getDataSetTitle(int taxonId) {
   OrganismRepository or = OrganismRepository.getOrganismRepository();
   OrganismData od = or.getOrganismDataByTaxon(taxonId);
   String species = od.getSpecies();
   String genus = od.getGenus();
   return getDataSourceName() + " " + genus + " " + species + " data set";
 }
Ejemplo n.º 2
0
 /** {@inheritDoc} */
 @Override
 public Item getDataSetItem(int taxonId) {
   OrganismRepository or = OrganismRepository.getOrganismRepository();
   OrganismData od = or.getOrganismDataByTaxon(taxonId);
   String species = od.getSpecies();
   String genus = od.getGenus();
   String name = getDataSourceName() + " " + genus + " " + species + " data set";
   String description = "The " + getDataSourceName() + " " + genus + " " + species + " genome";
   String url = "http://www." + getDataSourceName().toLowerCase() + ".org";
   return getDataSetItem(name, url, description, getDataSourceItem());
 }