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 Details

    • SequenceSimilaritySearchResult

      public SequenceSimilaritySearchResult()
  • Method Details

    • 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 class AbstractIdentifiable
      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 class AbstractIdentifiable
      Returns:
      true if the argument is an SequenceSimilaritySearchResult instance and all identifiers for this entity equal the identifiers of the argument entity. Returns false otherwise.