TissueInfo API 20091124110011

edu.mssm.crover.tools.blast
Class BlastResult

java.lang.Object
  extended by edu.mssm.crover.tools.blast.BlastResult

public class BlastResult
extends Object

Encapsulates different versions of BlastOutput.


Constructor Summary
BlastResult()
           
 
Method Summary
 Object getBlastOutput()
          Obtains a reference to a BlastOutput instance.
 int getVersion()
          Returns the version of BlastOutput contained in this BlastResult.
protected  void setBlastOutput(Object blastOutput)
           
protected  void setVersion(int version)
          Sets the version of BlastOutput contained in this BlastResult.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BlastResult

public BlastResult()
Method Detail

getVersion

public int getVersion()
Returns the version of BlastOutput contained in this BlastResult.


setVersion

protected void setVersion(int version)
Sets the version of BlastOutput contained in this BlastResult.


getBlastOutput

public Object getBlastOutput()
Obtains a reference to a BlastOutput instance. The exact type of the instance depends on the version number (see getVersion). BlastOutput types are stored in different packages, the name of which depends on the version number. A common interface between different versions of BlastOutput cannot be assumed. The caller determines the version number and accordingly must cast the object reference to the BlastOutput reference.


setBlastOutput

protected void setBlastOutput(Object blastOutput)

TissueInfo API 20091124110011

Copyright © 2001-2009 Institute for Computational Biomedicine, All Rights Reserved.