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 10. 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

  • CRelationshipInfo findRelatedConcepts(String conceptGuid, String relationshipType, boolean includeAssertions, boolean useCache) throws CTOSException

  • 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

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

Informational APIs (to get parameters for other queries)

  • AAlgorithmMeta getAlgorithmMetadata() throws CTOSException



Go to top   More info...   Attach file...
This particular version was published on 22-Nov-2005 06:39:01 PST by KU.stewart.