Science Environment for Ecological Knowledge
Ecoinformatics site parent site of Partnership for Biodiversity Informatics site parent site of SEEK - Home
Science Environment for Ecological Knowledge









 

 

 



TOSAPI Signatures

This is version 7. It is not the current version, and thus it cannot be edited.
[Back to current version]   [Restore this version]


Disclaimer

These APIs will change slightly by early Dec 2004 - do not code directly to them now! I will add a link to the code documentation for complete object descriptions at that time.

Current Query APIs using simple lookup

  • CConcept getConcept(String sConceptID, int iHierarchyID, boolean bUseCacheFlag) throws CDBException, CConceptException, SQLException

  • CRelatedConcept findRelatedConcepts(String sConceptID, int oHierarchyIDs, String sRelationshipType, int iDistance, boolean bUseCacheFlag) throws SQLException, CDBException, CConceptException, IllegalArgumentException

  • float measureRelationship(String sConceptID1, String sConceptID2, int oHierarchyIDs, String sRelationshipType, int iDistance, boolean bUseCacheFlag) throws SQLException, CDBException, CConceptException, IllegalArgumentException

  • CNode getTree(String sConceptID, String sXMLDesc, int iHierarchyID, boolean bUseCacheFlag) throws CDBException, SQLException

Current Query APIs using Matching

  • CWeightedConcept findConcepts(CTaxonomicQuery oTaxonQuery, int oHierarchyIDs, String sSimilarityAlgorithm, float fSimilarityThreshold, boolean bUseCacheFlag) throws CAlgorithmException, CDBException, CConceptException, SQLException, FileNotFoundException, IOException

  • float compareConcepts(String sConceptID1, int iHierarchyID1, String sConceptID2, int iHierarchyID2, String sSimilarityAlgorithm, boolean bUseCacheFlag) throws CConceptException, CDBException, CAlgorithmException, SQLException

Current Modification APIs

  • String addConcept(CTaxonomicQuery oConcept) throws CDBException, SQLException, CConceptException

  • String addRelationship(String sConceptID1, String sConceptID2, int iHierarchyID, String sRelationshipType) throws CDBException, SQLException

  • CConceptIDPair enterProviderData(String sTESPath, int iHierarchyID) throws CDBException, SQLException, CParserException

This one is going away!

  • float compareConceptRelationships(String sConceptID1, int iHierarchyID1, String sConceptID2, int iHierarchyID2, String sRelateAlgorithm, boolean bUseCacheFlag) throws Exception



Go to top   More info...   Attach file...
This particular version was published on 05-Nov-2004 12:43:55 PST by KU.stewart.