Class SequenceSimilaritySearchResult
- java.lang.Object
-
- ubic.gemma.model.common.AbstractIdentifiable
-
- ubic.gemma.model.genome.sequenceAnalysis.SequenceSimilaritySearchResult
-
- All Implemented Interfaces:
Identifiable
- Direct Known Subclasses:
BlatResult
public abstract class SequenceSimilaritySearchResult extends AbstractIdentifiable
-
-
Constructor Summary
Constructors Constructor Description SequenceSimilaritySearchResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object object)
Important note: Two objects with the same class and non-null ID must be considered equal.BioSequence
getQuerySequence()
ExternalDatabase
getSearchedDatabase()
PhysicalLocation
getTargetAlignedRegion()
Chromosome
getTargetChromosome()
BioSequence
getTargetSequence()
int
hashCode()
Important note: Never use the ID in the hashCode() implementation since it can be assigned when the object is persisted.void
setQuerySequence(BioSequence querySequence)
void
setSearchedDatabase(ExternalDatabase searchedDatabase)
void
setTargetAlignedRegion(PhysicalLocation targetAlignedRegion)
void
setTargetChromosome(Chromosome targetChromosome)
void
setTargetSequence(BioSequence targetSequence)
-
Methods inherited from class ubic.gemma.model.common.AbstractIdentifiable
getId, setId, toString
-
-
-
-
Method Detail
-
getQuerySequence
public BioSequence getQuerySequence()
-
setQuerySequence
public void setQuerySequence(BioSequence querySequence)
-
getSearchedDatabase
public ExternalDatabase getSearchedDatabase()
- Returns:
- The database used for the search. This will be null if the comparison was just between two sequences.
-
setSearchedDatabase
public void setSearchedDatabase(ExternalDatabase searchedDatabase)
-
getTargetAlignedRegion
public PhysicalLocation getTargetAlignedRegion()
- Returns:
- The region of the target spanned by the alignment.
-
setTargetAlignedRegion
public void setTargetAlignedRegion(PhysicalLocation targetAlignedRegion)
-
getTargetChromosome
public Chromosome getTargetChromosome()
-
setTargetChromosome
public void setTargetChromosome(Chromosome targetChromosome)
-
getTargetSequence
public BioSequence getTargetSequence()
-
setTargetSequence
public void setTargetSequence(BioSequence targetSequence)
-
hashCode
public int hashCode()
Description copied from class:AbstractIdentifiable
Important note: Never use the ID in the hashCode() implementation since it can be assigned when the object is persisted.- Specified by:
hashCode
in classAbstractIdentifiable
- Returns:
- a hash code based on this entity's identifiers.
-
equals
public boolean equals(Object object)
Description copied from class:AbstractIdentifiable
Important note: Two objects with the same class and non-null ID must be considered equal. If one or both IDs are nulls, the rest of the state can be used to determine equality.- Specified by:
equals
in classAbstractIdentifiable
- Returns:
true
if the argument is an SequenceSimilaritySearchResult instance and all identifiers for this entity equal the identifiers of the argument entity. Returnsfalse
otherwise.
-
-