Class GeneProduct

    • Constructor Detail

      • GeneProduct

        public GeneProduct()
    • Method Detail

      • equals

        public boolean equals​(Object object)
        Description copied from class: AbstractDescribable
        Returns true if the argument is an Describable instance and all identifiers for this entity equal the identifiers of the argument entity. Returns false otherwise.
        Overrides:
        equals in class AbstractDescribable
      • getName

        @Field
        public String getName()
        Description copied from interface: Describable
        Obtain the name of an object is a possibly ambiguous human-readable identifier that need not be an external database reference.
        Specified by:
        getName in interface Describable
        Overrides:
        getName in class AbstractDescribable
      • getExons

        public Set<PhysicalLocation> getExons()
        Only used for transient instances in sequence analysis, we do not store exon locations in the database.
        Returns:
        physical locations of exons
      • setExons

        public void setExons​(Set<PhysicalLocation> exons)
        Only used for transient instances, we do not store exon locations in the database.
        Parameters:
        exons - new physical locations of exons
      • getGene

        public Gene getGene()
      • setGene

        public void setGene​(Gene gene)
      • getNcbiGi

        @Field(analyze=NO)
        public String getNcbiGi()
        Returns:
        GI for the gene product (if available)
      • setNcbiGi

        public void setNcbiGi​(String ncbiGi)
      • getPreviousNcbiId

        @Field
        public String getPreviousNcbiId()
        Overrides:
        getPreviousNcbiId in class ChromosomeFeature
        Returns:
        The last-used NCBI id for this feature, according to the history information provided by NCBI. This may be empty.
      • isDummy

        public boolean isDummy()
      • setDummy

        public void setDummy​(boolean dummy)