org.aisb.bio.tools
Class SequenceFetcher
java.lang.Object
  
org.aisb.bio.tools.SequenceFetcher
- public class SequenceFetcher
- extends Object
  
Give this class the name of a sequence, and it will fetch it via the web.
 
 This class implements the "command bean" design pattern, which just means
 that it's a command implemented as a JavaBean.  This makes it easier to use
 from a variety of environments, such as JSP pages using JSTL.
- Author:
 
  - Doug DeJulio
 
 
 
 
SequenceFetcher
public SequenceFetcher()
getName
public String getName()
- Returns:
 - Returns the name.
 
 
setName
public void setName(String name)
- Parameters:
 name - The name to set.
 
setGenbankIdentifier
public void setGenbankIdentifier(String gi)
- This is a "magic" setter, that builds the name correctly from a given genbank id.
- Parameters:
 gi - 
 
 
getType
public Class getType()
- Returns:
 - Returns the type.
 
 
setType
public void setType(Class type)
- Parameters:
 type - The type to set.
 
getSequence
public Sequence getSequence()
- Returns:
 - Returns the sequence.
 
 
execute
public void execute()
             throws Exception
- Perform the retreival.  For the moment, this method is
 very sloppy; we'll tidy it up over the course of the
 semester.  This should be good enough for the first
 project.
- Throws:
 Exception