edu.mssm.crover.corba.servers.sequences
Interface SequenceRepository

All Superinterfaces:
org.omg.CORBA.Object
All Known Implementing Classes:
_SequenceRepositoryImplBase, StubForSequenceRepository

public interface SequenceRepository
extends org.omg.CORBA.Object


Method Summary
 boolean conceptuallyEquivalent(SequenceID sid1, SequenceID sid2)
          Compares the sequence ids and determine if they are conceptually equivalent for this service.
 SequenceID fromAccessionCode(java.lang.String database, java.lang.String accession_code)
           
 SequenceID identifySequence(java.lang.String residue_codes)
          Returns a sequence identifier that uniquely identifies a biological sequence.
 
Methods inherited from interface org.omg.CORBA.Object
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_override
 

Method Detail

identifySequence

public SequenceID identifySequence(java.lang.String residue_codes)
                            throws UnknownSequence
Returns a sequence identifier that uniquely identifies a biological sequence.

Throws:
UnknownSequence - Raised when the sequence cannot be found in the repository.

fromAccessionCode

public SequenceID fromAccessionCode(java.lang.String database,
                                    java.lang.String accession_code)
                             throws UnknownSequence
UnknownSequence

conceptuallyEquivalent

public boolean conceptuallyEquivalent(SequenceID sid1,
                                      SequenceID sid2)
Compares the sequence ids and determine if they are conceptually equivalent for this service. Two sequence ids are conceptually equivalent when one can be used in place of the other for the purpose of interacting with this service (i.e. the result returned by this service will be the same when sid1 or sid2 are used.



Copyright @ 2003 Mount Sinai School of Medicine. All Rights Reserved.