Class Gene

    • Constructor Detail

      • Gene

        public Gene()
        No-arg constructor added to satisfy javabean contract
    • 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
      • getAliases

        @IndexedEmbedded
        public Set<GeneAlias> getAliases()
      • setAliases

        public void setAliases​(Set<GeneAlias> aliases)
      • getEnsemblId

        @Field(analyze=NO)
        public String getEnsemblId()
        Returns:
        An Ensembl ID for the gene.
      • setEnsemblId

        public void setEnsemblId​(String ensemblId)
      • setMultifunctionality

        public void setMultifunctionality​(Multifunctionality multifunctionality)
      • getNcbiGeneId

        @Field(analyze=NO)
        public Integer getNcbiGeneId()
      • setNcbiGeneId

        public void setNcbiGeneId​(Integer ncbiGeneId)
      • getOfficialName

        @Field(analyze=NO)
        public String getOfficialName()
      • setOfficialName

        public void setOfficialName​(String officialName)
      • getOfficialSymbol

        @Field(analyze=NO)
        public String getOfficialSymbol()
      • setOfficialSymbol

        public void setOfficialSymbol​(String officialSymbol)
      • getProducts

        @IndexedEmbedded
        public Set<GeneProduct> getProducts()
      • setProducts

        public void setProducts​(Set<GeneProduct> products)
      • getTaxon

        @IndexedEmbedded
        public Taxon getTaxon()
        Returns:
        Note that a Gene also has a chromosome, so the organism can be inferred that way as well. This direct association is a denormalization for queries that don't care about location, just species-membership.
      • setTaxon

        public void setTaxon​(Taxon taxon)