|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OntologyRankingService
A service interface that can be used to rank ontologies in preference order.
Method Summary | |
---|---|
void |
addAlias(java.lang.String ontologyName,
java.lang.String alias)
Adds an alias to the given ontology name. |
java.util.Collection<java.lang.String> |
getAliases(java.lang.String ontologyName)
Gets a collection of the aliases assigned to a named ontology. |
void |
rankOntologies(java.util.List<java.lang.String> ontologyNames)
Ranks ontologies, by name, in preference order. |
void |
removeAlias(java.lang.String ontologyName,
java.lang.String alias)
Removes the association between a given alias and the ontology named. |
Method Detail |
---|
void rankOntologies(java.util.List<java.lang.String> ontologyNames)
ontologyNames
- a list of ontology names, sorted by preference ordervoid addAlias(java.lang.String ontologyName, java.lang.String alias)
ontologyName
- the ZOOMA-assigned name for an ontologyalias
- the alias assigned to this ontology in a remote
resourcevoid removeAlias(java.lang.String ontologyName, java.lang.String alias)
ontologyName
- the ZOOMA-assigned name for an ontologyalias
- the alias being removedjava.util.Collection<java.lang.String> getAliases(java.lang.String ontologyName)
ontologyName
- the name of the ontology we want aliases for
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |