Class SequenceSimilaritySearchResult
java.lang.Object
ubic.gemma.model.common.AbstractIdentifiable
ubic.gemma.model.genome.sequenceAnalysis.SequenceSimilaritySearchResult
- All Implemented Interfaces:
Identifiable
- Direct Known Subclasses:
BlatResult
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanImportant note: Two objects with the same class and non-null ID must be considered equal.inthashCode()Important note: Never use the ID in the hashCode() implementation since it can be assigned when the object is persisted.voidsetQuerySequence(BioSequence querySequence) voidsetSearchedDatabase(ExternalDatabase searchedDatabase) voidsetTargetAlignedRegion(PhysicalLocation targetAlignedRegion) voidsetTargetChromosome(Chromosome targetChromosome) voidsetTargetSequence(BioSequence targetSequence) Methods inherited from class ubic.gemma.model.common.AbstractIdentifiable
getId, setId, toString
-
Constructor Details
-
SequenceSimilaritySearchResult
public SequenceSimilaritySearchResult()
-
-
Method Details
-
getQuerySequence
-
setQuerySequence
-
getSearchedDatabase
- Returns:
- The database used for the search. This will be null if the comparison was just between two sequences.
-
setSearchedDatabase
-
getTargetAlignedRegion
- Returns:
- The region of the target spanned by the alignment.
-
setTargetAlignedRegion
-
getTargetChromosome
-
setTargetChromosome
-
getTargetSequence
-
setTargetSequence
-
hashCode
public int hashCode()Description copied from class:AbstractIdentifiableImportant note: Never use the ID in the hashCode() implementation since it can be assigned when the object is persisted.- Specified by:
hashCodein classAbstractIdentifiable- Returns:
- a hash code based on this entity's identifiers.
-
equals
Description copied from class:AbstractIdentifiableImportant 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:
equalsin classAbstractIdentifiable- Returns:
trueif the argument is an SequenceSimilaritySearchResult instance and all identifiers for this entity equal the identifiers of the argument entity. Returnsfalseotherwise.
-