Class GeneAlias

java.lang.Object
ubic.gemma.model.common.AbstractIdentifiable
ubic.gemma.model.genome.gene.GeneAlias
All Implemented Interfaces:
Identifiable

@Indexed public class GeneAlias extends AbstractIdentifiable
  • Constructor Details

    • GeneAlias

      public GeneAlias()
  • Method Details

    • getAlias

      @Field(analyze=NO) public String getAlias()
    • setAlias

      public void setAlias(String alias)
    • getId

      @DocumentId public Long getId()
      Specified by:
      getId in interface Identifiable
      Overrides:
      getId in class AbstractIdentifiable
    • 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