Class Taxon

All Implemented Interfaces:
Identifiable

public class Taxon extends AbstractIdentifiable
  • Constructor Details

    • Taxon

      public Taxon()
  • Method Details

    • 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
    • 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
    • toString

      public String toString()
      Overrides:
      toString in class AbstractIdentifiable
      See Also:
    • getCommonName

      @Nullable public String getCommonName()
    • setCommonName

      public void setCommonName(@Nullable String commonName)
    • getExternalDatabase

      @Nullable public ExternalDatabase getExternalDatabase()
    • setExternalDatabase

      public void setExternalDatabase(@Nullable ExternalDatabase externalDatabase)
    • getIsGenesUsable

      public boolean getIsGenesUsable()
    • setIsGenesUsable

      public void setIsGenesUsable(boolean isGenesUsable)
    • getNcbiId

      @Nullable public Integer getNcbiId()
    • setNcbiId

      public void setNcbiId(@Nullable Integer ncbiId)
    • getScientificName

      @Nullable public String getScientificName()
    • setScientificName

      public void setScientificName(@Nullable String scientificName)
    • getSecondaryNcbiId

      @Nullable public Integer getSecondaryNcbiId()
      Returns:
      Represents a "secondary" Taxon id that is used for this species. The main example where this is necessary is budding yeast, which is id 4932 in GEO but genes use the (strain-specific) ID 559292.
    • setSecondaryNcbiId

      public void setSecondaryNcbiId(@Nullable Integer secondaryNcbiId)