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 9. 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. For the time being, look at the TCS.

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(CConcept taxonQuery, String algorithm, float threshold, boolean useCache) throws CTOSException

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

Current Modification APIs

  • String addConcept(CConcept concept) throws CTOSException

  • String addRelationship(String fromGuid, String toGuid, String relationshipType, CAccordingTo accTo) throws CTOSException

  • CConceptIDPair enterProviderData(String sTESPath, int iHierarchyID) throws CTOSException, 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 22-Nov-2005 06:33:28 PST by KU.stewart.