org.xspan.interfaces.sael.core.SaelCore Interface Reference


Public Member Functions

String[] sael2AnatomyOntology (String saelId)
String anatomyOntology2Sael (String anatomyOntologyId)
Provenance mappingProvenance (String saelId, String anatomyOntologyId)
String[] allSael ()
String getUri (String anatomyOntologyId)

Detailed Description

Interface specifies the functions available in the first SAEL web service

Author:
kcm@macs.hw.ac.uk, www.xspan.org


Member Function Documentation

String [] org.xspan.interfaces.sael.core.SaelCore.allSael (   ) 
 

method to return the names & ids of the structures in the sael anatomy list

Returns:
String[] with each element of the form id#name

String org.xspan.interfaces.sael.core.SaelCore.anatomyOntology2Sael (  String  anatomyOntologyId  ) 
 

method to return the SAEL Id that an anatomical structure is linked to

Parameters:
anatomyOntologyId an id from a ontology linked to sael
Returns:
a SAEL id

String org.xspan.interfaces.sael.core.SaelCore.getUri (  String  anatomyOntologyId  ) 
 

method to get a uri associated with an anatomical structure

Parameters:
anatomyOntologyId an id from an organism linked to sael
Returns:
the uri associated with the organism id

Provenance org.xspan.interfaces.sael.core.SaelCore.mappingProvenance (  String  saelId,
String  anatomyOntologyId
) 
 

method will return the provenance data for a mapping (if mapping exists)

Parameters:
saelId an anatomy id from the sael list
anatomyOntologyId an anatomy id from an organism linked to sael
Returns:
the provenace for the mapping linking the 2 input structures

String [] org.xspan.interfaces.sael.core.SaelCore.sael2AnatomyOntology (  String  saelId  ) 
 

method to return the list of anatomical structure mapped to a particular SAEL id

Parameters:
saelId the id of a structure in the sael anatomy list
Returns:
each element in array is the id of a different structure from a different ontology