org.gcube.data.spd.plugin.fwk.capabilities
Interface NamesMappingCapability


public interface NamesMappingCapability


Method Summary
 Set<String> commonNameToScientificNamesMapping(String commonName)
          this method returns a set of scientific names related to the common name passed as input
 Set<String> scientificNameToCommonNamesMapping(String scientificName)
          this method returns a set of common names related to the scientific name passed as input
 

Method Detail

scientificNameToCommonNamesMapping

Set<String> scientificNameToCommonNamesMapping(String scientificName)
                                               throws org.gcube.data.spd.model.exceptions.ExternalRepositoryException
this method returns a set of common names related to the scientific name passed as input

Parameters:
scientificName - to Map
Returns:
a set of commonNames
Throws:
Exception
org.gcube.data.spd.model.exceptions.ExternalRepositoryException

commonNameToScientificNamesMapping

Set<String> commonNameToScientificNamesMapping(String commonName)
                                               throws org.gcube.data.spd.model.exceptions.ExternalRepositoryException
this method returns a set of scientific names related to the common name passed as input

Parameters:
commonName - to Map
Returns:
a set of scientificNames
Throws:
Exception
org.gcube.data.spd.model.exceptions.ExternalRepositoryException


Copyright © 2013. All Rights Reserved.