|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--org.biojava.utils.AbstractChangeable
|
+--org.biojava.bio.search.SimpleSeqSimilaritySearchResult
SimpleSeqSimilaritySearchResult objects represent a
result of a search of a SymbolList against the
sequences within a SequenceDB object. The core data
(query sequence, database, search parameters, hits) have accessors,
while supplementary data are stored in the Annotation
object. Supplementary data are typically the more loosely formatted
details which vary from one search program to another (and between
versions of those programs).
AbstractChangeable,
SeqSimilaritySearchResult,
Annotatable| Nested Class Summary |
| Nested classes inherited from class org.biojava.bio.Annotatable |
Annotatable.AnnotationForwarder |
| Field Summary | |
protected Annotatable.AnnotationForwarder |
annotationForwarder
|
| Fields inherited from interface org.biojava.bio.Annotatable |
ANNOTATION |
| Constructor Summary | |
SimpleSeqSimilaritySearchResult(Sequence querySequence,
SequenceDB sequenceDB,
java.util.Map searchParameters,
java.util.List hits,
Annotation annotation)
Creates a new SimpleSeqSimilaritySearchResult. |
|
| Method Summary | |
boolean |
equals(java.lang.Object other)
|
Annotation |
getAnnotation()
getAnnotation returns the Annotation associated
with this hit. |
protected ChangeSupport |
getChangeSupport(ChangeType ct)
Called to retrieve the ChangeSupport for this object |
java.util.List |
getHits()
Return all hits in this sequence similarity search result. |
Sequence |
getQuerySequence()
Returns the query sequence which was used to perform the search. |
java.util.Map |
getSearchParameters()
Returns the search parameters used in the search that produced this search result. |
SequenceDB |
getSequenceDB()
Returns the sequence database against which the search was performed. |
int |
hashCode()
|
java.lang.String |
toString()
|
| Methods inherited from class org.biojava.utils.AbstractChangeable |
addChangeListener, addChangeListener, generateChangeSupport, hasListeners, isUnchanging, removeChangeListener, removeChangeListener |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.biojava.utils.Changeable |
addChangeListener, addChangeListener, isUnchanging, removeChangeListener, removeChangeListener |
| Field Detail |
protected transient Annotatable.AnnotationForwarder annotationForwarder
| Constructor Detail |
public SimpleSeqSimilaritySearchResult(Sequence querySequence,
SequenceDB sequenceDB,
java.util.Map searchParameters,
java.util.List hits,
Annotation annotation)
SimpleSeqSimilaritySearchResult.
querySequence - a Sequence.sequenceDB - a SequenceDB.searchParameters - a Map.annotation - an Annotation.hits - a List.| Method Detail |
public Sequence getQuerySequence()
SeqSimilaritySearchResult
getQuerySequence in interface SeqSimilaritySearchResultSequence object used to search the
SequenceDB. Never returns null.public SequenceDB getSequenceDB()
SeqSimilaritySearchResult
getSequenceDB in interface SeqSimilaritySearchResultSequenceDB object against which the
search was carried out. Never returns null.public java.util.Map getSearchParameters()
SeqSimilaritySearchResult
getSearchParameters in interface SeqSimilaritySearchResultMap
object. May return null.public java.util.List getHits()
SeqSimilaritySearchResult
getHits in interface SeqSimilaritySearchResultList of
SeqSimilaritySearchHit objects containing all hits
in the search result. Never returns null but may return an
empty list.public Annotation getAnnotation()
getAnnotation returns the Annotation associated
with this hit.
getAnnotation in interface AnnotatableAnnotation.public boolean equals(java.lang.Object other)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectprotected ChangeSupport getChangeSupport(ChangeType ct)
AbstractChangeable
getChangeSupport in class AbstractChangeable
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||