edu.mssm.crover.webservices.rbde
Class SwissProtSearchURL

java.lang.Object
  |
  +--edu.mssm.crover.webservices.rbde.SwissProtSearchURL

public class SwissProtSearchURL
extends java.lang.Object

Allows to retrieve sequences (AnnotatedBioSequence[]) from SwissProt database. Use setID() or setAccessionNumber() and then getSequence() or getURL().

See Also:
AnnotatedBioSequence

Constructor Summary
SwissProtSearchURL()
           
 
Method Summary
 AnnotatedBioSequence[] getSequence()
          Retrieves an array of AnnotatedBioSequence-s from SwissProt database based on the sequence ID or accession number
 java.lang.String getURL()
          Retrieves the URL page with the sequence entry under the set sequence ID or accession number from SwissProt.
 SwissProtSearchURL setAccessionNumber(java.lang.String accn)
          Sets accession number to accn and sequence ID to null.
 SwissProtSearchURL setID(java.lang.String idin)
          Sets sequence ID to idin and accession number to null.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SwissProtSearchURL

public SwissProtSearchURL()
Method Detail

setAccessionNumber

public SwissProtSearchURL setAccessionNumber(java.lang.String accn)
Sets accession number to accn and sequence ID to null.


setID

public SwissProtSearchURL setID(java.lang.String idin)
Sets sequence ID to idin and accession number to null.


getSequence

public AnnotatedBioSequence[] getSequence()
Retrieves an array of AnnotatedBioSequence-s from SwissProt database based on the sequence ID or accession number


getURL

public java.lang.String getURL()
Retrieves the URL page with the sequence entry under the set sequence ID or accession number from SwissProt.



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