@Test public void getAliasesReturnsVocabularyAliases() { final Set<String> expected = new HashSet<>(); expected.add(IDENTIFIER); expected.add(TERM_PREFIX); final Set<String> aliases = this.component.getAliases(); Assert.assertEquals(expected, aliases); }
@Override public Set<String> getAliases() { Set<String> result = new HashSet<>(); result.add(getIdentifier()); result.add("HGNC"); return result; }
GeneNomenclature extends AbstractCSVSolrVocabulary { @Override public Set<String> getAliases() { Set<String> result = new HashSet<>(); result.add(getIdentifier()); result.add("HGNC"); return result; } }
GeneNomenclature extends AbstractCSVSolrVocabulary { @Override public Set<String> getAliases() { Set<String> result = new HashSet<>(); result.add(getIdentifier()); result.add("HGNC"); return result; }  }
GeneNomenclature extends AbstractCSVSolrVocabulary { @Override public Set<String> getAliases() { Set<String> result = new HashSet<>(); result.add(getIdentifier()); result.add("HGNC"); return result; }  @Override String getDefaultSourceLocation(); @Override String getIdentifier(); @Override String getName(); @Override Collection<String> getSupportedCategories(); @Override Set<String> getAliases(); @Override String getWebsite(); @Override String getCitation(); @Override VocabularyTerm getTerm(String symbol); @Override List<VocabularyTerm> search(String input, int maxResults, String sort, String customFilter); @Override Set<VocabularyTerm> getTerms(Collection<String> symbols); @Override long getDistance(String fromTermId, String toTermId); @Override long getDistance(VocabularyTerm fromTerm, VocabularyTerm toTerm); }
GeneNomenclature extends AbstractCSVSolrVocabulary { @Override public Set<String> getAliases() { Set<String> result = new HashSet<>(); result.add(getIdentifier()); result.add("HGNC"); return result; }  @Override String getDefaultSourceLocation(); @Override String getIdentifier(); @Override String getName(); @Override Collection<String> getSupportedCategories(); @Override Set<String> getAliases(); @Override String getWebsite(); @Override String getCitation(); @Override VocabularyTerm getTerm(String symbol); @Override List<VocabularyTerm> search(String input, int maxResults, String sort, String customFilter); @Override Set<VocabularyTerm> getTerms(Collection<String> symbols); @Override long getDistance(String fromTermId, String toTermId); @Override long getDistance(VocabularyTerm fromTerm, VocabularyTerm toTerm);  }